From safna.royal10 at gmail.com Sun Feb 1 23:56:23 2015 From: safna.royal10 at gmail.com (safna) Date: Sun, 1 Feb 2015 21:56:23 -0700 (MST) Subject: [vtkusers] How can I set points on a contourline? In-Reply-To: <1421930311683-5730210.post@n5.nabble.com> References: <1421853208985-5730196.post@n5.nabble.com> <1421930311683-5730210.post@n5.nabble.com> Message-ID: <1422852983015-5730275.post@n5.nabble.com> vtkcutter output give to vtkpolydata then you can able to get the cut points -- View this message in context: http://vtk.1045678.n5.nabble.com/How-can-I-set-points-on-a-contourline-tp5730196p5730275.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Mon Feb 2 09:10:46 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 2 Feb 2015 07:10:46 -0700 Subject: [vtkusers] grid reslice In-Reply-To: <06D6E971FE505044A365F05BD51FFD830A45D372@PPWEXD01d.childrens.sea.kids> References: <06D6E971FE505044A365F05BD51FFD830A45C2C7@PPWEXD01d.childrens.sea.kids> <06D6E971FE505044A365F05BD51FFD830A45C30E@PPWEXD01d.childrens.sea.kids> <06D6E971FE505044A365F05BD51FFD830A45D372@PPWEXD01d.childrens.sea.kids> Message-ID: Hi Ryan, After looking at the code, I think that the reason that it isn't working is that you are applying the transform in the wrong direction, it should be this: reslice.SetResliceTransform(grid.GetInverse()) The way that transforms work with vtkImageReslice is that, for each output voxel, the transform is applied to the (x,y,z) location of that voxel to compute an (x',y',z') location in the input volume that corresponds to the output voxel. In other words, the transform is a coordinate mapping from output to input. However, even after inverting the transform, I don't think you will get a good result. In order for a grid transform to work nicely, it should be smooth (in mathematical terms, it should be a diffeomorphism.) The following VTK Journal article has some diagrams that might do a better job of explaining the issues: http://www.vtkjournal.org/browse/publication/790 - David On Wed, Jan 28, 2015 at 5:59 PM, Young, Ryan < Ryan.Young at seattlechildrens.org> wrote: > > Hey. > > I made a little pdf to hopefully clear things ups. Just to summarize, I > have a vector field that is the displace of a volume. The test case is > just a vector pointing 15 units in the x direction . It is only define for > voxels within the volume. I am using a vtkGridTransform and > vtkImageReslice to apply this transformation. The result should a the > volume unchanged, but centred 15 voxels to the right. What I am seeing is > that the left half of the volume is missing. > > If I define the transformation to exist every voxel, not just within the > volume, it works as expect and the volume is moved to the rigth 15 units. > > I created a repo with two scripts that show this. Its at > https://bitbucket.org/youngre/vtk_grid_transform/ > > Thanks again, > Ryan > > > > ------------------------------ > *From:* David Gobbi [david.gobbi at gmail.com] > *Sent:* Tuesday, January 27, 2015 1:49 PM > > *To:* Young, Ryan > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] grid reslice > > Hi Ryan, > > I still don't know what I'm looking at. Especially when the two images > are at completely different scales (the deformed image is ridiculously > small). Maybe you can annotate them? > > - David > > On Tue, Jan 27, 2015 at 2:33 PM, Young, Ryan < > Ryan.Young at seattlechildrens.org> wrote: > >> >> >> Sure. I used a slight larger (15 voxel in the x direction) deformation >> so that the effect is drastic. >> >> Thanks again, >> Ryan >> >> ------------------------------ >> *From:* David Gobbi [david.gobbi at gmail.com] >> *Sent:* Monday, January 26, 2015 6:18 PM >> *To:* Young, Ryan >> *Cc:* vtkusers at vtk.org >> *Subject:* Re: [vtkusers] grid reslice >> >> Hi Ryan, >> >> Can you attach your image both with and _without_ deformation? >> I looked at the image but couldn't make any sense of it. >> >> - David >> >> >> On Mon, Jan 26, 2015 at 6:29 PM, Young, Ryan < >> Ryan.Young at seattlechildrens.org> wrote: >> >>> Hello, >>> >>> I have a vector field that has the displacement vector for each voxel in >>> a volume. I am trying to apply this deformation and visualize the >>> results. The difficulty I am have is that the deformation only exist for >>> the voxels inside the volume, not globally in the whole space. If I set the >>> displacement to zeros outside the volume I get poor results. >>> >>> My toy example is just do to a 10 voxel shift in the x direction The >>> volume is padded with zeros so there is plenty of room. The result is an >>> image missing about ten voxels. See attached picture. If I make a similar >>> deformation that exist at all voxels, the result is as expect. Any advice. >>> Also, a code snippet is below. >>> >>> Thanks in advanced >>> Ryan >>> >>> grid=vtk.vtkGridTransform() >>> grid.SetDisplacementGrid(defImporter.GetOutput()) >>> grid.SetInterpolationModeToLinear() >>> >>> reslice=vtk.vtkImageReslice() >>> reslice.SetWrap(1) >>> reslice.SetResliceTransform(grid) >>> reslice.SetInterpolationModeToLinear() >>> reslice.SetOutputSpacing(1,1,1) >>> reslice.SetOutputOrigin(0,0,0) >>> reslice.SetInputConnection(volImporter.GetOutputPort()) >>> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, >>> is for the sole use of the intended recipient(s) and may contain >>> confidential and privileged information protected by law. Any unauthorized >>> review, use, disclosure or distribution is prohibited. If you are not the >>> intended recipient, please contact the sender by reply e-mail and destroy >>> all copies of the original message. >>> >>> >> CONFIDENTIALITY NOTICE: This e-mail message, including any >> attachments, is for the sole use of the intended recipient(s) and may >> contain confidential and privileged information protected by law. Any >> unauthorized review, use, disclosure or distribution is prohibited. If you >> are not the intended recipient, please contact the sender by reply e-mail >> and destroy all copies of the original message. >> > > CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, > is for the sole use of the intended recipient(s) and may contain > confidential and privileged information protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.esneault at gmail.com Mon Feb 2 10:24:41 2015 From: simon.esneault at gmail.com (Simon ESNEAULT) Date: Mon, 2 Feb 2015 16:24:41 +0100 Subject: [vtkusers] QVTKWidget issue and workaround for OSX, retina display and Qt5 Message-ID: Hello, There is a bug in QVTKWidget on OSX with a retina display, when build with Qt5. Any QVTKWidget will display only the bottom left quarter, like this : Here is a very simple program that reproduce the bug : ---------------------------------------------------------------------------------------------- *#include * *#include * *#include * *#include * *#include * *#include * *#include * *#include * *#define VTK_NEW(type, instance) \* * vtkSmartPointer instance = vtkSmartPointer::New();* *int main(int argc, char** argv)* *{* * QApplication app(argc, argv);* * QVTKWidget widget;* * VTK_NEW(vtkSphereSource, sphereSource);* * VTK_NEW(vtkPolyDataMapper, sphereMapper);* * VTK_NEW(vtkActor, sphereActor);* * VTK_NEW(vtkRenderWindow, renderWindow);* * VTK_NEW(vtkRenderer, renderer);* * sphereMapper->SetInputConnection(sphereSource->GetOutputPort());* * sphereActor->SetMapper(sphereMapper);* * renderWindow->AddRenderer(renderer);* * renderer->SetBackground(0.1, 0.3, 0.4);* * renderer->AddActor(sphereActor);* * widget.SetRenderWindow(renderWindow);* * widget.resize(256,256);* * widget.show();* * app.exec();* * return 0;* *}* ---------------------------------------------------------------------------------------------- and the CMakeLists.txt : ---------------------------------------------------------------------------------------------- *cmake_minimum_required(VERSION 3.1)* *if(POLICY CMP0053)* * cmake_policy(SET CMP0053 NEW)* *endif()* *project(QtImageViewer)* *find_package(VTK COMPONENTS vtkGUISupportQt )* *include(${VTK_USE_FILE})* *find_package(Qt5Core REQUIRED QUIET)* *add_executable(qtimageviewer **main.cxx**)* *qt5_use_modules(qtimageviewer Core Gui Widgets)* *target_link_libraries(qtimageviewer ${VTK_LIBRARIES})* ---------------------------------------------------------------------------------------------- To enable retina on a normal display, use this : http://cocoamanifest.net/articles/2013/01/turn-on-hidpi-retina-mode-on-an-ordinary-mac.html ---------------------------------------------------------------------------------------------- Now to get back to a normal behavior, like it was with Qt4, one need to call : *setWantsBestResolutionOpenGLSurface:NO *on the* NSView *of the QVTKWidget ! Here is an example on how to solve the problem on the small example above : main.cxx ---------------------------------------------------------------------------------------------- *#include * *#include * *#include * *#include * *#include * *#include * *#include * *#include * *#define VTK_NEW(type, instance) \* * vtkSmartPointer instance = vtkSmartPointer::New();* *#ifdef Q_OS_OSX* *#include "osxHelper.h"* *#endif* *int main(int argc, char** argv)* *{* * QApplication app(argc, argv);* * QVTKWidget widget;* *#ifdef Q_OS_OSX* * disableGLHiDPI(widget.winId());* *#endif* * VTK_NEW(vtkSphereSource, sphereSource);* * VTK_NEW(vtkPolyDataMapper, sphereMapper);* * VTK_NEW(vtkActor, sphereActor);* * VTK_NEW(vtkRenderWindow, renderWindow);* * VTK_NEW(vtkRenderer, renderer);* * sphereMapper->SetInputConnection(sphereSource->GetOutputPort());* * sphereActor->SetMapper(sphereMapper);* * renderWindow->AddRenderer(renderer);* * renderer->SetBackground(0.1, 0.3, 0.4);* * renderer->AddActor(sphereActor);* * widget.SetRenderWindow(renderWindow);* * widget.resize(256,256);* * widget.show();* * app.exec();* * return 0;* *}* ---------------------------------------------------------------------------------------------- osxHelper.h ---------------------------------------------------------------------------------------------- *#ifndef _OSX_HELPER_* *#define _OSX_HELPER_* *void disableGLHiDPI( long a_id );* *#endif* ---------------------------------------------------------------------------------------------- osxHelper.mm ---------------------------------------------------------------------------------------------- *#include * *#include "osxHelper.h"* *void disableGLHiDPI( long a_id ){* * NSView* view = reinterpret_cast( a_id );* * [view setWantsBestResolutionOpenGLSurface:NO];* *}* ---------------------------------------------------------------------------------------------- CMakeLists.txt ---------------------------------------------------------------------------------------------- *cmake_minimum_required(VERSION 3.1)* *if(POLICY CMP0053)* * cmake_policy(SET CMP0053 NEW)* *endif()* *project(QtImageViewer)* *find_package(VTK COMPONENTS vtkGUISupportQt )* *include(${VTK_USE_FILE})* *find_package(Qt5Core REQUIRED QUIET)* *find_library( LIB_COCOA cocoa )* *add_executable(qtimageviewer **main.cxx osxHelper.mm**)* *qt5_use_modules(qtimageviewer Core Gui Widgets)* *target_link_libraries(qtimageviewer ${VTK_LIBRARIES})* ---------------------------------------------------------------------------------------------- And there you go, problem solved ... I hope this is useful to others, maybe this can be integrated in the upcoming 6.2 release ! Have a nice day !! Simon Note on the topic if one day someone want to really support HiDPI for retina displays : The bug was probably introduced by this commit in Qt : https://qt.gitorious.org/qt/qtbase/commit/1caa0c023f4fa60446094e53f22ee79771130e2f Documentation : https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/CapturingScreenContents/CapturingScreenContents.html -- ------------------------------------------------------------------ Simon Esneault Rennes, France ------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pjozog at gmail.com Mon Feb 2 11:54:19 2015 From: pjozog at gmail.com (pjozog) Date: Mon, 2 Feb 2015 09:54:19 -0700 (MST) Subject: [vtkusers] GetCellNeighbors in for loop In-Reply-To: <1422654734438-5730274.post@n5.nabble.com> References: <1422654734438-5730274.post@n5.nabble.com> Message-ID: <1422896059460-5730282.post@n5.nabble.com> Ah I get it now. GetCellNeighbors () alters the interal traversal location of the vtkCellArray of polys. You have to store the current traversal location before calling GetCellNeighbors, then set it back once it returns. That being said, if someone knows a vtk routine that gets all polygons in a vtkPolyData object that don't have a neighbor on at least one of their edges, please let me know. -- View this message in context: http://vtk.1045678.n5.nabble.com/GetCellNeighbors-in-for-loop-tp5730274p5730282.html Sent from the VTK - Users mailing list archive at Nabble.com. From beekmaarten at yahoo.com Mon Feb 2 15:23:16 2015 From: beekmaarten at yahoo.com (Maarten Beek) Date: Mon, 2 Feb 2015 20:23:16 +0000 (UTC) Subject: [vtkusers] vtkOpenGLExtensionManager bug? Message-ID: <1881886150.658685.1422908596979.JavaMail.yahoo@mail.yahoo.com> Hi all, vtkOpenGLExtensionManager::GetDriverGLVersion() returns:"3.1.0 - Build 9.17.10.3517 vtkOpenGLExtensionManager::GetDriverGLRenderer() returns:"Intel(R) HD Graphics 3000" However, as soon as my app tries to render a vtkSmartVolumeMapper, it complains:"Error: In \vtkOpenGLExtensionManager.cxx, line 757vtkOpenGLExtensionManager (): Extension GL_VERSION_1_2 could not be loaded." What is going on here? And is there an easy way to avoid this (would a simple CPU ray caster do the trick)? Thanks - Maarten -------------- next part -------------- An HTML attachment was scrubbed... URL: From hengdahe at hust.edu.cn Mon Feb 2 21:58:41 2015 From: hengdahe at hust.edu.cn (hengdahe) Date: Mon, 2 Feb 2015 19:58:41 -0700 (MST) Subject: [vtkusers] Point normals problem Message-ID: <1422932321863-5730290.post@n5.nabble.com> I tried to get the point normals of a simple cube , but it turned out to be 1,0,0 1,0,0 1,0,0 -1,0,0 -1,0,0 -1,0,0 (6 points) there must be sth wrong with it I need your help, thank you very much~ *I used this to compute and get the point normals:* vtkSmartPointer normalGenerator = vtkSmartPointer::New(); #if VTK_MAJOR_VERSION <= 5 normalGenerator->SetInput(polydata); #else normalGenerator->SetInputData(polydata); #endif normalGenerator->ComputePointNormalsOn(); normalGenerator->ComputeCellNormalsOff(); normalGenerator->SetSplitting(0); normalGenerator->Update(); polydata = normalGenerator->GetOutput(); vtkFloatArray* normalDataFloat = vtkFloatArray::SafeDownCast(polydata->GetPointData()->GetArray("Normals")); int nc = normalDataFloat->GetNumberOfTuples(); std::cout << "There are " << nc << " components in normalDataFloat" << std::endl; int nup=nc/3; double pN[3]; for(vtkIdType i = 0; i GetPoint(i, pN); std::cout << "Point ids " << i << ": " << pN[0] << " " << pN[1] << " " << pN[2] << std::endl; double testDouble[3]; normalDataFloat->GetTuple(i, testDouble); std::cout << "Double: " << testDouble[0] << " " << testDouble[1] << " " << testDouble[2] << std::endl; } -- View this message in context: http://vtk.1045678.n5.nabble.com/Point-normals-problem-tp5730290.html Sent from the VTK - Users mailing list archive at Nabble.com. From iyas.hamdan at gmail.com Tue Feb 3 11:21:26 2015 From: iyas.hamdan at gmail.com (Iyas Hamdan) Date: Tue, 3 Feb 2015 17:21:26 +0100 Subject: [vtkusers] Data pipeline between vtkContourFilter and vtkImageMapToColors Message-ID: Hello vtkusers, I'm trying to visualize the RT dose on top of a CT image. To do so, I first find the iso-dose lines using vktContourFilter which works just fine. Then I want to add colors to those iso-lines depending on their value. So I creat a lookup table and then ( I think ) I have to map my image through this lookup table using vtkImageMapToColors. Afterwards, I have to use vtkImageBlend with two mappers as inputs ( one for iso-lines and one for the CT image). So it goes something like this: vtkSmartPointer DoseColorMapper = vtkSmartPointer::New(); DoseColorMapper->SetInputData(contourFilter->GetOutput()); DoseColorMapper->SetLookupTable(l_lut); DoseColorMapper->SetOutputFormatToRGB(); /// ... the same for the CT image vtkSmartPointer imgBlender = vtkSmartPointer::New(); imgBlender->SetOpacity(0, 0.5); imgBlender->SetOpacity(1, 0.5); imgBlender->AddInputConnection(CtColorMapper->GetOutputPort()); imgBlender->AddInputConnection(DoseColorMapper->GetOutputPort()); The problem is, when I trying doing passing the output of the ContourFilter to the mapper I get this error : vtkCompositeDataPipeline (037DBD78): Input for connection index 0 on input port index 0 for algorithm vtkImageMapToColors(037DBC50) is of type vtkPolyData, but a vtkImageData is required. So my question is, do I have to convert the output of ContourFilter from polydata to imagedata ? or is there another way around this by giving the mapper an input of type polydata ? any help would be really appreciated. Thanks in advance Iyas -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Tue Feb 3 11:33:36 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Tue, 3 Feb 2015 11:33:36 -0500 Subject: [vtkusers] Data pipeline between vtkContourFilter and vtkImageMapToColors In-Reply-To: References: Message-ID: Each contour line has a scalar value associated with it (the iso value for that line). You just need to create a lookup table for the polydata mapper that maps the isovalues to the colors you want. No need to use image blend. Just render the contour lines as polydata. On Tue, Feb 3, 2015 at 11:21 AM, Iyas Hamdan wrote: > Hello vtkusers, > > I'm trying to visualize the RT dose on top of a CT image. To do so, I first > find the iso-dose lines using vktContourFilter which works just fine. > Then I want to add colors to those iso-lines depending on their value. So I > creat a lookup table and then ( I think ) I have to map my image through > this lookup table using vtkImageMapToColors. > Afterwards, I have to use vtkImageBlend with two mappers as inputs ( one for > iso-lines and one for the CT image). > > So it goes something like this: > > vtkSmartPointer DoseColorMapper = > vtkSmartPointer::New(); > DoseColorMapper->SetInputData(contourFilter->GetOutput()); > DoseColorMapper->SetLookupTable(l_lut); > DoseColorMapper->SetOutputFormatToRGB(); > /// ... the same for the CT image > vtkSmartPointer imgBlender = > vtkSmartPointer::New(); > imgBlender->SetOpacity(0, 0.5); > imgBlender->SetOpacity(1, 0.5); > imgBlender->AddInputConnection(CtColorMapper->GetOutputPort()); > imgBlender->AddInputConnection(DoseColorMapper->GetOutputPort()); > > > > The problem is, when I trying doing passing the output of the ContourFilter > to the mapper I get this error : > vtkCompositeDataPipeline (037DBD78): Input for connection index 0 on input > port index 0 for algorithm vtkImageMapToColors(037DBC50) is of type > vtkPolyData, but a vtkImageData is required. > > So my question is, do I have to convert the output of ContourFilter from > polydata to imagedata ? > or is there another way around this by giving the mapper an input of type > polydata ? > > any help would be really appreciated. > > Thanks in advance > > Iyas > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From liujuy at gmail.com Tue Feb 3 20:37:02 2015 From: liujuy at gmail.com (Ju LIU) Date: Tue, 3 Feb 2015 19:37:02 -0600 Subject: [vtkusers] linking errors when build my code with static VTK-6.1.0 on Linux Message-ID: Hi: I was trying to migrate my code from VTK-5 to VTK-6. I built shared and static versions of VTK-6.1.0 on my linux machine. I can successfully build my library with the shared VTK-6.1.0. However, when linking with static libraries, I got several linking errors as follows. /org/groups/hughes/juliu/lib/lin/VTK-6.1.0-static/lib/libvtkIOLegacy-6.1.a(vtkUnstructuredGridWriter.cxx.o):(.rodata._ZTV25vtkUnstructuredGridWriter[vtable for vtkUnstructuredGridWriter]+0x1e0): undefined reference to `vtkAlgorithm::ComputePriority()' I cannot understand this error. According to the doxygen page, the vtkAlgorithm class should be implemented in the vtkCommonExecutionModel-6.1 library, which I already linked to in my makefile. Can anyone give a hint of what is going wrong in my case. Many thanks, Ju -------------- next part -------------- An HTML attachment was scrubbed... URL: From liujuy at gmail.com Wed Feb 4 13:39:22 2015 From: liujuy at gmail.com (Ju LIU) Date: Wed, 4 Feb 2015 12:39:22 -0600 Subject: [vtkusers] linking errors when build my code with static VTK-6.1.0 on Linux Message-ID: Hi: I was trying to migrate my code from VTK-5 to VTK-6. I built shared and static versions of VTK-6.1.0 on my linux machine. I can successfully build my library with the shared VTK-6.1.0. However, when linking with static libraries, I got several linking errors as follows. /juliu/lib/lin/VTK-6.1.0-static/lib/libvtkIOLegacy-6.1.a(vtkUnstructuredGridWriter.cxx.o):(.rodata._ZTV25vtkUnstructuredGridWriter[vtable for vtkUnstructuredGridWriter]+0x1e0): undefined reference to `vtkAlgorithm::ComputePriority()' I cannot understand this error. According to the doxygen page, the vtkAlgorithm class should be implemented in the vtkCommonExecutionModel-6.1 library, which I already linked to in my makefile. Can anyone give a hint of what is going wrong in my case. Many thanks, Ju -------------- next part -------------- An HTML attachment was scrubbed... URL: From deevankshu096 at gmail.com Wed Feb 4 19:04:56 2015 From: deevankshu096 at gmail.com (DEEVANKSHU GARG) Date: Thu, 5 Feb 2015 05:34:56 +0530 Subject: [vtkusers] Error MSB6006 while building VTK. Message-ID: Hey there! I 've been trying to build VTK on my system by following the Configure and Build guide.Now the problem is whenever I try to build the ALL_BUILD target in Debug mode,I get the error MSB6006:"cmd.exe" exited with code 1. I've been searching a lot on the interwebs but still haven't found a suitable solution to the problem.I am building it on Windows 8.1 ,Visual Studio 12.Version of VTK:6.1.0. I am really stuck on this from a long time. Please help soon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Wed Feb 4 23:44:39 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 4 Feb 2015 21:44:39 -0700 Subject: [vtkusers] Error MSB6006 while building VTK. In-Reply-To: References: Message-ID: What configure and build guide are you using? When you run cmake, do you get any errors? On Wed, Feb 4, 2015 at 5:04 PM, DEEVANKSHU GARG wrote: > Hey there! > I 've been trying to build VTK on my system by following the Configure and > Build guide.Now the problem is whenever I try to build the ALL_BUILD target > in Debug mode,I get the error MSB6006:"cmd.exe" exited with code 1. > I've been searching a lot on the interwebs but still haven't found a > suitable solution to the problem.I am building it on Windows 8.1 ,Visual > Studio 12.Version of VTK:6.1.0. > I am really stuck on this from a long time. > Please help soon. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From safna.royal10 at gmail.com Thu Feb 5 01:44:19 2015 From: safna.royal10 at gmail.com (safna) Date: Wed, 4 Feb 2015 23:44:19 -0700 (MST) Subject: [vtkusers] Point normals normals normals In-Reply-To: <1422931953296-5730289.post@n5.nabble.com> References: <1422931953296-5730289.post@n5.nabble.com> Message-ID: <1423118659379-5730310.post@n5.nabble.com> we can't able to find out the normal of a point...if u need to find out point normal first you need to find out the cell in which the point is located and take the normal of the cell as the normal of that point(vtkcelllocator and vtkpolydatanormal wiil help you for that) -- View this message in context: http://vtk.1045678.n5.nabble.com/Point-normals-normals-normals-tp5730289p5730310.html Sent from the VTK - Users mailing list archive at Nabble.com. From hengdahe at hust.edu.cn Thu Feb 5 02:32:19 2015 From: hengdahe at hust.edu.cn (hengdahe) Date: Thu, 5 Feb 2015 00:32:19 -0700 (MST) Subject: [vtkusers] Point normals normals normals In-Reply-To: <1423118659379-5730310.post@n5.nabble.com> References: <1422931953296-5730289.post@n5.nabble.com> <1423118659379-5730310.post@n5.nabble.com> Message-ID: <1423121539995-5730311.post@n5.nabble.com> Thank u ~ Dear safna i m trying to find the local cell normals and take the average normal as the point normal -- View this message in context: http://vtk.1045678.n5.nabble.com/Point-normals-normals-normals-tp5730289p5730311.html Sent from the VTK - Users mailing list archive at Nabble.com. From cameron.palmer at ntnu.no Thu Feb 5 03:21:37 2015 From: cameron.palmer at ntnu.no (Cameron Lowell Palmer) Date: Thu, 5 Feb 2015 08:21:37 +0000 Subject: [vtkusers] Resize an arbitrarily sized image Message-ID: I?m looking for a recommendation on how to scale imageData to a specific size. I?ve used vtkImageResample, but what I really want to do is load a large image, and then reset the size at some point. Ideally I would be able to non-destructively change the size of the object. Thanks, cameron. From deevankshu096 at gmail.com Thu Feb 5 03:49:01 2015 From: deevankshu096 at gmail.com (DEEVANKSHU GARG) Date: Thu, 5 Feb 2015 14:19:01 +0530 Subject: [vtkusers] Error MSB6006 while building VTK. In-Reply-To: References: Message-ID: I followed this guide- http://www.vtk.org/Wiki/VTK/Configure_and_Build And no there were no errors in cmake. I already set everything in cmake so it could not generate properly without any errors. On Thu, Feb 5, 2015 at 10:14 AM, Bill Lorensen wrote: > What configure and build guide are you using? When you run cmake, do > you get any errors? > > > On Wed, Feb 4, 2015 at 5:04 PM, DEEVANKSHU GARG > wrote: > > Hey there! > > I 've been trying to build VTK on my system by following the Configure > and > > Build guide.Now the problem is whenever I try to build the ALL_BUILD > target > > in Debug mode,I get the error MSB6006:"cmd.exe" exited with code 1. > > I've been searching a lot on the interwebs but still haven't found a > > suitable solution to the problem.I am building it on Windows 8.1 ,Visual > > Studio 12.Version of VTK:6.1.0. > > I am really stuck on this from a long time. > > Please help soon. > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > > -- > Unpaid intern in BillsBasement at noware dot com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.neher at dkfz-heidelberg.de Thu Feb 5 04:47:31 2015 From: p.neher at dkfz-heidelberg.de (Peter Neher) Date: Thu, 05 Feb 2015 10:47:31 +0100 Subject: [vtkusers] Set of splines Message-ID: <54D33C33.4060203@dkfz-heidelberg.de> Hi everyone, I want to render a large number of splines. Does anyone know whats the best way to do that? The vtk spline example only shows how to render a single spline. Cheers Peter From bill.lorensen at gmail.com Thu Feb 5 08:37:06 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Thu, 5 Feb 2015 06:37:06 -0700 Subject: [vtkusers] Resize an arbitrarily sized image In-Reply-To: References: Message-ID: What do you mean by size of the image? On Feb 5, 2015 3:21 AM, "Cameron Lowell Palmer" wrote: > I?m looking for a recommendation on how to scale imageData to a specific > size. > > I?ve used vtkImageResample, but what I really want to do is load a large > image, and then reset the size at some point. Ideally I would be able to > non-destructively change the size of the object. > > Thanks, > > cameron. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.palmer at ntnu.no Thu Feb 5 09:09:26 2015 From: cameron.palmer at ntnu.no (Cameron Lowell Palmer) Date: Thu, 5 Feb 2015 14:09:26 +0000 Subject: [vtkusers] Resize an arbitrarily sized image In-Reply-To: References: Message-ID: <1C4E3363-2E5C-4AC1-8697-B69147A9262D@ntnu.no> From my standpoint an image is a bitmap, a field of dimensionless colored dots. When it comes to output it should be a matter of saying here is your space draw yourself here. So in my app, most objects are defined in mm because it just makes sense to do so for organs, but I have also imported a 2000x2000 px PNG. This is purely an experiment in dealing with image manipulation so the image is deliberately large. So I want this logo to be 7x7 cm in real terms. Now I have some options, but the question is what is the VTK way? * I can resample the image down to 70x70 and assign spacing of (1, 1, 1). * I can scale the image plane it is applied to. * Third option goes here. I?ve tried vtkImageResample and when you set an axis magnification of 0.5f you get a doubling of spacing and a halving of extent, but the bounds mostly(!) remains the same. Still, this isn?t really what I want, I want to just say, ?Mr. Image you are 70mm.? BTW Talking to the image data didn?t work either. On 5. feb. 2015, at 14.37, Bill Lorensen > wrote: What do you mean by size of the image? On Feb 5, 2015 3:21 AM, "Cameron Lowell Palmer" > wrote: I?m looking for a recommendation on how to scale imageData to a specific size. I?ve used vtkImageResample, but what I really want to do is load a large image, and then reset the size at some point. Ideally I would be able to non-destructively change the size of the object. Thanks, cameron. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Thu Feb 5 09:17:15 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Thu, 5 Feb 2015 07:17:15 -0700 Subject: [vtkusers] Resize an arbitrarily sized image In-Reply-To: <1C4E3363-2E5C-4AC1-8697-B69147A9262D@ntnu.no> References: <1C4E3363-2E5C-4AC1-8697-B69147A9262D@ntnu.no> Message-ID: You can use vtkImageChangeInformation to change the pixel size(spacing in VTK terminology). Use the SetOutputSpacing. This filter does not resample. On Thu, Feb 5, 2015 at 7:09 AM, Cameron Lowell Palmer wrote: > From my standpoint an image is a bitmap, a field of dimensionless colored > dots. When it comes to output it should be a matter of saying here is your > space draw yourself here. So in my app, most objects are defined in mm > because it just makes sense to do so for organs, but I have also imported a > 2000x2000 px PNG. This is purely an experiment in dealing with image > manipulation so the image is deliberately large. So I want this logo to be > 7x7 cm in real terms. > > Now I have some options, but the question is what is the VTK way? > > * I can resample the image down to 70x70 and assign spacing of (1, 1, 1). > * I can scale the image plane it is applied to. > * Third option goes here. > > I?ve tried vtkImageResample and when you set an axis magnification of 0.5f > you get a doubling of spacing and a halving of extent, but the bounds > mostly(!) remains the same. Still, this isn?t really what I want, I want to > just say, ?Mr. Image you are 70mm.? BTW Talking to the image data didn?t > work either. > > > On 5. feb. 2015, at 14.37, Bill Lorensen wrote: > > What do you mean by size of the image? > > On Feb 5, 2015 3:21 AM, "Cameron Lowell Palmer" > wrote: >> >> I?m looking for a recommendation on how to scale imageData to a specific >> size. >> >> I?ve used vtkImageResample, but what I really want to do is load a large >> image, and then reset the size at some point. Ideally I would be able to >> non-destructively change the size of the object. >> >> Thanks, >> >> cameron. >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers > > -- Unpaid intern in BillsBasement at noware dot com From cameron.palmer at ntnu.no Thu Feb 5 09:20:29 2015 From: cameron.palmer at ntnu.no (Cameron Lowell Palmer) Date: Thu, 5 Feb 2015 14:20:29 +0000 Subject: [vtkusers] Resize an arbitrarily sized image In-Reply-To: References: <1C4E3363-2E5C-4AC1-8697-B69147A9262D@ntnu.no> Message-ID: <92020AFB-5241-4068-895C-CB438C28257C@ntnu.no> That is very helpful, indeed. I?ll try it out Thanks, Cameron. On 5. feb. 2015, at 15.17, Bill Lorensen > wrote: You can use vtkImageChangeInformation to change the pixel size(spacing in VTK terminology). Use the SetOutputSpacing. This filter does not resample. On Thu, Feb 5, 2015 at 7:09 AM, Cameron Lowell Palmer > wrote: From my standpoint an image is a bitmap, a field of dimensionless colored dots. When it comes to output it should be a matter of saying here is your space draw yourself here. So in my app, most objects are defined in mm because it just makes sense to do so for organs, but I have also imported a 2000x2000 px PNG. This is purely an experiment in dealing with image manipulation so the image is deliberately large. So I want this logo to be 7x7 cm in real terms. Now I have some options, but the question is what is the VTK way? * I can resample the image down to 70x70 and assign spacing of (1, 1, 1). * I can scale the image plane it is applied to. * Third option goes here. I?ve tried vtkImageResample and when you set an axis magnification of 0.5f you get a doubling of spacing and a halving of extent, but the bounds mostly(!) remains the same. Still, this isn?t really what I want, I want to just say, ?Mr. Image you are 70mm.? BTW Talking to the image data didn?t work either. On 5. feb. 2015, at 14.37, Bill Lorensen > wrote: What do you mean by size of the image? On Feb 5, 2015 3:21 AM, "Cameron Lowell Palmer" > wrote: I?m looking for a recommendation on how to scale imageData to a specific size. I?ve used vtkImageResample, but what I really want to do is load a large image, and then reset the size at some point. Ideally I would be able to non-destructively change the size of the object. Thanks, cameron. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -- Unpaid intern in BillsBasement at noware dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.palmer at ntnu.no Thu Feb 5 09:38:23 2015 From: cameron.palmer at ntnu.no (Cameron Lowell Palmer) Date: Thu, 5 Feb 2015 14:38:23 +0000 Subject: [vtkusers] Resize an arbitrarily sized image In-Reply-To: <92020AFB-5241-4068-895C-CB438C28257C@ntnu.no> References: <1C4E3363-2E5C-4AC1-8697-B69147A9262D@ntnu.no> <92020AFB-5241-4068-895C-CB438C28257C@ntnu.no> Message-ID: <4DAA778A-DBFE-442A-8E4D-35320CC5539B@ntnu.no> For the record, this is a code sample that does the job: auto imageChangeInformation = vtkSmartPointer::New(); imageChangeInformation->SetInputData(imageData); imageChangeInformation->SetOutputSpacing(0.035f, 0.035f, 0.035f); imageChangeInformation->Update(); vtkImageData *resizeImageData = imageChangeInformation->GetOutput(); I still think manipulating the spacing is an odd way to do this. cameron On 5. feb. 2015, at 15.20, Cameron Lowell Palmer > wrote: That is very helpful, indeed. I?ll try it out Thanks, Cameron. On 5. feb. 2015, at 15.17, Bill Lorensen > wrote: You can use vtkImageChangeInformation to change the pixel size(spacing in VTK terminology). Use the SetOutputSpacing. This filter does not resample. On Thu, Feb 5, 2015 at 7:09 AM, Cameron Lowell Palmer > wrote: From my standpoint an image is a bitmap, a field of dimensionless colored dots. When it comes to output it should be a matter of saying here is your space draw yourself here. So in my app, most objects are defined in mm because it just makes sense to do so for organs, but I have also imported a 2000x2000 px PNG. This is purely an experiment in dealing with image manipulation so the image is deliberately large. So I want this logo to be 7x7 cm in real terms. Now I have some options, but the question is what is the VTK way? * I can resample the image down to 70x70 and assign spacing of (1, 1, 1). * I can scale the image plane it is applied to. * Third option goes here. I?ve tried vtkImageResample and when you set an axis magnification of 0.5f you get a doubling of spacing and a halving of extent, but the bounds mostly(!) remains the same. Still, this isn?t really what I want, I want to just say, ?Mr. Image you are 70mm.? BTW Talking to the image data didn?t work either. On 5. feb. 2015, at 14.37, Bill Lorensen > wrote: What do you mean by size of the image? On Feb 5, 2015 3:21 AM, "Cameron Lowell Palmer" > wrote: I?m looking for a recommendation on how to scale imageData to a specific size. I?ve used vtkImageResample, but what I really want to do is load a large image, and then reset the size at some point. Ideally I would be able to non-destructively change the size of the object. Thanks, cameron. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -- Unpaid intern in BillsBasement at noware dot com _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Thu Feb 5 10:38:50 2015 From: daviddoria at gmail.com (David Doria) Date: Thu, 5 Feb 2015 10:38:50 -0500 Subject: [vtkusers] vtkImageActor origin and size In-Reply-To: References: Message-ID: On Thu, Feb 5, 2015 at 4:12 AM, mesajflaviu . wrote: > Hi David. I have a little question: is there any way to find the origin > and the size of an vtkImageActor (vtkImageData) ? > If yes, could you give me a little hint, advice, link ? Just look over > attached image ... > > > Regards, > > Flaviu Marc. > Please send this type of question is suitable for the vtkusers mailing list. This page may help: http://www.vtk.org/doc/nightly/html/classvtkImageActor.html The "extent" of an image is distinguished from the "bounds" here: http://www.vtk.org/Wiki/VTK/Tutorials/Extents David -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.neher at dkfz-heidelberg.de Thu Feb 5 11:55:02 2015 From: p.neher at dkfz-heidelberg.de (Peter Neher) Date: Thu, 05 Feb 2015 17:55:02 +0100 Subject: [vtkusers] vtkpolyline lighting Message-ID: <54D3A066.2000306@dkfz-heidelberg.de> Hi everyone, I have a polydata consisting of some polylines. Is it possible to enable lighting for polylines? It works without problem if I use tubes, but not with lines. Peter From domini at blackmereconsulting.com Thu Feb 5 12:07:28 2015 From: domini at blackmereconsulting.com (Domini Clark) Date: Thu, 5 Feb 2015 10:07:28 -0700 Subject: [vtkusers] Post to VTK List Message-ID: I would like to contribute a visualization position posting to the VTK list. I?ve included the position description to this email, but please let me know if you need an alternate format?. Thank you!! *Domini Clark, Principal* *Executive & Technical Recruitment* 208.932.2750 direct s 208.520.9806 cell domini at blackmereconsulting.com www.blackmereconsulting.com www.linkedin.com/in/dominiclark/ [image: Final Print logo] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4141 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PD Visualization Domain Expert.docx Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document Size: 22298 bytes Desc: not available URL: From caspar.gr at gmail.com Fri Feb 6 05:54:18 2015 From: caspar.gr at gmail.com (Caspargr .) Date: Fri, 6 Feb 2015 11:54:18 +0100 Subject: [vtkusers] positional vtkLight shining on triangle mesh Message-ID: Hi everyone, I'm having trouble creating a laser that casts a circular laser spot on a surface. I want the laser spot to be nicely circular, but as the surface is a triangle mesh, the triangle shapes dominate the shape of my laser spot. The only way I found to make the laser spot nicely circular, was to greatly reduce the triangle size, w.r.t. the laser spot size. The attached picture illustrates the problem. Is there any solution to smooth the laser spot edge, such that it appears circular, without reducing the triangle size? In brief what I did: I created a vtkLight _laser_. I set _laser_ to Positional. I reduced the ConeAngle of _laser_ to create a bounded light beam. I directed _laser_ at a flat triangle mesh. Thank you for your help! Caspar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: laserspot.png Type: image/png Size: 13084 bytes Desc: not available URL: From caspar.gr at gmail.com Fri Feb 6 08:42:35 2015 From: caspar.gr at gmail.com (Caspargr .) Date: Fri, 6 Feb 2015 14:42:35 +0100 Subject: [vtkusers] positional vtkLight shining on triangle mesh Message-ID: Hi everyone, I'm having trouble creating a laser that casts a circular laser spot on a surface. I want the laser spot to be nicely circular, but as the surface is a triangle mesh, the triangle shapes dominate the shape of my laser spot. The only way I found to make the laser spot nicely circular, was to greatly reduce the triangle size, w.r.t. the laser spot size. The attached picture illustrates the problem. Is there any solution to smooth the laser spot edge, such that it appears circular, without reducing the triangle size? In brief what I did: I created a vtkLight _laser_. I set _laser_ to Positional. I reduced the ConeAngle of _laser_ to create a bounded light beam. I directed _laser_ at a flat triangle mesh. Thank you for your help! Caspar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: laserspot.png Type: image/png Size: 13084 bytes Desc: not available URL: From iyas.hamdan at gmail.com Fri Feb 6 10:48:53 2015 From: iyas.hamdan at gmail.com (Iyas Hamdan) Date: Fri, 6 Feb 2015 16:48:53 +0100 Subject: [vtkusers] Data pipeline between vtkContourFilter and vtkImageMapToColors In-Reply-To: References: Message-ID: Sorry for the late reply, And thanks for the info Bill! I added both actors to the renderer and it worked just fine. Another problem though, since i'm now working with 3D volumes, would ContourFilter still work in this case ? I tested it on 2D images and it works fine but when I try it a 3D imagedata the result is a bit strange. Actually, what I'm looking for is to show the CT volume slice by slice, and I want to show the isolines of the corresponding dose slice on top of each CT one. But what I got is the whole isosurface shown over all the slices. So my question is, can the ContourFilter be used in my case ? or should I extract slices from my dose volume one by one, find the isolines in each slice then combine them all back in one volume and show this one on top of the CT ? Thanks in advance, Iyas On Tue, Feb 3, 2015 at 5:33 PM, Bill Lorensen wrote: > Each contour line has a scalar value associated with it (the iso value > for that line). You just need to create a lookup table for the > polydata mapper that maps the isovalues to the colors you want. No > need to use image blend. Just render the contour lines as polydata. > > > On Tue, Feb 3, 2015 at 11:21 AM, Iyas Hamdan > wrote: > > Hello vtkusers, > > > > I'm trying to visualize the RT dose on top of a CT image. To do so, I > first > > find the iso-dose lines using vktContourFilter which works just fine. > > Then I want to add colors to those iso-lines depending on their value. > So I > > creat a lookup table and then ( I think ) I have to map my image through > > this lookup table using vtkImageMapToColors. > > Afterwards, I have to use vtkImageBlend with two mappers as inputs ( one > for > > iso-lines and one for the CT image). > > > > So it goes something like this: > > > > vtkSmartPointer DoseColorMapper = > > vtkSmartPointer::New(); > > DoseColorMapper->SetInputData(contourFilter->GetOutput()); > > DoseColorMapper->SetLookupTable(l_lut); > > DoseColorMapper->SetOutputFormatToRGB(); > > /// ... the same for the CT image > > vtkSmartPointer imgBlender = > > vtkSmartPointer::New(); > > imgBlender->SetOpacity(0, 0.5); > > imgBlender->SetOpacity(1, 0.5); > > imgBlender->AddInputConnection(CtColorMapper->GetOutputPort()); > > imgBlender->AddInputConnection(DoseColorMapper->GetOutputPort()); > > > > > > > > The problem is, when I trying doing passing the output of the > ContourFilter > > to the mapper I get this error : > > vtkCompositeDataPipeline (037DBD78): Input for connection index 0 on > input > > port index 0 for algorithm vtkImageMapToColors(037DBC50) is of type > > vtkPolyData, but a vtkImageData is required. > > > > So my question is, do I have to convert the output of ContourFilter from > > polydata to imagedata ? > > or is there another way around this by giving the mapper an input of type > > polydata ? > > > > any help would be really appreciated. > > > > Thanks in advance > > > > Iyas > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > > -- > Unpaid intern in BillsBasement at noware dot com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Fri Feb 6 11:01:21 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Fri, 6 Feb 2015 09:01:21 -0700 Subject: [vtkusers] Data pipeline between vtkContourFilter and vtkImageMapToColors In-Reply-To: References: Message-ID: vtkCutter can be used on the isosurface to produce isolines. On Fri, Feb 6, 2015 at 8:48 AM, Iyas Hamdan wrote: > Sorry for the late reply, > And thanks for the info Bill! > I added both actors to the renderer and it worked just fine. > > Another problem though, since i'm now working with 3D volumes, would > ContourFilter still work in this case ? > I tested it on 2D images and it works fine but when I try it a 3D imagedata > the result is a bit strange. > > Actually, what I'm looking for is to show the CT volume slice by slice, and > I want to show the isolines of the corresponding dose slice on top of each > CT one. > But what I got is the whole isosurface shown over all the slices. > > So my question is, can the ContourFilter be used in my case ? > or should I extract slices from my dose volume one by one, find the isolines > in each slice then combine them all back in one volume and show this one on > top of the CT ? > > Thanks in advance, > > Iyas > > On Tue, Feb 3, 2015 at 5:33 PM, Bill Lorensen > wrote: >> >> Each contour line has a scalar value associated with it (the iso value >> for that line). You just need to create a lookup table for the >> polydata mapper that maps the isovalues to the colors you want. No >> need to use image blend. Just render the contour lines as polydata. >> >> >> On Tue, Feb 3, 2015 at 11:21 AM, Iyas Hamdan >> wrote: >> > Hello vtkusers, >> > >> > I'm trying to visualize the RT dose on top of a CT image. To do so, I >> > first >> > find the iso-dose lines using vktContourFilter which works just fine. >> > Then I want to add colors to those iso-lines depending on their value. >> > So I >> > creat a lookup table and then ( I think ) I have to map my image through >> > this lookup table using vtkImageMapToColors. >> > Afterwards, I have to use vtkImageBlend with two mappers as inputs ( one >> > for >> > iso-lines and one for the CT image). >> > >> > So it goes something like this: >> > >> > vtkSmartPointer DoseColorMapper = >> > vtkSmartPointer::New(); >> > DoseColorMapper->SetInputData(contourFilter->GetOutput()); >> > DoseColorMapper->SetLookupTable(l_lut); >> > DoseColorMapper->SetOutputFormatToRGB(); >> > /// ... the same for the CT image >> > vtkSmartPointer imgBlender = >> > vtkSmartPointer::New(); >> > imgBlender->SetOpacity(0, 0.5); >> > imgBlender->SetOpacity(1, 0.5); >> > imgBlender->AddInputConnection(CtColorMapper->GetOutputPort()); >> > imgBlender->AddInputConnection(DoseColorMapper->GetOutputPort()); >> > >> > >> > >> > The problem is, when I trying doing passing the output of the >> > ContourFilter >> > to the mapper I get this error : >> > vtkCompositeDataPipeline (037DBD78): Input for connection index 0 on >> > input >> > port index 0 for algorithm vtkImageMapToColors(037DBC50) is of type >> > vtkPolyData, but a vtkImageData is required. >> > >> > So my question is, do I have to convert the output of ContourFilter from >> > polydata to imagedata ? >> > or is there another way around this by giving the mapper an input of >> > type >> > polydata ? >> > >> > any help would be really appreciated. >> > >> > Thanks in advance >> > >> > Iyas >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=vtkusers >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/vtkusers >> > >> >> >> >> -- >> Unpaid intern in BillsBasement at noware dot com > > -- Unpaid intern in BillsBasement at noware dot com From bill.lorensen at gmail.com Fri Feb 6 11:04:08 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Fri, 6 Feb 2015 09:04:08 -0700 Subject: [vtkusers] Data pipeline between vtkContourFilter and vtkImageMapToColors In-Reply-To: References: Message-ID: This example cuts a polydata with planes: http://www.vtk.org/Wiki/VTK/Examples/Cxx/VisualizationAlgorithms/CutWithCutFunction On Fri, Feb 6, 2015 at 9:01 AM, Bill Lorensen wrote: > vtkCutter can be used on the isosurface to produce isolines. > > On Fri, Feb 6, 2015 at 8:48 AM, Iyas Hamdan wrote: >> Sorry for the late reply, >> And thanks for the info Bill! >> I added both actors to the renderer and it worked just fine. >> >> Another problem though, since i'm now working with 3D volumes, would >> ContourFilter still work in this case ? >> I tested it on 2D images and it works fine but when I try it a 3D imagedata >> the result is a bit strange. >> >> Actually, what I'm looking for is to show the CT volume slice by slice, and >> I want to show the isolines of the corresponding dose slice on top of each >> CT one. >> But what I got is the whole isosurface shown over all the slices. >> >> So my question is, can the ContourFilter be used in my case ? >> or should I extract slices from my dose volume one by one, find the isolines >> in each slice then combine them all back in one volume and show this one on >> top of the CT ? >> >> Thanks in advance, >> >> Iyas >> >> On Tue, Feb 3, 2015 at 5:33 PM, Bill Lorensen >> wrote: >>> >>> Each contour line has a scalar value associated with it (the iso value >>> for that line). You just need to create a lookup table for the >>> polydata mapper that maps the isovalues to the colors you want. No >>> need to use image blend. Just render the contour lines as polydata. >>> >>> >>> On Tue, Feb 3, 2015 at 11:21 AM, Iyas Hamdan >>> wrote: >>> > Hello vtkusers, >>> > >>> > I'm trying to visualize the RT dose on top of a CT image. To do so, I >>> > first >>> > find the iso-dose lines using vktContourFilter which works just fine. >>> > Then I want to add colors to those iso-lines depending on their value. >>> > So I >>> > creat a lookup table and then ( I think ) I have to map my image through >>> > this lookup table using vtkImageMapToColors. >>> > Afterwards, I have to use vtkImageBlend with two mappers as inputs ( one >>> > for >>> > iso-lines and one for the CT image). >>> > >>> > So it goes something like this: >>> > >>> > vtkSmartPointer DoseColorMapper = >>> > vtkSmartPointer::New(); >>> > DoseColorMapper->SetInputData(contourFilter->GetOutput()); >>> > DoseColorMapper->SetLookupTable(l_lut); >>> > DoseColorMapper->SetOutputFormatToRGB(); >>> > /// ... the same for the CT image >>> > vtkSmartPointer imgBlender = >>> > vtkSmartPointer::New(); >>> > imgBlender->SetOpacity(0, 0.5); >>> > imgBlender->SetOpacity(1, 0.5); >>> > imgBlender->AddInputConnection(CtColorMapper->GetOutputPort()); >>> > imgBlender->AddInputConnection(DoseColorMapper->GetOutputPort()); >>> > >>> > >>> > >>> > The problem is, when I trying doing passing the output of the >>> > ContourFilter >>> > to the mapper I get this error : >>> > vtkCompositeDataPipeline (037DBD78): Input for connection index 0 on >>> > input >>> > port index 0 for algorithm vtkImageMapToColors(037DBC50) is of type >>> > vtkPolyData, but a vtkImageData is required. >>> > >>> > So my question is, do I have to convert the output of ContourFilter from >>> > polydata to imagedata ? >>> > or is there another way around this by giving the mapper an input of >>> > type >>> > polydata ? >>> > >>> > any help would be really appreciated. >>> > >>> > Thanks in advance >>> > >>> > Iyas >>> > >>> > _______________________________________________ >>> > 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 >>> > >>> > Search the list archives at: http://markmail.org/search/?q=vtkusers >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/vtkusers >>> > >>> >>> >>> >>> -- >>> Unpaid intern in BillsBasement at noware dot com >> >> > > > > -- > Unpaid intern in BillsBasement at noware dot com -- Unpaid intern in BillsBasement at noware dot com From totte at dunescientific.com Fri Feb 6 17:10:21 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Fri, 06 Feb 2015 14:10:21 -0800 Subject: [vtkusers] Auto init and not using CMake Message-ID: <54D53BCD.9070808@dunescientific.com> Hello, I am having some success and some issues with getting vtk (6.1) working in a Borland VCL application. For such, I'm not using Cmake. However, I'm using CMake for building vtk core libs. The problems are that I do get the 'no override found for vtkRenderer' errors. These problems seem to be associated with 'Implementation Modules' (that's above my head), but info is given at the vtk Wiki: http://www.vtk.org/Wiki/VTK/Build_System_Migration Despite that information, I do still have some issues. Some observations; 1) When building a DLL (libA) that are linked to core vtk DLL libraries, placing the following #include VTK_MODULE_INIT(vtkRenderingOpenGL); VTK_MODULE_INIT(vtkInteractionStyle); VTK_MODULE_INIT(vtkRenderingFreeType); in a source file when building the library (libA) seem to create a library where apps linking to the library (libA) do not need any extra "init stuff". I see this working fine with simple console apps. 2) If the above code is left out when building the library (libA), then placing it in a source file of the application build seem to 'Init' vtk. Where it is placed seem not to make a difference. To make libA easy to use for clients, it seem the above code is preferably placed in a source file of the libA build. Question 1: Is there a correct place on where to place the init code for the above scenario? In a source file in the build of libA, or in the source of each app using libA? The info page about the init code don't handle this situation. It only talks about creating an app linking directly to the core vtk libs. 3) When building a win32 applications using borlands VCL, on the other hand, the init code seem to behave differently. No matter what, when creating any application using a package, that is using vtk, the 'autoinit' code always seem to have to be present in the (application) build. Perhaps this is a feature/consequence of using VCL packages. Question 2, is there a flag or something that one can use when building the core vtk libraries that would take care of the auto_init stuff for any clients of the libraries? Its not a big deal of course, but just this one extra complication. tk -- ......................... Totte Karlsson, Ph.D. Dune Scientific, LLC 425-296 1980 (office) 425-780 9648 (cell) www.dunescientific.com ......................... From arnaudgelas at gmail.com Mon Feb 9 05:50:28 2015 From: arnaudgelas at gmail.com (Arnaud Gelas) Date: Mon, 9 Feb 2015 11:50:28 +0100 Subject: [vtkusers] bad permissions for mapped region when creating vtkBoxRepresentation Message-ID: <0EC84982-2672-4391-AD7D-AF22D4506105@gmail.com> Hi all, I have just tried running my application with latest version from master, and it crashes when trying to create one vtkBoxRepresentation. Here is the call stack and the error as it appears with valgrind ==30257== Process terminating with default action of signal 11 (SIGSEGV) ==30257== Bad permissions for mapped region at address 0xB4E9B74 ==30257== at 0xB3A6A10: vtkIdList::Reset() (vtkIdList.h:88) ==30257== by 0xB616DA7: vtkDataArrayTemplate::LookupValue(long long, vtkIdList*) (vtkDataArrayTemplate.txx:1172) ==30257== by 0xB4E9B6E: vtkDataArrayTemplate::LookupTypedValue(long long, vtkIdList*) (vtkDataArrayTemplate.h:312) ==30257== by 0x78B58B0: vtkCellArray::GetNextCell(long long&, long long*&) (vtkCellArray.h:313) ==30257== by 0xAB22A3E: vtkPolyData::BuildCells() (vtkPolyData.cxx:994) ==30257== by 0x15DAB18E: vtkBoxRepresentation::vtkBoxRepresentation() (vtkBoxRepresentation.cxx:95) ==30257== by 0x15DAADFF: vtkBoxRepresentation::New() (vtkBoxRepresentation.cxx:43) ==30257== by 0x7031554: vtkSmartPointer::New() (vtkSmartPointer.h:117) ==30257== by 0x702EC23: sbo::ws::ortho::ui::QVTKResliceWidget3D::QVTKResliceWidget3D(QWidget*) (QVTKResliceWidget3D.cpp:86) ... The application works fine with VTK 6.1, but it crashes with more recent vtk version? I have tried running BoxWidget2 wiki example and it works fine... Any idea on what could be the problem? --- I have been looking for a release branch where there would be bug fixes since the last release, but it seems that there is not such a thing? I also even wonder the purpose of the present release branch on the git repository? Thanks in advance, Arnaud From madaramh at gmail.com Mon Feb 9 06:42:19 2015 From: madaramh at gmail.com (madz) Date: Mon, 9 Feb 2015 04:42:19 -0700 (MST) Subject: [vtkusers] Creating vtkCutter with polydata Message-ID: <1423482139636-5730345.post@n5.nabble.com> I have a 2 sets of polydata, which are created to make a two grids. Is it possible for me to cut one grid with the other using vtkCutter? (I need to cut the 2nd polydata with the first polydata and get the points and properties of the cut surface) -- View this message in context: http://vtk.1045678.n5.nabble.com/Creating-vtkCutter-with-polydata-tp5730345.html Sent from the VTK - Users mailing list archive at Nabble.com. From jhlegarreta at vicomtech.org Mon Feb 9 07:54:29 2015 From: jhlegarreta at vicomtech.org (Jon Haitz Legarreta) Date: Mon, 9 Feb 2015 13:54:29 +0100 Subject: [vtkusers] [VTK] Cutting away cells from a PolyData within a vtkBoxWidget Message-ID: Hi there, I'm using vtkBoxWidget to define a volume of (*un*)interest over a vtkPolyData. I would like to cut away the vtkPolyData cells that lie inside the planes defined by the vtkBoxWidget. I thought that the vtkExtractPolyDataGeometry filter would do the job. I've started with the extractPolyData.py example [1], and then switched to an "easier" implicit function defined by a cylinder to see whether the approach would work. Apparently, it would. However, when it comes to using the vtkBoxWidget, there seems to be some issue, since either I'm not applying the vtkBoxWidget correctly or the vtkExtractPolyDataGeometry filter is not yielding the expected output. I've tried to set up two viewports so that I am able to interact with the polyData and the vtkBoxWidget on one, and see the extracted polyData on the other. However, the vtkBoxWidget is displayed on the second viewport, so this is another added issue. The input polyData is built from a segmentation dataset. The attempt and input dataset can be found attached. Example3. Am I missing something? Thanks, JON P.S.: The ITK to VTK image filter is included for I am not using the vtkGlue flag for historical reasons. [1] http://vtk.org/gitweb?p=VTK.git;a=blob;f=Filters/Extraction/Testing/Python/extractPolyData.py -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PolyDataCropping.zip Type: application/zip Size: 49866 bytes Desc: not available URL: From cjayjones at gmail.com Mon Feb 9 11:25:48 2015 From: cjayjones at gmail.com (Cory Jones) Date: Mon, 9 Feb 2015 09:25:48 -0700 Subject: [vtkusers] GLEW with VTK Message-ID: I am using vtkSmartVolumeMapper to render a volume that is 4-channel of size 512x512x256. In an attempt to speed up rendering times, I recently switched to using OpenGL2 by changing the VTK_RENDERING_BACKEND variable to OpenGL2 and enabling module_vtkglew. In spite of this I am still seeing rendering times of about 15 seconds. Are there any recommendations for improving rendering times? Thanks. Cory -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.g.richardson at phantomjinx.co.uk Mon Feb 9 11:26:15 2015 From: p.g.richardson at phantomjinx.co.uk (phantomjinx) Date: Mon, 09 Feb 2015 16:26:15 +0000 Subject: [vtkusers] Segmetation Fault when running examples Message-ID: <54D8DFA7.8040906@phantomjinx.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am newly trying out vtk with QT and intended to get my hands dirty by compiling and running some of the examples. However, instead I have ended up stuck failing to run any of the QT OpenGL executables. Systems: Laptop - Intel GPU - Fedora 20 Desktop - Nvidia GPU - Fedora 20 1) Installed all vtk-related packages with yum onto both laptop and desktop 2) Downloaded examples, for instance SideBySideRenderWindows [1] 3) Untarred; cd build; cmake ..; make 4) I get the following error: ... [ 80%] Building CXX object CMakeFiles/RenderWindowUISingleInheritance.dir/RenderWindowUISingleInheritance.cxx.o [100%] Building CXX object CMakeFiles/RenderWindowUISingleInheritance.dir/moc_RenderWindowUISingleInheritance.cxx.o make[2]: *** No rule to make target `/usr/lib64/libQtWebKit_debug.so', needed by `RenderWindowUISingleInheritance'. Stop. make[1]: *** [CMakeFiles/RenderWindowUISingleInheritance.dir/all] Error 2 make: *** [all] Error 2 I understand this is a Fedora error[2] and the qt-devel package I have has been upgraded (qt-devel-4.8.6-18.fc20.x86_64) so no longer contains libQtWebKit_debug.so. Therefore, I am currently mystified as to what is still requiring this library for make to be wanting to run a rule for it? Any suggestions, greatfully received since this seems not just an installation/config problem but a distro problem since it displays this error on both laptop and desktop. Anyway, tried a couple of workarounds: 1) Downloaded old version of libQtWebkit_debug.so from the rpm package. 2) Downloaded vtk 6.0.0 src and compiled from scratch, removed all installed vtk packages to avoid contamination. In both cases, the example is successfully compiled. However, it fails to execute and I get the following: Konsole output: libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so libGL: Can't open configuration file /home/phantomjinx/.drirc: No such file or directory. X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0x4200011 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 3 (X_GetWindowAttributes) Resource id: 0x4200011 dmesg output (after executing 3 times): [20726.521617] SideBySideRende[3674]: segfault at 10 ip 000000384201c896 sp 00007fff0fe0aa90 error 4 in libGL.so.1.2.0[3842000000+90000] [20731.031566] SideBySideRende[3683]: segfault at 10 ip 000000384201c896 sp 00007fff2ac7c6c0 error 4 in libGL.so.1.2.0[3842000000+90000] [20745.466293] SideBySideRende[3715]: segfault at 10 ip 000000384201c896 sp 00007fff85b9f4d0 error 4 in libGL.so.1.2.0[3842000000+90000] gdb backtrace: Program received signal SIGSEGV, Segmentation fault. 0x000000384201c896 in glXCreateContext () from /lib64/libGL.so.1 Missing separate debuginfos, use: debuginfo-install attica-0.4.2-2.fc20.x86_64 dbus-libs-1.6.28-3.fc20.x86_64 dbusmenu-qt-0.9.2-5.fc20.x86_64 gamin-0.1.10-15.fc20.x86_64 herqq-1.0.0-6.fc20.x86_64 kde-workspace-libs-4.11.14-2.fc20.x86_64 kdelibs-4.14.3-8.fc20.x86_64 libXft-2.3.1-5.fc20.x86_64 libXpm-3.5.10-5.fc20.x86_64 libXtst-1.2.2-2.fc20.x86_64 libacl-2.2.52-4.fc20.x86_64 libattr-2.4.47-3.fc20.x86_64 libpciaccess-0.13.3-0.1.fc20.x86_64 mesa-dri-drivers-10.3.3-1.20141110.fc20.x86_64 qca2-2.0.3-6.fc20.x86_64 qtsoap-2.7-6.fc20.x86_64 soprano-2.9.4-2.fc20.x86_64 strigi-libs-0.7.8-2.fc20.x86_64 systemd-libs-208-29.fc20.x86_64 (gdb) bt #0 0x000000384201c896 in glXCreateContext () from /lib64/libGL.so.1 #1 0x00007fffef296a36 in vtkXOpenGLRenderWindow::CreateAWindow() () from /usr/lib64/vtk/libvtkRenderingOpenGL.so.1 #2 0x00007fffef2937a2 in vtkXOpenGLRenderWindow::WindowInitialize() () from /usr/lib64/vtk/libvtkRenderingOpenGL.so.1 #3 0x00007fffef2936fd in vtkXOpenGLRenderWindow::Start() () from /usr/lib64/vtk/libvtkRenderingOpenGL.so.1 #4 0x00007ffff30c9920 in vtkRenderWindow::DoStereoRender() () from /usr/lib64/vtk/libvtkRenderingCore.so.1 #5 0x00007ffff30ca657 in vtkRenderWindow::DoFDRender() () from /usr/lib64/vtk/libvtkRenderingCore.so.1 #6 0x00007ffff30ca25e in vtkRenderWindow::DoAARender() () from /usr/lib64/vtk/libvtkRenderingCore.so.1 #7 0x00007ffff30cb583 in vtkRenderWindow::Render() () from /usr/lib64/vtk/libvtkRenderingCore.so.1 ... ... I'm afraid I have run out of ideas as to what to try next so any help would be much appreciated. Many thanks Paul [1] http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/SideBySideRenderWindows [2] http://answers.ros.org/question/200246/no-rule-to-make-target-usrlib64libqtwebkit_debugso/ - -- Paul Richardson * p.g.richardson at phantomjinx.co.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTY354ACgkQcthLMIwdEb39PgCg4RahKciseOAiyesSz9ZY7DmD +Q0AoOUc9rdsLdppepNmcNc2XAh3g28v =7c99 -----END PGP SIGNATURE----- From mallikarjun49 at gmail.com Tue Feb 10 02:01:30 2015 From: mallikarjun49 at gmail.com (Mallikarjun K) Date: Tue, 10 Feb 2015 12:31:30 +0530 Subject: [vtkusers] Position Coordinates for vtkBorderWidget based on Image pixel(index) coordinates Message-ID: Hi All, I am trying to crop an Image based on Image index and at the same time want to show vtkborderwidget on the viewer according to the dimensions selected. Can anyone help me how to calculate position coordinates for border widget based on the image index? Thanks in advance -- *Regards:* Mallik -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ravi.HM at LntTechservices.com Tue Feb 10 04:31:23 2015 From: Ravi.HM at LntTechservices.com (Ravi HM) Date: Tue, 10 Feb 2015 09:31:23 +0000 Subject: [vtkusers] Decompress DICOM image Message-ID: Hi All, I tried to read series of compressed Dicom images, since vtkDICOMImageReader does not support compressed data, I thought I need to Decompress selected DICOM files. If I am correct please can anyone help me how to Decompress Dicom image. Lots of thanks in advance. Regards, Ravi L&T Technology Services Ltd www.LntTechservices.com This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Tue Feb 10 08:16:49 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Tue, 10 Feb 2015 06:16:49 -0700 Subject: [vtkusers] Decompress DICOM image In-Reply-To: References: Message-ID: On Tue, Feb 10, 2015 at 2:31 AM, Ravi HM wrote: > Hi All, > > I tried to read series of compressed Dicom images, since *vtkDICOMImageReader* does not support compressed data, I thought I need to Decompress selected DICOM files. > > If I am correct please can anyone help me how to Decompress Dicom image. > > Hi Ravi, I recommend using the "gdcmconv" program that comes with GDCM: gdcmconv --raw input.dcm output.dcm Also, I've written a better DICOM reader for VTK that can read compressed images: (it uses GDCM to run the encapsulated images through the decompression codecs.) https://github.com/dgobbi/vtk-dicom - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhlegarreta at vicomtech.org Tue Feb 10 11:17:41 2015 From: jhlegarreta at vicomtech.org (Jon Haitz Legarreta) Date: Tue, 10 Feb 2015 17:17:41 +0100 Subject: [vtkusers] Fwd: [VTK] Cutting away cells from a PolyData within a vtkBoxWidget In-Reply-To: References: Message-ID: Hi there, anybody, please? Thanks JON ---------- Forwarded message ---------- From: Jon Haitz Legarreta Date: 9 February 2015 at 13:54 Subject: [VTK] Cutting away cells from a PolyData within a vtkBoxWidget To: "vtkusers at vtk.org" Hi there, I'm using vtkBoxWidget to define a volume of (*un*)interest over a vtkPolyData. I would like to cut away the vtkPolyData cells that lie inside the planes defined by the vtkBoxWidget. I thought that the vtkExtractPolyDataGeometry filter would do the job. I've started with the extractPolyData.py example [1], and then switched to an "easier" implicit function defined by a cylinder to see whether the approach would work. Apparently, it would. However, when it comes to using the vtkBoxWidget, there seems to be some issue, since either I'm not applying the vtkBoxWidget correctly or the vtkExtractPolyDataGeometry filter is not yielding the expected output. I've tried to set up two viewports so that I am able to interact with the polyData and the vtkBoxWidget on one, and see the extracted polyData on the other. However, the vtkBoxWidget is displayed on the second viewport, so this is another added issue. The input polyData is built from a segmentation dataset. The attempt and input dataset can be found attached. Example3. Am I missing something? Thanks, JON P.S.: The ITK to VTK image filter is included for I am not using the vtkGlue flag for historical reasons. [1] http://vtk.org/gitweb?p=VTK.git;a=blob;f=Filters/Extraction/Testing/Python/extractPolyData.py -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PolyDataCropping.zip Type: application/zip Size: 49866 bytes Desc: not available URL: From sergio.vera at alma3d.com Tue Feb 10 11:29:32 2015 From: sergio.vera at alma3d.com (Sergio Vera) Date: Tue, 10 Feb 2015 17:29:32 +0100 Subject: [vtkusers] Draw contour of segmentation in a vtkImage Message-ID: Dear vtk users I have a vtkImage with a CT and some segmentations as vtkPolyData, Currently I draw the vtkPolyData on top of the image but the image is hidden by the meshes. I would like to represent the segmentation as contours in the image. I have tried to use vtkPolyDataMapper with two slice planes to display just a thin portion of the mesh but the result is subpar. Is there any better way to display my segmentations as (possibly filled with a semitransparent color) a contour over the image? Best regards -- Sergio Vera Alma IT Systems C/ Vilana, 4B, 4? 1? 08022 Barcelona T. (+34) 932 380 592 www.alma3d.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Tue Feb 10 11:55:53 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Tue, 10 Feb 2015 09:55:53 -0700 Subject: [vtkusers] Draw contour of segmentation in a vtkImage In-Reply-To: References: Message-ID: Hi Sergio, Here are some methods that can be used: 1) Use vtkCutter to convert the polydata into a 2D contour, and then use vtkTubeFilter to thicken the contour for better visibility. 2) Instead of vtkTubeFilter to thicken the contour, you can use vtkContourTriangulator to fill the contour. 3) Render the 3D polydata as a wireframe, so that you can see the image through the mesh. - David On Tue, Feb 10, 2015 at 9:29 AM, Sergio Vera wrote: > Dear vtk users > > I have a vtkImage with a CT and some segmentations as vtkPolyData, > > Currently I draw the vtkPolyData on top of the image but the image is > hidden by the meshes. > I would like to represent the segmentation as contours in the image. > > I have tried to use vtkPolyDataMapper with two slice planes to display > just a thin portion of the mesh but the result is subpar. > > Is there any better way to display my segmentations as (possibly filled > with a semitransparent color) a contour over the image? > > Best regards > -------------- next part -------------- An HTML attachment was scrubbed... URL: From totte at dunescientific.com Tue Feb 10 15:55:53 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Tue, 10 Feb 2015 12:55:53 -0800 Subject: [vtkusers] actor and mouse over Message-ID: <54DA7059.102@dunescientific.com> Hello, I am working on objects being manipulated by 3D slider widgets. The underlying objects being manipulated are represented by vtk cylinders. The sliderwidget manipulates the length of the cylinder. I would like not to have the slider widget being visible unless the user wants it and is interacting with it, for a particular cylinder. Ideally, since I can have many cylinder objects, if there is a simple way to catch a 'mouse over actor event' and from there create a 'temporary' slider widget for the actual 'mouse over' object. -tk -- ......................... Totte Karlsson, Ph.D. Dune Scientific, LLC 425-296 1980 (office) 425-780 9648 (cell) www.dunescientific.com ......................... From felfilali at dons.usfca.edu Wed Feb 11 00:19:37 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Tue, 10 Feb 2015 21:19:37 -0800 Subject: [vtkusers] VTK error with building examples Message-ID: Hello, I am trying to build vtk with all its examples on my mac It looks like there is a missing header file when trying to build the examples. everything passes and is 'made' (using make) then it starts building the examples and fails. Check it out here: *fatal error: **'vtkXMLTreeReader.h' file not found* #include "vtkXMLTreeReader.h" * ^* 1 error generated. make[2]: *** [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/TreeLayout.cxx.o] Error 1 make[1]: *** [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/all] Error 2 make: *** [all] Error 2 Could you please provide some assistance ? BTW: when I 'cmake' it without the examples, I can 'make' it without errors, but I really need the examples because I am learning vtk for the first time. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Wed Feb 11 08:44:46 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 11 Feb 2015 08:44:46 -0500 Subject: [vtkusers] VTK error with building examples In-Reply-To: References: Message-ID: When you configured vtk, did you turn in the IOInfoVis module? Or any of the info's modules? On Wed, Feb 11, 2015 at 12:19 AM, Fatima Zahra El Filali wrote: > Hello, > > I am trying to build vtk with all its examples on my mac > It looks like there is a missing header file when trying to build the > examples. > everything passes and is 'made' (using make) then it starts building the > examples and fails. > > > Check it out here: > > fatal error: 'vtkXMLTreeReader.h' file not found > > #include "vtkXMLTreeReader.h" > > ^ > > 1 error generated. > > make[2]: *** > [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/TreeLayout.cxx.o] Error 1 > > make[1]: *** [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/all] Error 2 > > make: *** [all] Error 2 > > > Could you please provide some assistance ? > > BTW: when I 'cmake' it without the examples, I can 'make' it without errors, > but I really need the examples because I am learning vtk for the first time. > > Thanks > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From jim at jslengineeringsoftware.com Wed Feb 11 10:02:14 2015 From: jim at jslengineeringsoftware.com (James Labiak) Date: Wed, 11 Feb 2015 10:02:14 -0500 Subject: [vtkusers] VTK Java memory leak In-Reply-To: References: <54872783.4010602@jslengineeringsoftware.com> Message-ID: <54DB6EF6.203@jslengineeringsoftware.com> I have a Java GUI application which runs without memory leaks. It loads a database of simulations and displays 2D graphs for output. I added VTK code so that I can also display 3D graphs. Now, when I repeatedly display/cycle through the the same 4 VTK graphs (or different graphs) many times, the program uses increasing memory until the computer runs out of RAM and the application fails to respond. It seems to have a memory leak related to VTK. Memory is only freed when I then kill the application process. I have searched for information on this and tried to address various potential issues without success. In version 6.0, the VTK garbage collection method seems to have been removed. I think that I addressed potential reference count issues by providing VTK object references that go through the Java object layer. I tried adding code to delete VTK objects manually through someVTKObject.Delete() but that didn't seem to help. I ran jvisualvm but haven't been able to identify what is causing the leak. I am relatively new to VTK (and jvisualvm), so I wonder if there is a general strategy to address the memory leak issue, or other potential issues that I should look for. Thanks, Jim From dave.demarle at kitware.com Wed Feb 11 10:31:09 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 11 Feb 2015 10:31:09 -0500 Subject: [vtkusers] VTK Java memory leak In-Reply-To: <54DB6EF6.203@jslengineeringsoftware.com> References: <54872783.4010602@jslengineeringsoftware.com> <54DB6EF6.203@jslengineeringsoftware.com> Message-ID: On quick suggestion configure vtk to have VTK_DEBUG_LEAKS on (on the advanced set of cmake options) and rebuild. Then when you exit the program it will tell you what VTK instances have not been entirely dereferences and thus not yet deallocated. That should help narrow it down. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Feb 11, 2015 at 10:02 AM, James Labiak < jim at jslengineeringsoftware.com> wrote: > I have a Java GUI application which runs without memory leaks. It loads a > database of simulations and displays 2D graphs for output. I added VTK code > so that I can also display 3D graphs. Now, when I repeatedly display/cycle > through the the same 4 VTK graphs (or different graphs) many times, the > program uses increasing memory until the computer runs out of RAM and the > application fails to respond. It seems to have a memory leak related to > VTK. Memory is only freed when I then kill the application process. I have > searched for information on this and tried to address various potential > issues without success. In version 6.0, the VTK garbage collection method > seems to have been removed. I think that I addressed potential reference > count issues by providing VTK object references that go through the Java > object layer. I tried adding code to delete VTK objects manually through > someVTKObject.Delete() but that didn't seem to help. I ran jvisualvm but > haven't been able to identify what is causing the leak. I am relatively new > to VTK (and jvisualvm), so I wonder if there is a general strategy to > address the memory leak issue, or other potential issues that I should look > for. > Thanks, > Jim > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Feb 11 10:34:28 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 11 Feb 2015 08:34:28 -0700 Subject: [vtkusers] VTK Java memory leak In-Reply-To: <54DB6EF6.203@jslengineeringsoftware.com> References: <54872783.4010602@jslengineeringsoftware.com> <54DB6EF6.203@jslengineeringsoftware.com> Message-ID: Hi Jim, If you look at the sample code provided inside the VTK source code, you will notice how to use the VTK garbage collector. (${VTK_SRC}/Wrapping/Java/vtk/sample/Demo.java) Seb On Wed, Feb 11, 2015 at 8:02 AM, James Labiak < jim at jslengineeringsoftware.com> wrote: > I have a Java GUI application which runs without memory leaks. It loads a > database of simulations and displays 2D graphs for output. I added VTK code > so that I can also display 3D graphs. Now, when I repeatedly display/cycle > through the the same 4 VTK graphs (or different graphs) many times, the > program uses increasing memory until the computer runs out of RAM and the > application fails to respond. It seems to have a memory leak related to > VTK. Memory is only freed when I then kill the application process. I have > searched for information on this and tried to address various potential > issues without success. In version 6.0, the VTK garbage collection method > seems to have been removed. I think that I addressed potential reference > count issues by providing VTK object references that go through the Java > object layer. I tried adding code to delete VTK objects manually through > someVTKObject.Delete() but that didn't seem to help. I ran jvisualvm but > haven't been able to identify what is causing the leak. I am relatively new > to VTK (and jvisualvm), so I wonder if there is a general strategy to > address the memory leak issue, or other potential issues that I should look > for. > Thanks, > Jim > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sha33 at pitt.edu Wed Feb 11 10:51:50 2015 From: sha33 at pitt.edu (shafiqabedin) Date: Wed, 11 Feb 2015 08:51:50 -0700 (MST) Subject: [vtkusers] Remove bridges from reconstructed surface Message-ID: <1423669910895-5730369.post@n5.nabble.com> Hi, I am reconstructing some voxel data. I followed the example on the VTK example site and works fine. However, when there are complex folds in the 2d contour (i.e. two walls of the contour folds are close to each other) it kind of fills the gap (multiple folds in a closed contour becomes shrink wrapped). Is there any way I can restrict the triangulation so it doesn't create the "bridges"? I looked at the class references for vtkVoxelContoursToSurfaceFilter, vtkTriangleFilter, vtkTransformPolyDataFilter (and tried different parameters) but have not been able to create finer surface. I also tried vtkMarchingCubes (vtkDiscreteMarchingCubes) but that creates a very rough surface. Any help would be greatly appreciated. -- View this message in context: http://vtk.1045678.n5.nabble.com/Remove-bridges-from-reconstructed-surface-tp5730369.html Sent from the VTK - Users mailing list archive at Nabble.com. From giriksharma1995 at gmail.com Wed Feb 11 11:36:32 2015 From: giriksharma1995 at gmail.com (Girik Sharma) Date: Wed, 11 Feb 2015 22:06:32 +0530 Subject: [vtkusers] Error LNK2019 while building examples Message-ID: Hey all! I was trying to build the provided examples on windows using cmake with VS2012 as generator.But I am getting the following errors: Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static double __cdecl vtkLine::DistanceToLine(double * const,double * const,double * const,double &,double * const)" (__imp_?DistanceToLine at vtkLine@@SANQAN00AAN0 at Z) referenced in function _main E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static double __cdecl vtkLine::DistanceToLine(double * const,double * const,double * const)" (__imp_?DistanceToLine at vtkLine@@SANQAN00 at Z) referenced in function _main E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine Please help me. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From felfilali at dons.usfca.edu Wed Feb 11 12:37:15 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 11 Feb 2015 09:37:15 -0800 Subject: [vtkusers] VTK error with building examples In-Reply-To: References: Message-ID: It wasn' t checked, no. Should I rebuild with that module checked? Thanks Bill :) Fatima On Wed, Feb 11, 2015 at 5:44 AM, Bill Lorensen wrote: > When you configured vtk, did you turn in the IOInfoVis module? Or any > of the info's modules? > > > On Wed, Feb 11, 2015 at 12:19 AM, Fatima Zahra El Filali > wrote: > > Hello, > > > > I am trying to build vtk with all its examples on my mac > > It looks like there is a missing header file when trying to build the > > examples. > > everything passes and is 'made' (using make) then it starts building the > > examples and fails. > > > > > > Check it out here: > > > > fatal error: 'vtkXMLTreeReader.h' file not found > > > > #include "vtkXMLTreeReader.h" > > > > ^ > > > > 1 error generated. > > > > make[2]: *** > > [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/TreeLayout.cxx.o] Error 1 > > > > make[1]: *** [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/all] Error 2 > > > > make: *** [all] Error 2 > > > > > > Could you please provide some assistance ? > > > > BTW: when I 'cmake' it without the examples, I can 'make' it without > errors, > > but I really need the examples because I am learning vtk for the first > time. > > > > Thanks > > > > > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > > -- > Unpaid intern in BillsBasement at noware dot com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Wed Feb 11 13:28:55 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 11 Feb 2015 13:28:55 -0500 Subject: [vtkusers] VTK error with building examples In-Reply-To: References: Message-ID: Yes On Wed, Feb 11, 2015 at 12:37 PM, Fatima Zahra El Filali wrote: > It wasn' t checked, no. Should I rebuild with that module checked? > Thanks Bill :) > Fatima > > > On Wed, Feb 11, 2015 at 5:44 AM, Bill Lorensen > wrote: >> >> When you configured vtk, did you turn in the IOInfoVis module? Or any >> of the info's modules? >> >> >> On Wed, Feb 11, 2015 at 12:19 AM, Fatima Zahra El Filali >> wrote: >> > Hello, >> > >> > I am trying to build vtk with all its examples on my mac >> > It looks like there is a missing header file when trying to build the >> > examples. >> > everything passes and is 'made' (using make) then it starts building the >> > examples and fails. >> > >> > >> > Check it out here: >> > >> > fatal error: 'vtkXMLTreeReader.h' file not found >> > >> > #include "vtkXMLTreeReader.h" >> > >> > ^ >> > >> > 1 error generated. >> > >> > make[2]: *** >> > [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/TreeLayout.cxx.o] Error >> > 1 >> > >> > make[1]: *** [Examples/Infovis/Cxx/CMakeFiles/TreeLayout.dir/all] Error >> > 2 >> > >> > make: *** [all] Error 2 >> > >> > >> > Could you please provide some assistance ? >> > >> > BTW: when I 'cmake' it without the examples, I can 'make' it without >> > errors, >> > but I really need the examples because I am learning vtk for the first >> > time. >> > >> > Thanks >> > >> > >> > _______________________________________________ >> > 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 >> > >> > Search the list archives at: http://markmail.org/search/?q=vtkusers >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/vtkusers >> > >> >> >> >> -- >> Unpaid intern in BillsBasement at noware dot com > > -- Unpaid intern in BillsBasement at noware dot com From ich_daniel at habmalnefrage.de Wed Feb 11 15:50:07 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Wed, 11 Feb 2015 13:50:07 -0700 (MST) Subject: [vtkusers] texture with artifacts In-Reply-To: <1415213583738-5729383.post@n5.nabble.com> References: <1415213583738-5729383.post@n5.nabble.com> Message-ID: <1423687807055-5730374.post@n5.nabble.com> No hints? Does anyone have also noted this effect? -- View this message in context: http://vtk.1045678.n5.nabble.com/texture-with-artifacts-tp5729383p5730374.html Sent from the VTK - Users mailing list archive at Nabble.com. From felfilali at dons.usfca.edu Wed Feb 11 16:46:23 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 11 Feb 2015 13:46:23 -0800 Subject: [vtkusers] VTK Java help Message-ID: Hello, I was able to install vtk with the Examples but I am having trouble running them. I am very new to vtk but comfortable with Java. Any how-tos you can direct me to? Thanks Fatima -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Feb 11 20:59:14 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 11 Feb 2015 18:59:14 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Depending on your OS, you will have to set a system variable with the path of the directory that contains the VTK library, before launching your application. Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] For more help, you will need to explain more your actions and what was the error. Seb On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Hello, > I was able to install vtk with the Examples but I am having trouble > running them. > I am very new to vtk but comfortable with Java. > Any how-tos you can direct me to? > Thanks > Fatima > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergio.vera at alma3d.com Thu Feb 12 03:10:24 2015 From: sergio.vera at alma3d.com (Sergio Vera) Date: Thu, 12 Feb 2015 09:10:24 +0100 Subject: [vtkusers] Draw contour of segmentation in a vtkImage In-Reply-To: References: Message-ID: Thanks David I've made a few tests and it works perfectly. Indeed much better that my awkward solution.. thanks On Tue, Feb 10, 2015 at 5:55 PM, David Gobbi wrote: > Hi Sergio, > > Here are some methods that can be used: > > 1) Use vtkCutter to convert the polydata into a 2D contour, and then use > vtkTubeFilter to thicken the contour for better visibility. > > 2) Instead of vtkTubeFilter to thicken the contour, you can use > vtkContourTriangulator to fill the contour. > > 3) Render the 3D polydata as a wireframe, so that you can see the image > through the mesh. > > - David > > > > On Tue, Feb 10, 2015 at 9:29 AM, Sergio Vera > wrote: > >> Dear vtk users >> >> I have a vtkImage with a CT and some segmentations as vtkPolyData, >> >> Currently I draw the vtkPolyData on top of the image but the image is >> hidden by the meshes. >> I would like to represent the segmentation as contours in the image. >> >> I have tried to use vtkPolyDataMapper with two slice planes to display >> just a thin portion of the mesh but the result is subpar. >> >> Is there any better way to display my segmentations as (possibly filled >> with a semitransparent color) a contour over the image? >> >> Best regards >> > -- Sergio Vera Alma IT Systems C/ Vilana, 4B, 4? 1? 08022 Barcelona T. (+34) 932 380 592 www.alma3d.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From giriksharma1995 at gmail.com Thu Feb 12 03:45:52 2015 From: giriksharma1995 at gmail.com (Girik Sharma) Date: Thu, 12 Feb 2015 14:15:52 +0530 Subject: [vtkusers] Error LNK2019 while building examples In-Reply-To: References: Message-ID: I am really stuck here! Somebody please come up with a piece of advice. Thanks! On Wed, Feb 11, 2015 at 10:06 PM, Girik Sharma wrote: > Hey all! > I was trying to build the provided examples on windows using cmake with > VS2012 as generator.But I am getting the following errors: > > Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) > public: static double __cdecl vtkLine::DistanceToLine(double * const,double > * const,double * const,double &,double * const)" > (__imp_?DistanceToLine at vtkLine@@SANQAN00AAN0 at Z) referenced in function > _main E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine > > > Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) > public: static double __cdecl vtkLine::DistanceToLine(double * const,double > * const,double * const)" (__imp_?DistanceToLine at vtkLine@@SANQAN00 at Z) > referenced in function _main > E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine > > Please help me. > Thanks. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alejandro88_ at hotmail.com Thu Feb 12 06:53:10 2015 From: alejandro88_ at hotmail.com (=?iso-8859-1?B?QWxlamFuZHJvIFJvZHLtZ3VleiBBZ3VpbGVyYQ==?=) Date: Thu, 12 Feb 2015 12:53:10 +0100 Subject: [vtkusers] VTK volume (3D texture) access from CUDA In-Reply-To: References: Message-ID: Hello everyone, is there any way to access the low level OpenGL objects of VTK in order to modify them from a CUDA kernel using the openGL-CUDA interoperability feature? Specifically, I would want to get the GLuint (or unsigned int) member from vtkOpenGLGPUVolumeRayCastMapper that points to the Opengl 3D Texture object where the dataset is stored, in order to bind it to a CUDA Surface to be able to access and modify its values from a CUDA kernel implemented by me. For further information, the process that I need to follow is explained here: http://rauwendaal.net/2011/12/02/writing-to-3d-opengl-textures-in-cuda-4-1-with-3d-surface-writes/ where the texID object used there (in Steps 1 and 2) is the equivalent to what I want to retrieve from VTK. At a first look at the vtkOpenGLGPUVolumeRayCastMapper functions, I don't find an easy way to do this, rather than maybe creating a vtkGPUVolumeRayCastMapper subclass, but even in that case I am not sure what should I modify exactly, since I guess that some other members depend on the 3D Texture values, and should be also updated after modifying it. So, do you know some way to do this? Lots of thanks. Cheers, Alex. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Feb 12 10:41:04 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Feb 2015 08:41:04 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Hi Fatima, Please keep the mailing list in the loop. Ok so I guess your OS is OS X and not iOS. This link is a bit old and outdated but it should give you some hints on how to setup your Eclipse. http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk So remember to set DYLD_LIBRARY_PATH instead of PATH. You can also download the binaries from our dashboard here: https://open.cdash.org/viewFiles.php?buildid=3689913 Don't forget to unzip the native jar file. On a side note, you will have to use JOGL as a dependency for rendering. You may find some mention on that in the mailing list archive. Seb On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Hello Seb, > I basically installed cmake, used it to generate make files, run make and > make install. My OS is iOS. Ideally I would like to run my code on Eclipse, > but I dont mind vi-ing and running java on command line. > The thing is I don't know where to start at this point. All I want to do > is run some of the examples that came with vtk so that I can learn from > them and write my own. > Thanks so much for your help. > Fatima > > On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Depending on your OS, you will have to set a system variable with the >> path of the directory that contains the VTK library, before launching your >> application. >> >> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >> >> For more help, you will need to explain more your actions and what was >> the error. >> >> Seb >> >> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Hello, >>> I was able to install vtk with the Examples but I am having trouble >>> running them. >>> I am very new to vtk but comfortable with Java. >>> Any how-tos you can direct me to? >>> Thanks >>> Fatima >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From totte at dunescientific.com Thu Feb 12 16:17:04 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Thu, 12 Feb 2015 13:17:04 -0800 Subject: [vtkusers] TrackBallActor and camera movement Message-ID: <54DD1850.6090000@dunescientific.com> Hi, I have a question on how to move the camera while being in TrackBallActor mode. Particularly, I would like the camera to be moved, while in TrackBallActorMode, as if being in TrackBallCamera mode, if and only if the user clicks the mouse without selecting an actor. Would there be an easy way to achieve that? Would it be possible to derive from the interactor styles and then switch between them in corresponding event functions? tk -- ......................... Totte Karlsson, Ph.D. Dune Scientific, LLC 425-296 1980 (office) 425-780 9648 (cell) www.dunescientific.com ......................... From jim at jslengineeringsoftware.com Fri Feb 13 09:36:57 2015 From: jim at jslengineeringsoftware.com (James Labiak) Date: Fri, 13 Feb 2015 09:36:57 -0500 Subject: [vtkusers] VTK Java memory leak In-Reply-To: References: <54872783.4010602@jslengineeringsoftware.com> <54DB6EF6.203@jslengineeringsoftware.com> Message-ID: <54DE0C09.9040402@jslengineeringsoftware.com> Thanks to all for the quick responses. These are great suggestions and are helping a lot to narrow-down the problem. Regards, Jim ------------------------------------------------------- On quick suggestion configure vtk to have VTK_DEBUG_LEAKS on (on the advanced set of cmake options) and rebuild. Then when you exit the program it will tell you what VTK instances have not been entirely dereferences and thus not yet deallocated. That should help narrow it down. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 --------------------------------------------------------- Jim, here is the strategy I've used: 1) make sure you build debug with "VTK_DEBUG_LEAKS" enabled. 2) use google-test or some other framework that will report a test failure if program exits with non-zero code. 3) write tests in increasing complexity until you cause a leak in a unit test; then track it down in whatever class(es) are at fault. For example, below are a simple and medium complexity test; they are exercising a couple of classes that derive from VTK's base classes. Initially, the first test reported a leak; I fixed that vtkSphereWidgetWrapper class. Then, the medium complexity one still failed; this required touching a few files to fix. // simplest TEST(CrashTest,ValgrindMe_vtkSphereWidgetWrapperNoRenderWindow) { for( int outer = 0; outer < 1; outer++ ) { vtkUniquePtr tmp; EXPECT_TRUE(tmp.get()!=nullptr); } } // medium complexity TEST(MemTest,ValgrindMe_vtkSphereWidgetWrapper) { vtkUniquePtr ren; vtkUniquePtr win; ren->SetRenderWindow(win.get()); { vtkUniquePtr tmp; tmp->SetCurrentRenderer(ren.get()); tmp->Modified(); tmp->GetRepresentation()->Modified(); win->Render(); } } _______________________ regards, peter karasev ------------------------------------------------------------------------------ On 2/11/2015 10:31 AM, David E DeMarle wrote: > On quick suggestion configure vtk to have VTK_DEBUG_LEAKS on (on the > advanced set of cmake options) and rebuild. > > Then when you exit the program it will tell you what VTK instances > have not been entirely dereferences and thus not yet deallocated. > > That should help narrow it down. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > -------------------------------------------------------- > On Wed, Feb 11, 2015 at 10:02 AM, James Labiak > > wrote: > > I have a Java GUI application which runs without memory leaks. It > loads a database of simulations and displays 2D graphs for output. > I added VTK code so that I can also display 3D graphs. Now, when I > repeatedly display/cycle through the the same 4 VTK graphs (or > different graphs) many times, the program uses increasing memory > until the computer runs out of RAM and the application fails to > respond. It seems to have a memory leak related to VTK. Memory is > only freed when I then kill the application process. I have > searched for information on this and tried to address various > potential issues without success. In version 6.0, the VTK garbage > collection method seems to have been removed. I think that I > addressed potential reference count issues by providing VTK object > references that go through the Java object layer. I tried adding > code to delete VTK objects manually through someVTKObject.Delete() > but that didn't seem to help. I ran jvisualvm but haven't been > able to identify what is causing the leak. I am relatively new to > VTK (and jvisualvm), so I wonder if there is a general strategy to > address the memory leak issue, or other potential issues that I > should look for. > Thanks, > Jim > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -- James Labiak JSL Engineering and Software 6545 Lainhart Rd. Altamont, NY 12009 Phone: 518-861-1113 Mobile: 231-638-3725 email: jim at jslengineeringsoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matimontg at gmail.com Fri Feb 13 09:46:58 2015 From: matimontg at gmail.com (Matias Montroull) Date: Fri, 13 Feb 2015 11:46:58 -0300 Subject: [vtkusers] CheckerBoard and Windows Level Message-ID: Hi, I'm using ITK to do CT/RM registration of Dicom 3D volumes and I display the individual registered 2D images in a check-board style and I let the user navigate through the slices to visually evaluate the registration. ITK has its own functions to produce such checkboard but the only problem I have is that I need to be able to change the WL/WC independently to efficiently evaluate the results of the registration (visually speaking). I noticed VTK has a checkerboard class (similar to ITK) so I was wondering if there's a way to change WL/WC so that it depending on which one the user selects, it only changes the CT or RM sections in the check-board? Thank you, Matias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Fri Feb 13 10:04:05 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Fri, 13 Feb 2015 08:04:05 -0700 Subject: [vtkusers] CheckerBoard and Windows Level In-Reply-To: References: Message-ID: Hi Matias, Instead of using a filter to make the checkerboard, you can try displaying the images with two separate image actors and then set the "Checkerboard" property for the image that is on top. imageActor->GetProperty()->CheckerboardOn(); - David On Fri, Feb 13, 2015 at 7:46 AM, Matias Montroull wrote: > Hi, > > I'm using ITK to do CT/RM registration of Dicom 3D volumes and I display > the individual registered 2D images in a check-board style and I let the > user navigate through the slices to visually evaluate the registration. ITK > has its own functions to produce such checkboard but the only problem I > have is that I need to be able to change the WL/WC independently to > efficiently evaluate the results of the registration (visually speaking). > > I noticed VTK has a checkerboard class (similar to ITK) so I was wondering > if there's a way to change WL/WC so that it depending on which one the user > selects, it only changes the CT or RM sections in the check-board? > > Thank you, > > Matias. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From totte at dunescientific.com Fri Feb 13 13:34:53 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Fri, 13 Feb 2015 10:34:53 -0800 Subject: [vtkusers] TrackBallActor and camera movement In-Reply-To: <54DD1850.6090000@dunescientific.com> References: <54DD1850.6090000@dunescientific.com> Message-ID: <54DE43CD.40006@dunescientific.com> On 2/12/2015 1:17 PM, Totte Karlsson wrote: > Hi, > I have a question on how to move the camera while being in > TrackBallActor mode. > > Particularly, I would like the camera to be moved, while in > TrackBallActorMode, as if being in TrackBallCamera mode, if and only > if the user clicks the mouse without selecting an actor. > > Would there be an easy way to achieve that? > Would it be possible to derive from the interactor styles and then > switch between them in corresponding event functions? > Found out that achieving the above is possible when deriving from vtkInteractorStyleTrackballCamera and then do picking in the OnMouse event, like in this example http://www.itk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking From matimontg at gmail.com Sat Feb 14 08:29:20 2015 From: matimontg at gmail.com (Matias Montroull) Date: Sat, 14 Feb 2015 10:29:20 -0300 Subject: [vtkusers] CheckerBoard and Windows Level In-Reply-To: References: Message-ID: Thank you David, So, then I can change WL/WC selecting one or another actor right? Thanks, On Fri, Feb 13, 2015 at 12:04 PM, David Gobbi wrote: > Hi Matias, > > Instead of using a filter to make the checkerboard, you can try displaying > the images with two separate image actors and then set the "Checkerboard" > property for the image that is on top. > > imageActor->GetProperty()->CheckerboardOn(); > > - David > > > On Fri, Feb 13, 2015 at 7:46 AM, Matias Montroull > wrote: > >> Hi, >> >> I'm using ITK to do CT/RM registration of Dicom 3D volumes and I display >> the individual registered 2D images in a check-board style and I let the >> user navigate through the slices to visually evaluate the registration. ITK >> has its own functions to produce such checkboard but the only problem I >> have is that I need to be able to change the WL/WC independently to >> efficiently evaluate the results of the registration (visually speaking). >> >> I noticed VTK has a checkerboard class (similar to ITK) so I was >> wondering if there's a way to change WL/WC so that it depending on which >> one the user selects, it only changes the CT or RM sections in the >> check-board? >> >> Thank you, >> >> Matias. >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Sat Feb 14 08:56:55 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Sat, 14 Feb 2015 06:56:55 -0700 Subject: [vtkusers] CheckerBoard and Windows Level In-Reply-To: References: Message-ID: On Sat, Feb 14, 2015 at 6:29 AM, Matias Montroull wrote: > > So, then I can change WL/WC selecting one or another actor right? > Are you using vtkInteractorStyleImage? I think that it always adjusts the WL/WC of whichever image was added to the renderer last. It might be necessary to specialize the vtkInteractorStyleImage in order to make it possible to choose which actor to adjust. - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From matimontg at gmail.com Sat Feb 14 09:36:51 2015 From: matimontg at gmail.com (Matias Montroull) Date: Sat, 14 Feb 2015 11:36:51 -0300 Subject: [vtkusers] CheckerBoard and Windows Level In-Reply-To: References: Message-ID: David, I'm using vtkInteractorStyleSwitch.. Regards, Matias, On Sat, Feb 14, 2015 at 10:56 AM, David Gobbi wrote: > On Sat, Feb 14, 2015 at 6:29 AM, Matias Montroull > wrote: > >> >> So, then I can change WL/WC selecting one or another actor right? >> > > Are you using vtkInteractorStyleImage? I think that it always adjusts > the WL/WC of whichever image was added to the renderer last. It > might be necessary to specialize the vtkInteractorStyleImage in order > to make it possible to choose which actor to adjust. > > - David > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ich_daniel at habmalnefrage.de Sat Feb 14 17:48:32 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Sat, 14 Feb 2015 15:48:32 -0700 (MST) Subject: [vtkusers] vtkColorSeries method .GetColor(int i) not exist in Java Message-ID: <1423954112153-5730396.post@n5.nabble.com> Hi there, how I get the colors of a vtkColorSeries in JAVA? I use: vtkColorSeries colorSeries = new vtkColorSeries(); colorSeries.SetColorScheme(vtkColorSeries_BLUES); for (int i = 0; i < colorSeries.GetNumberOfColors(); i++){ double[] color = colorSeries.GetColor(i); // but the method .GetColor(i) not exist in Java } Any hints? -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkColorSeries-method-GetColor-int-i-not-exist-in-Java-tp5730396.html Sent from the VTK - Users mailing list archive at Nabble.com. From deevankshu096 at gmail.com Mon Feb 16 01:33:53 2015 From: deevankshu096 at gmail.com (DEEVANKSHU GARG) Date: Mon, 16 Feb 2015 12:03:53 +0530 Subject: [vtkusers] Compile Example fails:VTK not found Message-ID: Hey all! I am new to VTK and CMake.I was able to successfully build VTK from cmake.I am now trying to build some examples,the most basic ones like Distance between points and Distance between a line and a point. Every time I configure it using the cmake command,I get the error: CMake Error at /usr/share/cmake-2.8/Modules/FindVTK.cmake:135 (message): VTK not found. Set the VTK_DIR cmake cache entry to the directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of UseVTK.cmake. This is either the root of the build tree or PREFIX/include/vtk for an installation. Call Stack (most recent call first): CMakeLists.txt:6 (find_package) I googled for the error and went across the vtk-users archive where a solution was provided,that was by running ccmake. Then I tried to run ccmake before building the example and changed the VTK_DIR path to the directory containing the VTKConfig.cmake file but it still gives the same error.It's getting really frustrating now. Can somebody please suggest some fix?It would be really appreciated. Thanks and Regards! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Feb 16 16:43:12 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 16 Feb 2015 16:43:12 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready Message-ID: The VTK developement team is happy to announce that VTK 6.2 has entered the release candidate stage! You can find the source, data, and new vtkpython binary packages here: http://www.vtk.org/VTK/resources/software.html#latestcand Please try this version of VTK and report any issues to the list or the bug tracker so that we can try to address them before VTK 6.2.0 final. The official release notes will be available when VTK final is released in the next few weeks. In the meantime here is a preview: -- VTK?s use of the parallelism available in modern architectures continues to mature. To set the stage for this move, we have refactored how pieces and extents are handled in the pipeline. The pipeline used to inject extent translators into the pipeline to obtain structured sub-extents for each requested unstructured piece. This approach had flaws so now the translation responsibility falls to the readers which are best able to make the computation and parallel filters are now responsible for dealing gracefully with unexpected extents. Next we have we have updated to the latest version of the Dax toolkit and begun to lay the groundwork for adopting the vtk-m project as a successor to the Piston, Dax, and EAVL efforts. There have been a series of minor improvements to the SMP framework and vtkSMP filters too as we get ready to adopt them in a large swath of VTK?s algorithms. In related work, note that we have begun to support Xeon Phi (MIC) chips. For information about this please refer to: h ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 . Similarly VTK?s support for the Web continues to advance in this release. VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete and updated examples of using the web launcher to start vtkweb applications. vtkWeb applications now support http-only server/client configurations for situations when websockets are not acceptable. There were also improvements made to VTK to support the creation and use of Cinema and Workbench applications (in-situ deferred visualization) that are described in a SuperComputing 2015 paper ?An Image-based Approach to Extreme Scale In Situ Visualization and Analysis? Wrapped languages have gotten a share of the attention in this release. There have been several fixes for ActiViz.Net which was recently updated from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl examples have finally been upgraded following modularization and note that it is now mandatory to invoke the method Start on the instance of vtkRenderInteractor from Tcl. In Java, vtkPanel?s behavior was changed to better support advanced class loader system like OSGI. VTK?s dashboards now automatically build redistributable packages on Windows, Linux and Mac that will allow us to feed Maven. Python has received the heaviest dose of updates. Wrapped namespaces and enum types are now available in Python. We?ve also made significant improvements to the VTK-numpy integration by introducing a number of Python modules that provide numpy-compatible interfaces to VTK data structures. See http://www.kitware.com/blog/home/post/723 for details. We?ve also introduced vtkPythonAlgorithm, which makes it easier than ever to quickly extend VTK with filters that are written directly in Python. See http://www.kitware.com/blog/home/post/737 for details. VTK?s rendering is making both evolutionary and revolutionary advances in this release. The evolutionary changes include the usual number of incremental improvements. These include such things like advanced color and display controls, "sticky" axes mode for vtkCubeAxesActor, out of range color assignments, and indexed color lookups for vtkStringArrays. There are also a number of text rendering improvements such as better multiline, rotated, and aligned text as well as BackgroundColor and BackgroundOpacity options. The revolutionary changes can be found in the OpenGL2 modules. These are under active development at the moment, and the API will be subject to change in the next release, but early adopters are encouraged to try it out and report their experiences with it on the mailing list. OpenGL2 is a rewrite of VTK?s rendering backend that brings VTK up to date with modern OpenGL programming practices. By replacing antiquated rendering techniques with modern ones, we have increased rendering performance by orders of magnitude in some situations. This work, funded by the NIH VTK Maintenance grant touches both surface and volume rendering techniques. You can read about OpenGL2 at: http://www.kitware.com/source/home/post/144 and http://www.kitware.com/source/home/post/154 Besides the above progress some of the most notable changes in VTK 6.2 include - deprecated InfovisParallel - vtkIOXdmf3, an interface to ARL?s greatly improved interface to HDF5 backed data storage - added a reader and writer for NIfTI files, including the 64-bit NIfTI-2 format - added support for SpaceMouse devices - external rendering support for immersive environments http://kitware.com/blog/home/post/688 - removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS - Rewrote the OS X Cocoa mouse event handling code to make it more robust. We hope you enjoy this release of VTK! As always contact Kitware and the mailing lists for assistance. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Aashish Chaudhary (261): Fixed headlight not working right when using the ext renderer Fixed missing display, window, and context id not being set Fixed splitviewport stereo rendering Added new volume rendering code Fixed texture state being dirty Use correct local bounds Fixed rotation bug Fixed style Fixed geometry beign missing after volume render Fixed indent Silenced cast warnings Fixed style and naming conventions Added copyright Embedded volume shaders into C++ units Fixed broken volume rendering because of uninitialized variable Fixed code document style a bit Added method to validate volume rendering Enable sample distance control Enabled additive and composite blend mode Use depth buffer to terminate ray Fixed incorrect mix geometry and volume rendering Added string replacement code First pass on compositing shader for the rendering Formalizing the grammar for the shader replacement Updated volume code to use new compositing mode Updating shader to be fully programmable Fixed loose ends Using appropriate variable names Rebuild shader if necessary Rename Helper to ShaderComposer as thats best suited Added tests for the new volume mapper Consolidating shading and color accumulation Got maximum intensity working Pass mapper to composer calls as its needed to query volume params Simplified the code a bit Fixed minor calculation bug Got rid of hard-coded maximum number of samples Removed references to vtkgl Separated lookup for clarity Compute and store actual max value Fixed bad gl state at the start of volume rendering Implemented cropping feature Using a better amplitude for the noise texture Use boolean to skip or consider a pixel for rendering Build cropping shader dynamically Condensed preprocessor tags Perform close bounds check Updated tests Got clipping working Passing size and data for clip planes in a single uniform array Implemented clipping via substitution Fixed clipping for multiple clip planes Fixed normals not getting passed correctly Fixed crash on resizing Updated clip test planes to reasonable values Following consistent way of checking for uninitiliazed values Removed hard-coded sample distance Adding minimum intensity blend capability Fixed wrong initial value of the min value Fixed biased not being passed to the shader Some more minor fixes Fixed rendering of short and some other types Added support for double (and other 8 bytes) datatypes Adding alpha blending Fixed issues with additive blending Renaming so that we can replace the old one with the new one Porting new volume mapper to proper vtk Got new mapper working Renamed the new volume module Fixed cropping Some more fixes Removed experimental code on cropping flags Updated lighting parameters Adding gradient opacity Implementing gradient opacity Added gradient opacity table to the mapper Added some more pieces for the gradient opacity Enabled auto-adjust sample distance Fixed style Added new gradient opacity test Added debug code Adding gradient opacity calculation Fixing / cleaing variables that are not required Fixed access from the texture Fixing the scaling of the gradients Fixing long data types volumes Using GLSL version 120 Making gradient opacity optional Removed check for gl error for now Fixed shader issues on MAC Fix white edge showing up Fixed wrong invert matrix being passed Revert "Removed experimental code on cropping flags" Fixed cropping test Fixing gradient vector computation Added support for 4 components Adding support for mask type Fixing shading Adding support for label mask type Fixing issues Restructured the code a bit more to make it flexible Fixed some more issues Fixed lighting issues Clean up some code Improvig code readability VTK style fixes Adding support for parallel projection Got parallel projection working Disabled the gradient opacity test for now Fixed cpp issues Silenced compiler warnings Implemented release graphics method For now set reduction ratio to 1.0 Fixed texture units Fixed wrong bounds used to pass bound values to shader Few style fixes Updated vtk point picker Added support for rendering when clipping by near plane Fixed volume geomety not updated Using smallest possible delta to offset precision issues Fixed release graphics resources Re-added gradient opacity Wrapped long lines Organzied the code bit better Disabled the gradient opacity test for now Fixed failing tests Added missing API to set uniform Updating to use vtk shader API Removed calls to old API Fixed volume not showing up Removed unused files Fixed licensing Removed unused file from cmake Updated to use vtkTextureObject Use vtkTextureObject if set Updated ray cast image display helper to use GL2 Removed unused code Fixed casting to wrong type; copy-paste error Updated headers Fixed test failing by restoring defaults Updated logic for testing for translucency Updated logic to check for external texture object Updated display helper Improved code by removing redundant code Fixed style issues Added more volume tests that are passing now Removed unused header files Set referencee to render window for external texture object Fixed typo Mark as translucent if 1,2 or 4 components With Ken, fixed resources not release issue Added notes, comments Updated volume rendering to use shader cache Added error checks for volume render calls Using render window shader cache Fixed volume tests failing because of shader cache ShaderCache should release its graphics resources Removed unnecessary call and added notes Let shader cache invoke release graphics resources on shader Attempt to fix failing test by removing calls to interactor Added second baseline to fix failing test on some systems Adding support for light kit Passing required parameters to the shaders Handling more lighting cases Fixing headlight Fixed gradient opacity computation Implementing positional light Adding test for testing light kit and fixed shader issues Enabling reduction factor for large volumes Updated so that we can compute the time to draw correctly Updating tests for consistent dashboard results Silenced compiler warnings Updated baseline and test for light kit Removed dead code Fixing lighting computation for lightkit Added convenient method to check for gradient opacity Updated code to use check on availability of gradient opacity Removed dead code Check for two sided lighting Attempt to fix failing tests Added a note on the workaround as well Commented out debug code Renamed for consistency Fixed positional light calculation Fixing positional light bugs Clean up code Compute appropriate matrix for normal transformation Fixed variable not found Fixing variable names Fixed style issues Fixed various lighting and formatting issues Silenced compiler warnings Fixed smart volume mapper crashes because of gradient opacity Fixed smart volume mapper level test Added GDAL based raster reader Fixed various minor issues Added baseline and data for the testing Addressed minor code clean up issues Fixed various cleanup issues Fixed bad sampling issues when dealing with large sample distances Fixed incorrect name used for the test file Update texture with the data Fixed data not showing up Use last texture units for 3D textures Added ability to set depth mode formats Added ability to use texture modes Set texture parameters before creating the texture Adding support for 3D textures Fixed check for depth texture mode Apply scale and bias in the shader Added ability to set texture attributes directly Make sure to release graphics resources Updating volume masks Handle large data type textures Fixing various issues Updated and improved texture object implementation Allow reuse of texture units Removed debug messages Fixing MIP issues Fixing some more issues Fixed memory leaks and release of textures Removed dead code Removed code for depth texture mode as they are deprecated Style fixes Fixed loose ends Removed extra flag to force re-computation of texture format Updated code so that applications will still work in OpenGL2 Fixed when mappers try to reuse the same texture Re-added volume benchmark test Typedef the volume test Updated volume test Tweaked opacity function to force more computation Clean up cmake a bit Adding GPU independent component feature Updated test to highlight mappings Adding support for multiple components in GPU RayCast Remove limiting check for independent components Adding support for multi RGB tables Fixed erroneous logic Updating shader code to support independent components Adding support for independent components for opacity and color function Some more updates to support independent components Fixed composite blend mode Added independent support for min and max projections Pass component weights to the shader Fixed testing Renaming classes for consistency Added support for independent components for gradient opacity Improved the test a bit Reinitialize transfer functions if the property changes Independent component is not supported in OpenGL GPU mapper Fixed MIP independent shader Fixed independent component computing for min intensity projection Fixing volume tests not passing on intel machine Removed unused code and check Do not assume initial min and max values Attempt to fix failing independent component tests GLSL 120 does not support sampler arrays Added missing header Fixed errors found using valgrind leak check Silenced compiler warnings Andrew Bauer (27): Need to check for static targets before adding abi visibility flags. Composite data writers weren't passing down the HeaderType info. Passing missing parallel writer options to piece writers. Fixing overflow issue that appeared with GCC compilers. Fix the way point and cell data arrays are marked for reading. Adding in arctan2 through numpy. Adding the ability to not delete the passed in arrays. Fixed memory leak in test and added in comments for clarification. Adding in a filter to append structured grids together. Adding the ability to merge structured grids for composite data sets. Fixed issue with ghost cells not being deleted properly. Removing temporary file that accidentally got added. Fixed issue of possibly modifying other polydatas. Removing Tcl tests the duplicate existing Python testing. Fixed incorrect cell data output. Making some cell locators more efficient. Giving a warning if trying to create a subcontroller with 0 procs. Temporary fixes for finding ADIOS. Fixing flow paths correct injection time and ability to add extra arrays. Renaming CurrentTime to CurrentTimeValue due to windows mangling issues. Fixing particle paths to have proper SimulationTime output. Adding in SimulationTimeStep output for particle paths. Getting rid of clang analyzer warnings. Skipping the wasteful and unnecessary inverse sin computation. Cosmetic change to be consistent with file codeing convention. Fix parallel flow paths filters. Improving testing of deleting cells from a polydata. Andrew Maclean (13): Remove WindowLevelInterface.tcl and WindowLevelInterface.py Revert Remove WindowLevelInterface.tcl and WindowLevelInterface.py Sphere widget behaves better when scaled down to zero ENH: VTK Parametric surfaces - modernised the code. ENH: Remove the need to manually regenerate the hill data. DOC: Update vtkRandomHills documentation. BUG: Fix by adding a new keyword. ENH: Add option to return an ordinal lookup table. Make the generation of random hills consistent across all platforms. Add a missing header in vtkCompositePolyDataMapper2 ENH: Restore / convert Infovis examples Lots of minor changes for Examples to build with OpenGL2 This fixes the c2039 error in VS2013. Antonio Cervone (1): Fixed the BiQuadraticQuad interpolator Arnaud Gelas (1): Handle properties are not properly set up when starting vtkBoxwidget2 Ben Boeckel (254): STLWriter: Raise an error for non-triangles STLReader: Close the file when an error occurs ExodusIIReader: Add the title to the field data STLReader: Fix error signaling when reading files AVIWriter: Don't overflow the fourcc storage AVIWriter: Fix a comment typo Exodus: Always attach the title to the output fields Rewrite the testing macros Update the Cxx test call sites Update the MPI test call sites Update the Python test call sites Update Tcl test call sites Minor CMake logic simplification Copy Statistics tests to StatisticsGnuR Infovis: Add an include for newer Boost versions ParallelMPI: Add missing return statement Allow arguments to be passed directly to Python Skip adding the executable if no tests are created Allow for overriding the data directory in tests Allow overriding the baseline directory in tests Build the VTK test data directory properly Support custom baselines in tests Store VTK's ExternalData in its source directory Support VTKExternalData_OBJECT_STORES as well Support custom ExternalData targets for tests Support flags to tests common at the module level Support JUST_VALID for Python tests Support Python+MPI testing Use VTK_TEST_OUTPUT_DIR rather than rebuilding the path examples: Fix typo in testing calls ParallelGeometry: Fix Grid symbol scoping testing: Use vtk-example as a fallback for prefix Fix test function signatures testing: Don't look for tests when making an executable FiltersGeometry: Remove unnecessary links Filters/Geometry: Remove some unused functions from tests Filters/Geometry: Hide WriteGrid if ENABLE_IO isn't on testing: add some missing TEST_DEPENDS python: use typedef names python: add reference counting to the object map FindPythonModules: use a function FindPythonModules: search if not found pythoncore: extract python objects from arguments wrapping: add function to check for Python objects wrapping: wrap PyObject* in python code python: accept any argument for PyObject* arguments vtkAlgorithm: fix a typo FiltersPython: create a vtkPythonAlgorithm class python: fix leaks when setting constants in wrappers vtkPythonAlgorithm: support older pythons vtkpython: add site-packages to the path vtkFiltersPython: Disable without Python wrapping wrapping: add variables to exclude from language-specific wrapping vtkFiltersPython: exclude from Java and Tcl wrapping java: get the list of java modules properly testing: append the tests to the given variable pythonalg: use keyword arguments rather than members pythonalg: raise an error in RequestData by default wrapping: remove the ${module}_WRAP_PYTHON variable vtkStructuredImplicitConnectivity: fix msvc warnings typo: fix some typos unused: remove unused functions mpi4py: add module information mpi4py: link to CMAKE_DL_LIBS testing: skip test executables with no tests IOVPIC: include MPI headers as SYSTEM headers cmake: set policy 0053 if available cmake: set policy 0053 in thirdparty cmake mpi4py: add a class to convert communicators wrapping: check for Tcl wrapping exclusion for warnings vtkAMRUtilities: split out vtkParallelAMRUtilities hierarchy: use a .txt extension GenerateExportHeader: support object libraries as well vtk_module: support a KIT argument modules: add modules to "kits" linking: wrap tll() with a module-aware function export: OBJECT libraries may not be exported modules: output kit information in the module tree modules: topo-sort modules with kits as well modules: build kits from the member modules module: depend on the dependent module object library python: add an option to disable vtkpython testing: check for pvtkpython before using it vtkpython: don't install if not enabled vtkAVIWriter: make a more informative error message IO/Geometry: add obj index tests FiltersParallelGeometry: move functions to the sources vtkMPICommunicator: avoid deprecated MPI functions vtkInstantiator: remove instantiator macro from main sources typo: remove duplicate source listing vtkCompositePolyDataMapper2: cache opacity check vtkCompositePolyDataMapper2: include for std::max vtkCompositePolyDataMapper2: avoid a NULL dereference OpenGL: use STATUS for the OSMesa message vtkPStreamTracer: conditionalize functions vtkPTemporalStreamTracer: remove useless code unused: add a macro to mark functions as "unused" vtkChartBox: initialize segmentIndex nit: remove extra semicolon vtkMPI: install so that vtk_mpi_link is available python: install packages properly opengl2: use STATUS for the OSMesa message Maintenance: recognize the KIT keyword in scripts vtkmpi4py: empty out Py_{UN,}BLOCK_THREADS module: add comment to update maintenance scripts too Maintenance: recognize language exclusion keywords warnings: fix narrowing warnings TestSurfacePlot: loop using vtkIdType vtkQuaternionInterpolator: call the constructor properly warnings: remember values with the proper type warnings: use static casts to point out precision loss warnings: use floating point intermediate values warnings: resolve unused variables vtkOpenGLImageMapper: fix unintentional shadowing warnings: fix signed/unsigned comparison warnings vtkOpenGLProperty: remove unused function unused: use the vtkNotUsed macro Q4VTKWidgetPlugin: only define qDebug if not already defined mpi4py: use the output, not the result cmake: remove unnecessary condition copies vtkSmartPyObject: ignore warning C4127 on MSVC mpi4py: use old code with Python 2.6 as well web: support Image from PIL in testing web: print the traceback from errors as well vtkPStreamTracer: remove unused function vtkModuleMacros: use STREQUAL rather than MATCHES cmake: use functions instead of macros cmake: minor style nits vtkPythonAlgorithm: print out all the error information tk: update to support 8.6 vtkEnSightReader: use memmove for overlapping regions vtkFFMPEGWriter: use av_malloc to match the av_free vtkChartXY: check the scene before use otherByteSwap: fix calls for byteswapping netcdf: don't use the cache to set variables in the parent scope HeaderTesting: skip non-vtk* files HeaderTests: only run if VTK_SOURCE_DIR is set vtkChartXYZ: use dummy bounds rather for bounds calculation vtkChartXYZ: don't copy the points out RenderingOpenGL: remove unused file cmake: fix CMP0054 warnings cmake: remove variable dereferences in if statements windows: use the proper format specifier for DWORD windows: put parentheses around mixed && and || operators vtkWin32OpenGLRenderWindow: avoid narrowing warnings vtkWin32Header: support 64-bit properly on non-MSVC vtkWin32Header: always use {Get,Set}WindowLongPtr hdf5: avoid CMP0054 warning vtkPythonPackages: use IN LISTS syntax in foreach vtkPythonPackages: avoid CMP0054 warnings vtkOpenGLTexture: don't check for a mapped window cmake: remove arguments to else and endfoo commands cmake: remove arguments from else and endfoo in alglib cmake: remove arguments from else and endfoo in exodusII cmake: remove arguments from else and endfoo in expat cmake: remove arguments from else and endfoo in freerange cmake: remove arguments from else and endfoo in freetype cmake: remove arguments from else and endfoo in ftgl cmake: remove arguments from else and endfoo in gl2ps cmake: remove arguments from else and endfoo in hdf5 cmake: remove arguments from else and endfoo in jpeg cmake: remove arguments from else and endfoo in libproj4 cmake: remove arguments from else and endfoo in libxml2 cmake: remove arguments from else and endfoo in mpi4py cmake: remove arguments from else and endfoo in netcdf cmake: remove arguments from else and endfoo in oggtheora cmake: remove arguments from else and endfoo in png cmake: remove arguments from else and endfoo in sqlite cmake: remove arguments from else and endfoo in TclTk cmake: remove arguments from else and endfoo in tiff cmake: remove arguments from else and endfoo in verdict cmake: remove arguments from else and endfoo in VPIC cmake: remove arguments from else and endfoo in xdmf2 cmake: remove arguments from else and endfoo in xdmf3 cmake: remove arguments from else and endfoo in zlib cmake: remove arguments to else and endfoo commands cmake: remove @var@ expansions FindTBB: fix up typo'd logic cmake: fix up some version checks zlib: remove empty if statements vtkInformationDataObjectKey: move to CommonDataModel numpy_support: always support [u]int64 numpy_support: raise an error if a type cannot be found Revert "vtkInformationDataObjectKey: move to CommonDataModel" numpy_support: support using dtype array types cmake: use COPYONLY rather than COPY_ONLY vtkWrap: some uses of COPY_ONLY weren't even wrong numpy_support: don't convert array types if possible numpy_support: deep copy for type mismatched array data numpy: test numpy_to_vtk when requesting specific types vtkParticleTracerBase: remove unused function vtkImageCanvasSource2D: add missing newline at eof vtkKdNode, vtkOctreePointLocatorNode: don't assign after a short-circuit vtkPolyhedron: initialize the iterator HyperTree example: use the iterator before invalidating it Widgets example: fix up logic around planeSource vtkYoungsMaterialInterface: plug memory leaks vtkUnstructuredGridGeometryFilter: plug memory leak vtkPKdTree: plug memory leak vtkDistributedDataFilter: plug memory leaks vtkKMeansStatistics: plug memory leak vtkAMRFlashReaderInternal: don't return a pointer to temporary memory vtkExodusIIWriter: use a larger buffer TestIncrementalOctreePointLocator: close file handles vtkCGMWriter: fix typo vtkNIFTIImageReader: plug memory leaks vtkSLCReader: plug memory leak vtkPLY: handle realloc errors properly vtkEnSightWriter: terminate buffers properly vtkImagePlaneWidget: avoid divide-by-zero vtkResliceCursorRepresentation: avoid divide-by-zero vtkParseMain: handle realloc errors properly vtkParseMain: close the input file vtkParsePreprocess: handle realloc errors properly vtkParsePreprocess: fix up some free() logic for params vtkWrapHierarchy: handle realloc errors properly TestIncrementalOctreePointLocator: use malloc vtkParse: regenerate lex.yy.c vtkParse: address cppcheck messages vtkReebGraph: add a comment about realloc usage vtkOpenGLPolyDataMapper2D: comment possible divide-by-zero TestIncrementalOctreePointLocator: remove dead code vtkWin32OpenGLRenderWindow: use size_t for integer storage of pointers vtkWin32OpenGLRenderWindow: wrap assignments in while() in parens hdf5: check for the right policy python: remove echo from custom target FindMPI: search for msmpi as well FindMPI: fix a CMP0054 warning for CMake FindMPI: add in the SDK path FindMPI: support newer MSMPI hdf5: remove conflict markers FindMPI: convert to a safer path representation. vtkDataArrayTemplate: fix support for compilers without explicit instantiation Copyright: bump the year vtkRenderingVolumeOpenGL2: remove copy_shaders target IOXdmf3: remove excess MPI stuff install: install missing module-related files netcdf: support a system netcdf cmake: reformat java compilation commands java: add an option to set the target for java compiles wxVTKRenderWindow: support wxPython 3.0 wrapping: find superclasses that are templates examples: add shebang lines doxygen: remove obsolete options doxygen: add an option to disable CHM files release: add scripts for release maintenance python: don't export Python modules as targets maint: use "git checkout" rather than reset maint: ignore css files for ctags as well metaio: remove stray reject file vtkModuleTop: handle UsrMove-like setups vtkWrap: use size_t for sizes vtkPistonMapper: fix a overload-virtual warning vtkWrapTcl: hide dString when there are no methods Berk Geveci (64): Removed priority based streaming and fast path. Removed unused code from vtkModelMetaData and vtkExodusModel COMP: Fixed compiler error - needed to remove functions from .h. Improved test to increase vtkDistributedDataFilter's coverage. Cleaned up the Exodus metadata. Fixed minor typo - case sensitivity issue. Removed verts from streaklines - lines are enough. Removed unnecessary recursion in pipeline streaming. Filter was modifying self in request. Fixed. Fixed minor typo in documentation. Added test for vtkTableBasedClipDataSet. Added caching to temporal interpolator. Fixed minor bug in the ensight gold reader. Added EnSight tests to increase coverage. Added initial ghost points support to vtkDataSetSurfaceFilter. PERF: Parallel streamline was slow. Fixed. Refactored how pieces and extents are handled. Update the XML readers and writers to work with pipeline changes. Cleaned up and fixed transmit filters for structured data. Fixed bug in send structured data. Fixed legacy parallel reader and writer. BUG: Was using array of wrong size. Fixed compiler warnings. Changed synchronized templates class for new pipeline behavior. Removed unused keys. Updated filters and sources to work with new pipeline logic. Moved key. Cleaned up extent translators. Removed unnecessary reference to extent translator ExtractSelection was not managing pieces corretly. Fixed. Filters should silently handle empty input Fixed multiple issues with resample/probe filters. Fixed contour filters Fixed issues in the group filter. Fixed crash in the empty input test. Fixed vtkXdmfReader for parallel structured data. Parallel Exodus writer was not asking for pieces. Fixed. Added new meta-data and request capability to the pipeline. PERF: Removed unnecessary function call. Added an ensemble source. Added documentation and testing to vtkPythonAlgorithm. Fixed no newline at end of file warnings. Executive was setting update extent initialized falsely. PERF: Removed unnecessary garbage collection. Fixed indentation and style to match VTK's. BUG: Filter was overwriting input scalars. Fixed. Added modules that create a numpy type interface. Certain MPI types were not being recognized by mpi4py. Improved TestNumpyInterface to cover various append implementations. Added sum and mean per block to Python algorithms. Added support for CompositeDataSet.Points. Fixed innaccurate comments. Added a SeedIds array to the output of stream tracer. Added support for specifying split mode. Added VTKPythonAlgorithmBase - base class for Python algorithms. Fixed vtkImageGradient in parallel. Added Python support for making new information keys. Removed mrmpi ThirdParty, which was not used. Fixed quadratic quad and biquadratic quad derivatives. Added a new example demonstrating developing SMP algorithms. Added another SMP example. Fixed bug in vtkExecutive::CopyDefaultInformation. Fixed bug in vtkMaskPoints that caused corrupt output. Improved unstructured grid support in dataset_adapter. Bill Hoffman (2): Fix build with mingw 4.8.2 and qt 5.3.2, bug #14735 Detect win32 or pthread model in a mingw gcc build. Bill Lorensen (39): COMP: Test driver array bounds error BUG0013829: vtkAssembly::GetBounds adds bounds which are uninitialized BUG0014331: Filter skips VTK_CUBIC_LINE COMP: Restore TestTessellator test ENH: Added tests that were removed during modularization COMP: Refactored TestDataObjectIO COMP: test require NO_VALID modifier ENH: Add removed tests COMP: Improve coverage of vtkMeshQuality COMP: Missing NO_VALID ENH: Improve code coverage script BUG: Flawed logic for NO_OUTPUT COMP: Python unittest requies NO_OUTPUT COMP: Performance warning: int to bool COMP: Remove QtInitialization from otherPrint test ENH: Remove ThirdParty code from coverage results COMP: Remove bogus line info from generated files ENH: Unit test for ParametricSpline ENH: Coverage for MultiThreshold. BUG: CreateDefaultLookupTable crashes if Input is NULL. ENH: Add some more coverage for MultiThreshold ENH: Improve code coverage for UnicodeStringArray ENH: Unit test for vtkMath COMP: Adjust tolerances COMP: Guard against infinite loop in vtkClearOpenGLErrors ENH: Provide PlaybackFile for recorded interaction events BUG14463 vtkMy does not work for vtk6 BUG: 0013057: bad xml input to XML Reader's causes exception BUG14527: Subdivision fails for non-manifold data BUG: ImageAccumulate overflows for large images BUG: Some types of files are not closed after processing COMP: A more robust way to check file descriptor leaks ENH: Add support to read tiled tiff images COMP: Add execption for vtkJSONWriter ENH: Restore missing Infovis classes ENH: Unit Test FunctionParser COJMP: More robust fuzzy results checking BUG: Memory leaks detectd by valgrind COMP: Prefix HDF5 cmake messages with HDF5:. Brad King (37): COMP: Drop invalid custom commands from HDF5 COMP: Drop missing dependencies of target 'vtkpython_pyc' vtkhdf5: Remove extra calls to cmake_minimum_required Accelerators/Dax: Remove extra call to cmake_minimum_required Refactor top-level CMake Policy settings as loop Examples: Set required CMake version and policies before project() Set CMake Policies CMP0025 and CMP0042 as necessary Rendering/Volume: Convert new baseline to ExternalData content link Wrapping/Tcl: Fix CMake Policy CMP0050 warnings IO/XML: Remove unnecessary include IO/XML: Add missing include IO/XML: Fix HeaderTest for this module vtkOStreamWrapper: Support std::string Revert "vtkOStreamWrapper: Support std::string" vtkOStreamWrapper: Support std::string Revert "vtkOStreamWrapper: Support std::string" vtkOStreamWrapper: Support std::string Allow custom TestTM3DLightComponents timeout Allow custom TestProp3DFollower timeout Honor VTK_INSTALL_NO_DEVELOPMENT for archive libraries Use vtkMPI.cmake helper for all module MPI tests Set MACOSX_RPATH property default consistently across CMake versions ExternalData: Add backtrace to missing file warning Export the locations of Qt5 packages on which modules depend Allow configuration of external module dependency locations Views/Infovis: Add another baseline for TestConeLayoutStrategy Allow custom Interaction/Widgets test timeouts Fix ExternalData pre-commit hook on msysGit Add option to exclude VTKData target from default build mpi4py: Suppress warnings in third-party code vtkFFMPEGWriter: Fix build with libavcodec55 Exclude classes requiring a QApplication from VTK smoke tests module: fix export macros with kits vtkglew: Install glew header files IO/ADIOS: Exclude module from VTK_BUILD_ALL_MODULES ENH: Use if(DEFINED) to simplify conditions COMP: Include "vtk_glew.h" instead of "GL/glew.h" Burlen Loring (3): surface LIC - stl and NULL vtkweb: buffering issue vtkweb: connect to existing session issue Casey Goodlett (4): Ignore files in project.xcworkspace Fix names of texture and normal arrays in the OBJ reader Fix libpng "Not recognizing known sRGB profile that has been edited" Skip install of .pdb files for hdf5 on windows Chris Harris (27): Add failure filter to session.auth(...) deferred Add error function to vtk:mouseInteraction RPC vtkWeb: Add newline to end of each proxy map entry vtkWeb: Teach launcher.py to wait for ready_line vtkWeb: Add appropriate error codes for launch requests vtkWeb: Don't reset viewer to null on updateViewer(...) vtkWeb: Propagate mouse events to VGL vtkWeb: Fix calls to old VGL API vtkWeb: Rename ogs.vgl => vgl Rename md5 => sceneMD5 to avoid confusion Update canvas size before creating viewer Prevent mouse event handlers be bound multiple times Update VGL to master Update version of VGL Prevent scene and clipping range from being reset Update VGL to lastest version vtkWeb: Refactor fetchObject(..) to use cached objects Add code to clean of VGL actor cache Add missing initialization of member Fix typo introduce by 06aaa805 session => m_session Update to modern CMake style Allow location of OSMesa install to be specified vtkWeb: parseObject now returns an array of actors Export same scalar bar title as is displayed by actor Update VGL version vtkWeb: Use unbuffered file read/write for stdout vtkWeb: Cleanup python processes that timeout on startup Christoph Kolb (1): Add a method to enable multisampling in the QVTKWidget2 Chuck Atkins (22): Initial ADIOS readers and writers Remove leftover debug messages Expose WriteAllTimeSteps as a setable parameter for ADIOS Properly handle WriteAllTimeSteps = false for vtkADIOSWriter vtkIOADIOS: Fix incorrect multi-block multi-step scalar values. vtkIOADIOS: Ensure time values always get written, even if just the step. vtkIOADIOS: Collection of small fixes jsoncpp: Update to use the seperate-file version vtkIOGeometry: Correct typos in older jsoncpp API calls jsoncpp: Fix vs7 build error from missing C99 functions COMP: Suppress warnings on PGI with commonly used patterns COMP: Remove unreachable break; statements following returns BUG: Replace a few previously removed exit conditions BUG 14681: Allow for early exit when no data can be decoded. BUG 14681: Close leftover file handles on exit XMLReader: Prevent streams from being closed when they don't exist. ADIOS: Resize the write buffer to the known required size. ADIOS: Update FindADIOS to match upstream ADIOS: Add an initial polydata write-readback test HDF5: Fix build errors for PGI on Linux ADIOS: Properly handle variable sized data. ADIOS: Fix memory leaks by adding deletes Cory Quammen (34): BUG: Fix build failure in RenderingParallelLIC on Intel compiler Added "sticky" axes mode to vtkCubeAxesActor Fixed linkage problem in Windows Improved comment handling KW00001404: Major overhaul of vtkAppendFilter Fixed memory leak and improper erasing of std::set elements Fixed error in appending cell data Removed unused types and member variables, fixed formatting Rename local functions and embed in anonymous namespace Change clamping range for texture coordinates Turn on edge clamping Fixed errors exposed by changes to clamping of texture coordinates Replaced buggy and redundant implementation of GetRGBPoints() Updated baseline for when test uses alpha blending Improved comments and made some formatting improvements Removed code mistakenly introduced during a merge Updated test baseline Removed unneeded function argument Enabled easier specification of custom test name Re-enabled some tests overlooked by vtk_add_test_* Fixed some file extensions in documentation 6657: Add out-of-range colors to color maps CMake was complained about unknown arguments to find_package BUG: Fixed how the header size is computed BUG 10708: Fix vtkPolyDataMapper2D color mapping Avoid insertion of extra newlines when adding comments BUG: Added missing build of lookup table Handle coloring by field data Enable coloring by indexed lookup for vtkStringArrays Added previous signature back for MapScalars() method Fixed memory errors in newly added tests Fixed test to work on older graphics hardware Added alternative baseline image for TestActor2D Fixed memory leak when RGBPoints are read Dan Lipsa (38): Report an error when writing a file with changing topology. Update documentation. Remove debugging printouts. Name enum LEFT, BOTTOM, ... Location. Add component-wise set functions for Border and Gutter (vtkChartMatrix) Set Bold and Italic axis label properties for ScatterPlotMatrix. vtkMultiProcessStream: Add insert and extract operators for bool Fix Windows compilation warning. Forces the compiler to convert a char* to a string rather than a bool. FIX: Get rid of dependent properties. FIX: Set the hue range for the default lookup table. FIX: NULL data in RequestInformation causes a segfault. Fix compilation after upgrade to hdf5-1.8.13 Build static hdf5 and build on VS 2003 7.1 Fix mingw release build. snprintf from HDF5 conflicts with the one from GMVReader Make hdf5 properties advanced. Add VTK_COLOR_MODE_DIRECT_SCALARS. See vtkScalarsToColors::MapScalars. Fix KdTree::GenerateRepresentation and add test. Add a test for VTK_COLOR_MODE_DIRECT_SCALARS Fix hdf5 library names. Remove lib prefix from windows libraries and mangle additional symbols. Fix hdf5 library names for VTK (and ParaView). FIX: We don't select 2D annotations. Add data_index to Exodus driver FIX: remove warning declaration of ?? shadows a previous local Prefix BUILD_STATIC_EXECS with HDF5 and make it advanced. Add missing numpy functions previously available in ParaView 4.1. Rename data_index to mode_shape in Exodus reader. BUG: Writing an Exodus file in parallel segfaults. Stop all processes if one process stops. Reshape VTKArrays so that they can be combined through operators. BUG: Account for gradient G + mean(G,0) Fix conflicts in cmake files from hd5 upgrade. Accumulate strings printed to console by Python and send them in one piece. Fix style problems. BUG: Buffer output only for RunSimpleString. BUG: Fix mispelled excluded class and print out all exclusions. Dave DeMarle (55): Increment version to VTK 6.2.0 Add a test for the VPIC reader document arguments to test macros move dashboard management scripts into better place fix link errors that happened when I turned on InfovisParallel deprecate this module fix a compilation warning make rubber band look correct on scenes with textures optimize geojson writer more optimization of geojson writer fix variety of dashboard problems Put libxdmf into a namespace so that libxdmf3 can coincide with it. Adapt libxdmf to build within VTK. add cmakescript infrastructure to make libxdmf a VTK module Add a reader and writer for the new xdmf library. Fixes for xdmf3 regression test data. Fix issues the dashboards turned up. Fix more issues the dashboards turned up. Really fix on of the issues the dashboards turned up Fix a regression in the xdmf bump STYLE: improve comments and organize internal classes fix a case of discarded arrays Remove stray debugf. bring back subsets put array reuse in Fix dashboard warnings and test failure. disable a balky test until we can fix it Add file series reading and top level spatial partitioning fill in time varying graphs STYLE: pull helpers out and format all for vtkstyle move strict partition multipiece constuction out to reader level disable oggtheora on cray too Fix problems that the dashboards turned up. remove MetaIO to replace with updated content exclude matlab from the "all" modules set Add render mode in which values are drawn as recoverable 24bit colors. fix a compilation warning Fix test failure Fix test failure Revert "Fix test failure" Revert "Fix test failure" now 000 is reserved as the no value (background) color fix dashboards that lack multisampling make area picker respect prop transformations prevent possibly uninitialized ivar use java install shouldn't delete /usr/bin ! shrink size of xdmf3 written files fix a bug in value painting for cell arrays fix a bug in triangle frustum intersection COMP: fix a valgrind leak in new test update cdash scrapers to use https COMP: fix unused warning edge clipping fallback path needs correct edges COMP: fix macro redefinition comp warning per bug 14586 fix external vtkLocal David C. Lonie (67): Tie vtkUnstructuredGridBase into the dataset type system. Update baseline Handle empty array initialization in numpy_support. Don't reset traversal location in each iteration of box clip filter. Process facestream in vtkExtractUnstructuredGridPiece::RequestData. Handle polyhedra in vtkUnstructuredGridWriter. Disable FP frame buffer when GL_ARG_texture_float is not present. Return early if ProjectedTetrahedra volume rendering is unsupported. Add new baseline for rendering without floating point buffers. Add new baseline for dashlin1. Pass std::strings through the OStreamWrapper. Revert "Pass std::strings through the OStreamWrapper." Return early in TransformPoints if input is NULL. Update system font test baseline. Check if the selection array exists before dereferencing it. Ignore blanked cells in vtkCellDataToPointData. Error if attribute arrays are incorrectly sized in vtkGlyph2D. Remove unused variable. Don't attempt to render NULL strings. Add DebugTextures to FreeTypeTools to show texture background. Use unrotated faces to determine text height metrics. Move templated methods to private visiblity. Style cleanup in vtkTextActor3D. Remove pointer tests for ImageActor in vtkTextActor3D. Strip newlines from GL2PS comments. Always upload test image if a regression test fails. Improve aligned and rotated text. Update tests and baselines. Account for frame width in ScalarBarActor title position. Use Round vs Floor(+.5). Update baselines due to text rendering changes. Fix shadowed variable warning. Cache number of points used in asserts. Simplify and inline much of the logic in vtkStructuredData. Update vtkExtractStructuredGridHelper to remove data descriptions args. Batch copy point data. Add API to copy ranges of tuples efficiently. Copy ranges of points during VOI extraction, if possible. Move InsertTuples implementation to helper class. Fix "uninitialized usage" warnings. Make a clear distinction between extent indices and values. Add helper functions for computing partitioned structured data. Fix bugs in vtkStructuredImplicitConnectivity. Fix vtkPExtractRectilinearGrid extent issues. Fix vtkPExtractVOI extent issues. Fix vtkPExtractStructuredGrid extent issues. Fix a buffer overrun in vtkExtractStructuredGridHelper. Remove redeclared variable. Fix bool -> int conversion. Clamp global VOI to the output whole extent in subset filters. More warning cleanup from nightly dashboards. Rearrange inline methods in vtkStructuredData.h. Move vtkTextActor and vtkTextActor3D into Rendering/Core. Add unary minus (negation) to vtkVectorOperators.h. Fix c/v qualifier on vtkVector::Normalized and Cross methods. Manually mark text buffer images as modified. Add a vtkLabeledContourMapper for producing inline labels on isolines. Added ability to turn label visibility ON/OFF Add vtkTextPropertyCollection. Allow multiple text properties to be used in vtkLabeledContourMapper. Reenable GL2PS MathText tests. Add background color/opacity settings to vtkTextProperty. Use the new background color rendering for the labeled contour test. Fix an error in setting an array length. Fix conic point identification in the path renderer. Fix warning in vtkLabeledContourMapper.cxx Allow the initial GL2PS buffer size to be set. David Cole (14): Add a vtkMath method to compute the angle between two vectors Tests: Re-activate the old TestResliceCursorWidget tests Tests: Add test for the vtkCornerAnnotation class - Follow on commit to use the right style #include ("", not <>) BUG: Add missing header files to enable try_run tests to run without crashing Testing: Call SetMultiSamples(0) from tests Rendering: Use AdjustWindowRect to ensure pixel perfect client size Rendering: Retrieve the full screen size in GetScreenSize Rendering: Use AdjustWindowRect to ensure pixel perfect client size vtkTesting: Refactor RegressionTest, eliminating hard-coded cout vtkTesting: If test fails with back buffer, try front buffer too VRMLImporter: Fix memory leaks and crashes VRMLImporter: Fix crash. Avoid dereferencing NULL pointer (#1624) vtkVRMLImporter: if non-NULL, delete CurrentTransform in destructor David Gobbi (93): 14196: Allow unicode path in vtkLoadPythonTkWidgets.py. In wrappers, guard against #including dirs. Fix cell picker for images with negative spacing. Fix uninitialized array warnings. Fix unreachable code warning in otherCellTypes.cxx. Fix a crash when deleting vtk-python objects. Fix bad SetColor/GetColor interaction in vtkProperty. Fix the extent for tiled tiff files. Two fixes for certain lsm (zeiss) tiff images. Add reader/writer for NIFTIv1 and NIFTIv2 files. Add SetSlabModeToSum() to vtkImageResliceMapper. Clean up vtkMedicalImageProperties PrintSelf. NIFTI makes IOImage module depend on vtkzlib. Fix warning about trailing comma in enum list. Bad null pointer check in vtkBSplineTransform. Fix segfault if vtkImageWeightedSum's inputs don't match. Rewrite the comments for vtkDataArray::GetRange. Add generic PyObject support to vtkPythonOverload. Provide a method to set the sample spacing for slab modes. Add wrap hints for vtkPoints2D and vtkRenderWindow. Reactivate the RenderingImage tests. Replace python mutable with its value in GetValue(). Clean up cocoa input event handling. Interpret OS X Command key as Ctrl instead of Alt. Initialize interactor in Start() if not done yet. Fix illegal extent request in ImageThresholdConnectivity. 14445: Fix vtkImageStencilData IsInside upper bound. 14552: Check python interp and lib versions. 12098: Mangle void_p like other swig pointers. Exit the Cocoa event loop when the window closes. Readability improvements to vtkCocoaGLView event code. 14999: Python Tk widgets fail to load on Tcl 8.6. Remove InstallMessageProc flag from OS X interactors. Reduce code duplication for Start() method. Ensure python header version matches lib version. Remove the deprecated PYTHON_INCLUDE_PATH variable. Fix Initialize() and Start() interactor documentation. Revert "Remove the deprecated PYTHON_INCLUDE_PATH variable." Remove obsolete PYTHON_INCLUDE_PATH from CMakeLists. Do not cache deprecated PYTHON_INCLUDE_PATH. Make streaming optional for the 3D image mappers. 14042: Numerical stability of vtkPolyDataToImageStencil. BlackmanHarris4 fourth coefficient was ignored. Default parameter for Kaiser window is wrong. Fix copy-paste parameter name. Add missing newline to end of file. Fix handling of tolerance in vertical direction. Deprecate the obsolete InsertLine method signature. Add test for LassoStencilSource orientations. Re-enable vtkPolyDataToImageStencil tolerance. Python init config used COPYONLY instead of ONLY. Fix unreachable-code-break warnings. Check whether volume property is null. Before c99, variable decls go before other statements. Before c99, variable decls go before other statements. Before c99, variable decls go before other statements. Before c99, variable decls go before other statements. Refactor vtkWrapPython into smaller source files. Wrap enum constant members for non-vtkObject types. Add an enum type to the python wrappers. Fix two previously undetected wrapper bugs. Wrap namespaces in python. Allow use of all enum types as method parameters. Move VTK_BUILD_SHARED_LIBS check to generated code. Wrap constants more efficiently. Avoid creating duplicate wrapped namespaces. Only wrap namespaces that have useful contents. Update the readme file for new wrapping capabilities. Fix compile warnings for vtkParse.tab.c. Use a wider integer for the parser stack. Fix warnings due to anonymous namespace. Revert "Use a wider integer for the parser stack." Allow enum types to be used as method parameters. Fix "conversion from size_t to int" warning. Remove NULL check on reference. Fix potential vtkUnicodeStringArray instability. Fix warnings due to anonymous namespace. Fix type-punned pointer dereference warning. Fix warning about comma at end of enum list. Fix incorrect index types for loops. NumberOfArrays is int, so use int as counter type. Fix warning for possible uninitialized array access. Fix a bug caused by recent tolerance fixes. Fix error when kernel size is greater than slab thickness. Remove some unecessary casts. Revert "Remove some unecessary casts." Allow absence of i64 suffix when __int64 exists. Increase tolerance for UnitTestParametricSpline. Increase numerical tolerance in UnitTestFunctionParser. A "Set" method in the constructor caused a UMC. Revert last commit to UnitTestFunctionParser.cxx. Make wrappers ignore scoped class definitions. Fix arg conversion of const ref arg via constructor. David Stoup (1): Add multi-layer support to the vgl interface. David Thompson (8): Bug 14713: Read LS-Dyna point coordinates properly. Add a regression test for bug 14713. Small fixes to docs, comments, and formatting. Add support for reading polyhedra. Test reading a polyhedral Exodus dataset. Add test data with multiple polyhedra. Remove MD5 test-data MD5 file. Fix SetAllArrayStatus on the ExodusII reader. D?enan Zuki? (1): VS2013 compile fix Eli Kahn (4): Adding mousewheel support to Java GUI components. Fix java code formatting. Add java file to generated jar file. In java code, handle situation when wheel rotation value is zero. Georg Hammerl (1): Add caching for time steps in EnSightGoldReader binary reader. George Zagaris (18): Disable I/O in TestStructuredAMRGridConnectivity ENH: DuplicateNodes property to RCB partitioners BUGFIX: Fix integer overflow in vtkStructuredData ENH: FieldData deserialization to a subextent ENH: Add blanking to vtkXMLUniformGridAMRReader ENH: Implicit structured data connectivity COMP: Update vtkFiltersParallelMPI tests ENH: Rename nodes to points in vtkStructuredData BUGFIX: Add guards for NULL ivars in PrintSelf BUGFIX: Fix issue with unigrid enzo datasets COMP: Correct ParallelMPI module test dependencies COMP: Remove HyperTreeGridGeometry::UpdateExtent() ENH: Update extract structured data filters ENH: Use vtkImageData in implicit connectivity ENH: RectilinearGrid implicit connectivity support ENH: MPI structured data extraction filters COMP: Fix a few compiler warnings ENH: Added broadcast implementation for RMI triggers HDF Group (1): hdf5-1.8.13-r25462-reduced Hans Johnson (1): DOC: Remove documentation that is not relevant to VTK6 Jacob Becker (1): Fix bad check for incomplete polygons, fix div-by-zero. Jameson Merkow (1): Add files, and made modifications for MatlabMex to wotk in vtk 6 Jean-Christophe Fillion-Robin (8): vtkPythonCommand - Add support for additional call data types vtkPythonCommand - Fix indent and variable names Fix regression ensuring macro VTK_MAKE_INSTANTIATOR3 configure files Fix component names in "vtkhdf5-hl" install rules. Fixes #15282 Fix MacOSX build error related to OpenGL2/vtkOpenGL.h. See #15285 vtkRenderer: Fix null pointer crash in ViewToWorld() with no active camera vtkhdf5: Fix build error when building on system with glic >= 2.19 per bug 14826 make find_package vtk more lenient Jeffrey Baumes (1): Fixing array bounds issue Joachim Pouderoux (40): Introduce Robust PCA. Introduce box plot and the corresponding chart. Introduce Compute Quartiles filter to generate box plots tables. Enhance bag plot API to allow specify line and points properties. Fix bag plot legends. Fix black box plots issue. Fix double to unsigned char cast error on clang compiler. Fix bag plot and functional bag plots tests. Fix and enhance the box plot and chart Fix and enhance bag plots. Fix bug in picking of invisible props in an assembly. Clean an enhance hypertree grids. Fix potential compiler error with ternary operator. Replace a verbose cout by a vtkDebugMacro() Fix clang errors on array initialization Fix and clean vtkWin32OpenGLRenderWindow class. Fix functional bag plot. Clean and uniformize vtkPoints & vtkPoints2D. Fix crash on normal computation when polygon is empty. Fix code formating & style to VTK coding-style rules. Add algorithm header for std::lower_bound function call. Fix non Delaunay internal edges added by RecoverEdge(). Add missing NoBlockSend(vtkIdType) method. Remove compilation warnings on some platforms. Add support for EDGEFLAG attributes in legacy reader & writer. Add a new test for EDGEFLAGS point attributes. Fix vtkHyperOctree copy functions. Disable edgeflag test if Mesa driver is detected. Fix and clean VRML importer code. Make vtkContextScene ButtonPress/ReleaseEvent invoke a button event. Fix a memory leak that occures when Uniform Variables are updated Fix Xdmf3 CMake file to export symbols in DLL. Add functions to get data bounds and number of plotted bars. Fix Xdmf2 writer: array type was not respected. Also save block name. Enhance Xdmf3 writer to save block names. Fix a warning (variable shadows a parameter) Optimize data array range computation functions. Clean and fix STL reader. Small fixes to allow empty cells. Fix EnSight Reader BUG 0015268 Johan Andruejol (1): Refactor parts of vtkLookupTable John Stark (2): Add a test for vtkImageImport / vtkImageExport Fix pipeline update issues in vtkImageExport John Tourtellott (7): Fix memory leak in vtkGDALRasterReader::RequestData() Set geo-origin and -spacing in RequestInformation() call Add vtkGDAL class & MAP_PROJECTION key for pipeline data and field data Change missing geotransform from error to warning. Fix ctest errors Turn off wrapping for vtkGDAL.h Declare vtkGDAL constructor & destructor private, since class is static Jorge Perez (1): Upgrading the Tcl examples wrt. VTK 6.x Julien Finet (11): Prevent error message when deep copying vtkGridTransform Change GetInputConnection error message into a debug warning message Fix vtkAbstractPolygonalHandleRepresentation3D visibility Fix crash in vtkFixedSliceHandleRepresentation3D Add vtkPlot::SelectionPen and vtkPlot::SelectionBrush vtkPlotPoints selections must be sorted Add vtkChart::SELECTION_COLUMNS Add vtkAbstractContextItem::StackAbove and StackUnder Reorder the columns of vtkExtractFunctionBagPlot Apply selection pen opacity when drawing selected points Fix crash when vtkPlotPoints has no Axis Julien Jomier (10): ENH: Fixes for ActiViz.Net BUG: Wrong transformation used to restore original parameters ENH: Added back support for TDx COMP: GLEW_STATIC should be defined with MSVC2010 when building static COMP: Missing type for vtkWindow GetScreenSize() COMP: Q_OS_X11 doesn't exist with Qt4 replacing it back to Q_WS_X11 ENH: Added support for ClampToBorder (as it was in OpenGL) ENH: Added function to initialize volume BUG: AreaPicker doesn't consider position/orientation of assembly BUG: RenderedAreaPicker was not using the PickFromList KWSys Robot (7): KWSys 2014-03-12 (dd873734) KWSys 2014-08-11 (32023afd) KWSys 2014-09-08 (80e852f6) KWSys 2014-09-19 (6aa1f800) KWSys 2014-09-25 (29ffaf43) KWSys 2014-10-31 (88c8cc7f) KWSys 2014-11-12 (5843f590) Ken Martin (308): some rough changes to the VBO polydata mapper some more cleanup added light override compute cam matrix, add posiitonal light in progress updates to support positional lights change how object factory is done some fixes to normals etc added ambient color in some module changes override actor change bunny color changes in normal calcs moved property over and started gutting it fix normals on test minor changes some bug fixes and start on mapper2D allow testing using old mapper bug fix added cxx for Helper duh many updates to 2d mapper bug fix lots of rough changes moved renderer over, moved init code in progress in progress cell scalars some cleanup and fixes lots of changes in progress more fixes fix array bounds issue and memory leak fix performance issue add fast path for float points no col no norm and fix bug started on texture mapping first cut a tmap support add textured backgrounds and fix issue with gradients bug fixes clean up a bit change opacity clean some texture stuff minor fixes fix crash on test fix crash on test add fragment shader lighting of lines support textured luts some cleanup some support for resolving coincident polys ambient color fix some minor fixes start working on image slice mapper add baseine images updated baseline images updated baseline image minor backwards compatability change basic ImageSliceMapper conversion some more fixes moved render window over bug fix in old VTK bunch of optimization more to come bad optimizations and missing classes' doh forgot really key line bug fix and minor cleanup fix a glyph bug and minor cleanup another bug fix better picking support some cleanup move interface closer to old Rendering API convert ImageMapper some bug fixes another valid image, remove unused test fix SetPixelData and fix picking issue add depth peeling make wider so we can see errors some win32 fixes rename VBO mapper cleaned up the mapper a bit minor cleanup minor lighting fix for intel handle wireframe tstrips some bug fixes etc more fixes more fixes add support for edge visibility modify API to be a bit more future proof fix some picking issues some fixes for andriod some fixes for andriod remove some old code some fixes for andriod more andriod glew changes more andriod glew changes many changes to support glew and android many changes to support glew and android many changes to support glew and android first working in quotes android app first working in quotes android app comment out more modukles by default some warning fixes and minor cleanups fix some more warnings fix some more warnings make vtkOpenGLTexture use vtkTextureObject convert depth peeling to use more texture objects a tad more depth peeling cleanup add android output window better debugging out for shader programs clean up some shader code new android interactor and cleanup some shader cleanup some android fixes in progress improved release graphics resources improved release graphics resources minor change to be more compatible with some opengl hardware fix android resize and lingering glew issue added multitouch framework and support on windows and android fix java issue in progress in progress more reasonable first cut at java android clean up some shader code and classes removed unused includes fix some warnings dashboard fixes and debug leak some fixes for macs fix glyph memory leak and issue on intel cleanup reorg and fix some memory leaks minor doc fix fix unit memory issue in progress ios more iOS changes and depth peeling fix some minor cleanups to wrapped classes lighting fix for generated normals remove unimplemented methods fix a number of dashbaord issues fix for lines that are exactly horizontal or vert plus cleanup fix for lines that are exactly horizontal or vert plus cleanup add support for cell normals add support for cell normals fix a bad test minor cleanup to a test forgot to update the python version yank test for a feature we do not plan to support fix an initialization issue with image reslice fix incorrect filename added valid image for line lighting in opengl2 removed broken test form opengl corrected for opengl2 more ios changes some good cleanup ** working ** app and some cleanup fix for iphone test minor fix to cover vtkcompiletools remove some extra files that we do not need make sure modules are really turned off in progress need rebase turn off more modules by default in progress working clean prepping for opengl instancing some minor cleanups really turn shared libs off Fix compile warning in TextureObject update toolchains to ios8 Fix scalar colors using textures Fix image mapper positions Fix the tcl and python cells test Fix otherPrint and TestEmptyInput tests fix for failing mac dashbaords Remove setting of ambient to 1.0 Add support for backface properties use GL_EXT_gpu_shader4 when picking Rename TextureUnitManager to not have the OpenGL Rename texture unit manager to not have OpenGL in it Forgot to uncomment line on prior commit Add support for OpenGL32 instancing in GlyphMapper Had to rebase as master had comflicts fix opengl es issues with glyphing code Try adding support for ARB_instanced_arrays Handle case with no lights on Remove extra call to set the divisor Forgot to add the image hash Replace some valid images lost with the big merge and a pick bug Fix error in glyphing and extend to mac Fix fast path on apple Fix cleanup issue Fix two glyph issues trivial compiler warning fix Forgot a file dangit Exclude freetype form iOS and andriod Remove EdgeFlags test from OpenGL2 Support edge flags. Fix for the 1 0 1 edge flag case. Minor cleanup Another attempt. I think this one should work. Update the ios example to use GLKit View and put most logic in controller temporarily turn of mesa test until Joachim ets a chance to look at it Add in support for clipping planes Add back in the edge test Some suggested changes form Casey and remove user files A first cut at a CompositePolyDataMapper2 Fix compiler warning and increase test threshold Cache camera and actor matrices for performance Remove the unused old code Fix compiler error Fix issue with mesa and gl_FrontFacing make it so that this test works on the old OpenGL backend Fix a MTime check in the matrix cache Fix header test warning Minor fix for glyphing using CurrentInput Fix float to integer comparison in shader code Cleanup some indentation Convert Projected Tetrahedra class to OpenGL2 backend Fix up compiler warning of shadowed variables Fixing ray cast image display helper Fix a few compiler warnings Cleanup a C style cast to keep it real plus a bug fix Fix a compile warning Remove bad transpose of normal matrix Remove some unused headers and code Updated API to force use of vtkShaderCache Remove some extra code that isnt required Get render passes working in OpenGL2 Restore file that was accidentally changed Fix some compiler errors that show up on other compilers Add in depth peeling pass and a couple other passes A number of Parallel and MPI fixes for OpenGL2 Fix use of undefined vector behavior. Fix for out of range memcpy Fix three dashbaord issues Fix clearzpass on opengl ES 2 Fix edge color with composite polydata mapper 2 Added some ifdef needed for OpenGL ES 20 Fix a bad merge Fix RenderingParallel when wrapped and fix a compiler warning Make the old freetype code work with OpenGL2 Minor fix for clearing the zbuffer Add support for imposters for molecular rendering Make it so that fragment shaders can modify vertexVC Fix some OpenGLES compile issues Significantly better performance with EdgeVisibilityOn Add two more valid images Fix failing cursor2D test and some minor cleanup Fix bas valid image size and a couple NULL copies in SLACReader Fix Context2D to clear the current shader before drawing. Fix lighting overdrive on ImagePlaneWidget Camera was caching when shared between multiple renderers Fix unnormalized interpolated normals Update the Composite Mapper to reflect changing in Edge Rendering Fix for shadowed variable warning Fail gracefully if depth peeling is not supported Fix 2d transparent annotation after depth peeling Fix an coordinate issue with CopyToFrameBuffer Minor compiler cleanup make sure glsl extensions are requested at the start of a shader Fixes for wrong case in include file name Fixes for composite poly data mapper2 Make sure scale is included in the normal matrix Make sure molecule mapper works with depth peeling Fix lighting to use Blinn-Phong specular model Reduce the size of the test it was too big for my macbook Add valid image for other systems (not AA etc) Add in support for OpenGL ES 3.0 trivial fix for es 2.0 Fixes so the recent scalar changes compile on OpenGL2 Improve picking support in OpenGL2 Minor compile fix for ES Fix a few issues with parallel passes in VTK remove some leftover debugging code A fix for rendering coincident polygons or lines. Remove old references to vtkOpenGL.h and fix comment Enable IO/Export (minus gl2ps) for OPenGL2 Fix SynchronizedRenderers to work with use OpenGL2 Fix gcc warnings and build error with gl2ps Fix a bad array reference More changes needed to get iceT working and cleanup Fix compiler warning Add valid image due to different z buffer Fix some release graphics resource issues Ifdef out some code for OpenGLES systems Add a point gaussian mapper for cosmology and cleanup Remove test I added from old OpenGL backend Fix up some dashboard issues Minor fix to the picking code Fix floating point issue with chart test Add a timing framework in for testing rendering performance Filename case issue Add another valid image as this test is sensitive to zbuffer Fix a simple compiler warning. Break the UpdateVBO method into smaller pieces. Fix missing virtual destructors Improve the performance of the parametric function source Add a molecule test Uh maybe fixing a cmake issue Cleanup the CMake build a bit Add aother valid image Added another valid image Fix a couple long lines Add virtual destructors again Fix dashbaord compile error and some long lines Add valid image for OpenGL2 Use MCDCMatrix in shaders Use MCDCMatrix in shaders Fix a compiler warning Add two valid images Add a subclass for faster composite dataset mapping Fix compile issues for es2 Expose more methods in opengles3 Fix GLES3 Add support for vtkTextures Transform ivar Fix some dashboard warnings Fix for systems with spaces in the path Fix memory leak in helper class holding input data Fix two compiler warnings Some updates to the timing test Fix molecular rendering in parallel projection Fix an issue with mapper requiring a polydata input Update to a cleaner way of solving the issue Kenneth Moreland (6): Dax marching cubes now uses input array not active scalars. Allow Dax marching cubes and threshold to work with doubles. Change vtkDaxMarchingCubes to vtkDaxContour Add compute scalars to Dax contour filter. Support Dax marching tetrahedra Support passing point field data in Dax threshold filter. Lisandro Dalcin (1): import mpi4py 1.3 Marco Cecchetti (5): vtkColorString - Helper class for defining a color through a string. Merged vtkColorString into vtkNamedColors. I added a RGBAToHTMLColor and made some minor changes. Tentative fix for Windows build issue. Tentative fix for big-endian machine issue. Marcus D. Hanwell (123): Added a test for biquadratic quad interpolation Exclude the vtkgl.* files (generated code) from coverage Make consistent with vtkBiQuadraticQuad Added back the QtSQL test for the database class Removed misleading comment - test is built Added back various rendering tests Added back the named components test in FiltersCore Removed a few remaining Cg related files Refactored the TIFF reader, add support for floats Added progress updates when reading a volume Remove redundant checks for old JPEG compression Copy simple TIFF images into buffers more directly First pass at a new render widget Implement a basic VBO based poly data mapper Basic support for color from property Add the find module for Eigen 3 Added a hack to override OpenGL overrides with GL2 Roughly mapping the colors/scalars, updates to shaders Normalize the colors, and put the light the other side... Added the dragon model (already in external data store) Moved the VBO and IBO creation to helper functions Use the vtkPolyDataNormals filter to calculate normals Added a points/lines test, added point/line rendering Added in a program for lines, change Moved the replace function into the helper header Refactoring a little, movig IBO stuff into structs Added a polyline, and basic support for rendering it Refactor uniforms a little, enable point rendering again Small changes for point size and line width Minor clean up for includes in the mappers Ensure we set the active shaders Removed commented code/classes from the test Added in the case for multiple renders/VBO updates Refactor the shader API to comply with VTK style Refactor API, comply with VTK style Refactor the shader program API to comply with VTK style Added a Vertex Attribute Object (VAO) class Enable textures now that the vtkTexture class doesn't do it Set the z-spacing in a TIFF to match x-spacing Early attempt at getting the 3D glyph mapper working Hackish, map the colors for the glyphs Keep the color mapper around, shallow copy for settings Fixed the normal matrix, now molecules look much better Make it compile on Linux/X again Bring over the Cocoa classes for Mac Intel GLSL compiler is much fussier about type... Removed the vtkFiltersCore dep Removed vtkRenderingOpenGL as a dep now too! Made vtkRenderingOpenGL2 independent of vtkRenderingOpenGL The PainterDeviceAdaptor is abstract, can be NULL Rename vtkOpenGL2* -> vtkOpenGL* Very judicious use of sed, vtkOpenGL2* -> vtkOpenGL* Added a concept of backends, added OpenGL and OpenGL2 File moves necessary to create a context backend Context OpenGL and OpenGL2 backends Some minor tweaks to get the tests passing again Some modules only in groups if correct backend selected Missed these OpenGL2 variants with the mass rename Brought more of the OpenGL module logic over OpenGL and OpenGL2 are mutually exclusive If enabled, always override in OpenGL 2 Unused include for a file that was deleted Disable multitexturing in Geovis class Moving rendering tests to more appropriate places More test moves into more appropriate locations Removed the TDx classes from OpenGL 2 Only enable backends for interface modules being built Disable test for render widget Changed the default CDash URL for VTK Move several TEST_DEPENDS to switch on backend Create object factory CMake file, move vtk_add_override Now generate the object factory files in a function Revert "updated baseline images" Revert "updated baseline image" Some dependency updates now vtkRenderingContext2D is abstract Don't exclude the module from wrapping - initialization Made the label tests pass again! Make TCL wrapping happy - no numbers in module names Added include for std::string Save the rendering backend used to the config file Avoid early termination when collecting actors vtkOpenGLContextActor should subclass vtkContextActor One of the tests needs a context device to render Removed unused variable - used in subclasses These classes are abstract, fix smoke tests Fix for Windows mangling issue Must be marked WRAP_EXCLUDE too for Tcl smoke tests Reduce the number of renders (avoid time outs) Move device adapter initialization to the OpenGL module BUG: Make selections more permanent, linked to object STYLE: Some basic style fixes Removed sorts as the inputs were already sorted Added a test to exercise bar graph selection Remove the wrap exclusion at the module level More exclusions, avoid setting ABSTRACT twice TCL doesn't like numbers in module names Comment out the animated PDB renders CMake's exec_program is deprecated, revert back Added some code to fix Tcl and its use of OpenGL backends Added excludes for OpenGL2 headers Enable the Java rendering test for OpenGL2 too Actually define GLX_GLXEXT_LEGACY to prevent the include Update to the upstream GLEW 1.11.0 release Added logic for OSMesa contexts Add support for OSMesa builds of OpenGL2 Added colored bar charts, along with a test Expand support for the OpenGL2 backend Restore test deps for matplotlib tests Disable some widget tests building for OpenGL2 BUG: Fix bug #14378, ensure observer is removed in dtor Added a non-const form of vtkTesting::AddArguments Trivial fixes for API change in OpenGL2 shaders BUG: Fixed error in passing position of key press Fix compile failures seen with latest FreeType Make the VBO update more selective for picking Convert the file name to a const char* Minor fixes for code style, indentation, use vtkNew Benchmarking triangles, chart that updates Made a benchmark module, moved the benchmark tools Added a --timeout option, default to 1 second Call Write on the delimited text writer Just make the benchmark module depend on volume rendering Use the resolution variable to set the cube size Matt McCormick (1): Reset VTK_MODULES_REQUESTED to all modules with multiple calls. Matthew Woehlke (2): Fix rotation handling in vtkTransformInterpolator. Fix operation order in vtkTransformInterpolator. MetaIO developers (1): MetaIO 2014-07-09 (53aa417f) Nicolas Gallego (1): IntersectWithLine method documentation update Orion Poplawski (1): thirdparty: support defaulting all third party library sources Patric Schmitz (1): Include vtkPythonPackages in Web/JavaScript/CMakeLists.txt Patrick O'Leary (1): added paraviewweb widget for catalyst workbench Paul Edwards (3): Fix for polyhedron cells. Bug fix for dataset surface filter. Fixing how polydata cells are deleted. Robert Maynard (17): Update Dax Accelerator to use the new tll signature. Update the Dax Accelerator to use the new dispatcher classes. Correct warnings about negative unsigned constant values. Properly implement the factory for the dax filters. EnSight Binary uses 64bit longs so explicitly use those instead of long. Netcdf now handles different directories for c and cxx bindings. Improve the performance of vtkDataArray::ComputeScalarRange. Improve the performance of vtkDataArray::ComputeVectorRange. Move all free functions in vtkDataArray into an anonymous namespace. Update ComputeVectorRange based on gerrit feedback. Update DataArray and DataArrayTemplate to use vtkTypeTraits. Correct ComputeScalarRange when dealing with multiple components. Improve ComputeScalarRange when we have a single component. Correct an issue with converting dax data to vtk polydata. Refactor GetRange to compute all ranges at the same time. Correctly detect that we are compiling with MSVC. Enable the output of the number of triangles in the benchmark. Roger Bramon (1): Fix QVTKWidget problem on Windows with Aero off and Qt5 Ronald R?mer (1): bugfix 14459: Iterating through polydata cells incorrectly. Sandeep Menon (1): vtkOBJReader: accept relative indices in OBJ files Sankhesh Jhaveri (119): BUG: Fix failing EnSightBlow5ASCII tests BUG: Turned multisampling OFF for certain tests failing on linux with ATI Fixed multisampling issues for some tests on ATI ENH: Script to generate API differences between two git revisions ENH: Added test for vtkImageCroppingRegionsWidget to improve coverage ENH: Enable selection of translucent geometry BUG: VTK_JAVA_SOURCE_VERSION to accomodate different java versions Re-enabling tests disabled during modularization for Interaction/Widgets BUG: Duplicate class definition in TestSeedWidget2 BUG: Duplicate class definition of vtkSeedCallback2 Additional baseline for TestAreaSelections BUG: Border visibility from underlying vtkScalarBar actor ENH: New RenderingExternal module ENH: Added custom renderer and camera classes for external support Variable renamed to maintain consistent syntax ENH: Cleaned up the ExternalRenderWindow Set light transform matrix irrespective of light type ENH: Added test for vtkRenderingExternal Replace baseline with MD5 sum Fix lighting for the external rendering module ENH: Fetch viewport size for the existing OpenGL context Cleaned debugging code Updated baseline for TestGLUTRenderWindow FIX: vtkRenderingExternal module is OFF by default ENH: Synchronize camera focalpoint ENH: External renderer preserves buffers by default Using the external renderwindow always uses current context ENH: Add ExternalVTKWidget STYLE: Fixed indentation as per VTK style guidelines ENH: Added interactor to ExternalVTKWidget ENH: Compute the window size when initializing from context Moved the eye determination code to Start ENH: Make sure VTK does stereo rendering Use vtkGenericOpenGLRenderWindow Attempt at fixing light issues across multiple screens Renamed module to vtkRenderingVolumeOpenGLNew ENH: Changed dependency from glew to vtkglew FIX: Build error due to misplaced colon and style fixes ENH: Implement PrintSelf STYLE: Fix lines larger than 80 chars FIX: Failing HeaderTest and rename vtkGLSLShader Bring back deleted files FIX: VertexArray issue on APPLE machines ENH: Additional tests for new volume mapper ENH: Added baselines based generated using old volume mapper FIX: Exclude the vtkRenderingOpenGLNew module from BUILD_ALL_MODULES FIX: Use RegressionTestImage instead of InteractorEventLoop FIX: Disable new volume rendering tests for old mapper FIX: Exclude vtkRenderingVolumeOpenGLNew from vtkOpenGL kit FIX: Reset clipping planes FIX: Remove all vtkgl dependencies for vtkRenderingVolumeOpenGLNew Fix unused variable warning ENH: Added new vtkOpenGLGPUVolumeRayCastMapper to VolumeOpenGL2 ENH: Add all GPURayCast tests for OpenGL2 backend Remove unused shader files Fix cmake string issue STYLE: Rename shader variables to maintain consistency ENH: Initial take at SmartVolumeMapper support ENH: Removed all vtkVolumeTextureMapper3D refs from OpenGL2 module Port warning and style fixes from VolumeOpenGL2 ENH: Sorted out python and tcl tests for new volume rendering Make SmartVolumeMapper available for VolumeAMR ENH: Volume Mapper benchmark test FIX: Make sure context is present FIX: Bypass testing if OpenGL extensions not supported STYLE: Ensure change follows VTK style FIX: Python testing was saving foo_1.valid.png style files Removed use of unrequired variable FIX: Disable antialiasing in new gpu volume tests FIX: Nice axis bounds calculation when flipped FIX: Tooltips not showing up when axis inverted. ENH: Tests for inverted axis functionality Test new volume mapper against positional lights BUG: Representation not updating when volume input changed Fix crash when running VolumeUpdate test Test for large sample distance in volume mapper Test against geometry rendering Changed the noise generator amplitude to 0.1 Add baseline for new sample distance test Convert RGB Table to use vtkTextureObject ENH: Ability to load create alpha textures from raw data Minor semantic changes ENH: Use texture object for opacity tables ENH: Use vtkTextureObject for gradient opacity table ENH: Make sure the new API for opacity tables is supported by mapper Initial null value for pointer ENH: Convert noise and depth textures to use texture object Initial work to reformat the window level test Started working on gradient opacity test for new mapper Added new gradient opacity test Test the new mapper for gradient opacity support BUG: Fix an issue in the shader code that supports gradient opacity Pre-compute gradient function to reduce computation overhead Replaced old window level test for a better one Check if extensions are supported for the new window level test Turn off auto adjust sample distances Set parameters before activating texture Free the texture object memory at destruction time Safety checks before deleting objects Safeguard against bad memory access Bring back the smart volume mapper window level test ENH: Use generic render window to support multiple platforms Fix GLUT API include header for Mac OSX and Windows Maintain consistent style across classes Baseline for SmartVolumeMapper window level test Additional baseline for failing test Prevent releasing graphics resources on the same memory twice Removed unwanted commented out code If check against bad memory access Support multiple renderers in the ExternalVTKWidget Fix segfault due to invalid pointer address Fix viewport size change when renderwindow resizes Removed redundant commented out code Exclude vtkRenderingExternal from BUILD_ALL_MODULES Improved style and documentation Deleted unrequired commented debug code GLUT test as an example for ExternalVTKWidget use Disable vtkRenderingExternal module for OpenGL2 backend Remove debugging code Scott Wittenburg (20): Added code to draw current selection rectangle in viewport. Added code to support a cache option for filebrowser widget. Added canvas based image zooming and panning capabilities. Fixed a null reference by surrounding the call with a check. Support faster configuration times by checking dependencies at runtime. Changed to make tests run serially, async nature was causing collisions. Replace an import which disappeared and broke all dashboard web tests. Updating to Autobahn python version 0.8.13 to get http long poll endpoints. Added latest Autobahn JS (0.9.4) to support pvweb authentication. Properly override ApplicationSession c-tor, supports Crossbar.io. This should fix problems with paraviewweb and python 2.6. Added alternate jQuery catalyst view constructor. Added an rpc method to exit after a delay instead of immediately. Update vtkweb loader to support addition of scalar opacity widget. Use "-dr" in lauch examples to encourage disabling registry for pvweb. In the vtkweb loader, add css specific to the proxy editor widget. Changes to viewports supporting capturing screenshots for pvweb. Support vtkweb and pvweb servers using http only (no websockets). Added missing import which broke http-only servers not serving content. Updating launcher to include a complete set of example profiles. Sean McBride (141): bug #14418: Remove addition of "-Wno-deprecated" compiler flag Fix clang analyzer warning about passing null to strcmp Fixed clang analyzer warning about passing null to memcpy Fixed clang analyzer warning about reading uninitialized memory Fixed clang analyzer waring about a dead store. Fixed clang analyzer warning about dead store Fixed clang analyzer warning about dead store. Fixed clang analyzer warning about dead store. Fixed clang analyzer warning about dead store. Fixed clang analyzer warning about dead store. Fixed clang analyzer warning about 2 dead stores. Fixed clang analyzer warning about dead store. Fixed clang analyzer warning about reading past an array. Fixed several clang analyzer warnings. Fixed clang analyzer warning about reading uninitialized memory. Fixed clang analyzer warning about dead store to 'pd'. Fixed clang analyzer warning about passing null to memcpy. Fixed clang analyzer warning about dead store to 'index'. Fixed clang analyzer warning about dead store to 'bestTime'. Workaround clang analyzer warning by creating temp variable. Fixed clang analyzer warnings about dead stores. Misc cleanup of code nearby clang analyzer warnings. Fixed clang analyzer warnings about dead stores. Fixed clang analyzer warning about dead store at very end of method. Fixed clang analyzer warning about dead store to 'itr'. Fixed clang analyzer warning about dead store to 'cptr'. Fixed null deref found by clang analyzer Fixed clang analyzer warnings about dereferences Suppress clang analyzer warning Fixed clang analyzer warning about null deref Fixed clang analyzer warning about reading uninitialized data. Fixed infinite recursion in vtkBitArray::RemoveFirstTuple() Improved code coverage of vtkScalarsToColors by adding more tests Added tests for a few uncovered vtkMatrix3x3 methods Fixed error in vtkFiltersCoreCxx-TestClipPolyData test Added comments about the danger of not clamping. Removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS Various Cocoa improvements and fixes Fixed a bunch of clang -Wabsolute-value warnings Removed all uses of deprecated NSOpenGLPFACompliant Assume UTF8 for vtkCarbonRenderWindow::SetWindowName Remove unnessary 'if' before 'delete[]' Add #error when trying to build as Cocoa ARC Fixed confusing indentation, no behaviour change Fixed unused variable warning in release Rewrote vtkCoreGraphicsGPUInfoList to not use deprecated API Removed checks for antique Borland versions Changed public API of vtkGPUInfo to return vtkTypeUInt64 for memory sizes. Fix clang warning about comparision that's always true. Added TODOs to indicate source of TestQuadricLODActor failure Change #include style from <> to "" for some vtk files Changed #include to replaced #include with replaced most with includes changed some to changed some to Fix gcc warning about possible use of uninitialized variable Added check for null before dereference, for bug #14671 cleanup all uses of fclose() in vtkSTLReader, for bug #14515 Removed dead code in test by using #if 0 Moved unused var suppression to suppressed dead code warning Removed unneeded break statements in switches Fixed inconsistent #include style, from <> to "" Fixed inconsistent #include style, changed <> to "" Fixed SimpleCocoaVTK Xcode project to build properly. Fixed bug #14266: fix observation of NSView size change Fixed unused const var warning Fixed a backwards ?if? test, and memory leak Eliminated unneeded null checks before using delete/free Fixed indentation level Fixed ?null deref? warning Simplified memory deallocation Removed useless assignment Fixed warning about using null with memcpy Removed useless assignments Misc cleanup and refactoring Bail early on null parameter Sync up Cocoa code between OpenGL and OpenGL2 Added partial/initial support for Cocoa ARC memory management Remove dead store to fix warning. Added some consts in a few places Put initial assignment at declaration Fixed analyzer warning by removing null check Fixed analyzer warning about possible null deref Fixed a few dead store warnings Fixed dead store warning by removing redundant 'break' Fixed dead store warning by reformulating loop Fixed null dereference Fixed false positive warning about null deref Fixed null dereference Fixed obvious null dereferences Hopefully supress dashboard compiler warning in QT header Fixed use of memory after its deallocation Fixed incorrect indentation Prevent null deref of ?null? Prevent null deref of ?composite? fn pointer Init memory to prevent it being used uninitialized Removed dead store to ?j? Removed dead stores Suppress numerous warnings about using uninitialized memory Remove a likely dead store Prevent null dereferences Fixed null deref and whitespace/indentation Fixed obvious dead stores Fixed null deref by returning upon error Fixed memory leaks and malloc(0) Removed minor dead stores, to fix warnings Refactor to make intent clear to clang analyzer Fixed warning about possible null deref Fix clang analyzer warning by adding temp variable Fixed warning about using ?volBounds? uninitialized Only react to NSView frame changes if VTK itself created the NSView Suppress clang analyzer warning Suppress warning about dead store Suppress warning about ?x? used uninitialized Move warning check to prevent ?fd? null deref Return after warning to prevent ?dsa? null deref Simplify and exit quickly if input point ids empty Another try to suppress warnings from Qt headers Advance null check to before cast Fix possible null deref of ?dsa? Added vtkErrorMacro to code paths that give null ptrs Removed harmless-looking dead code Another attempt to silence warning from Qt header Fixed -Wstring-conversion warnings Whitespace/spelling Fix warning about use-after-free Fix possible null deref warnings Made some copy-pasted code more self-similar Fixed types of some copy-pasted code Move some declarations closer to use. Removed useless null check Return early to avoid null to strcmp() Removed dubious #undef of keywords Refactoring and cleanup of Cocoa NSWindow and NSView observations Remove double underscore in header guards (.txx & __vtk*_txx form) Remove double underscore in header guards (.in & __vtk*_h form) Remove double underscore in header guards (__vtk*_cxx form) Manual tweak of .hxx include guard naming Remove double underscore in header guards (.h & __vtk*_h form) Manual search and cleanup of "__vtk" Sebastien Jourdain (60): Add catalyst web widget into VTK Add NaN support in web chart rendering Add a resampling filter Add JSON writer for ImageData Extend vtkImageMapToColors to support Mask color and Non Active Scalar input Use / for path separator to prevent Windows related issue with escape char Improve implementation of Catalyst viewer Add image resampler catalyst web widget Remove test dependency to data when not needed Remove usage of the keyword with to allow old python Add new set of catalyst web widgets Attempt to handle some system raise condition Add catalyst web composite widget Better composite catalyst web widget better UI for catalyst re-sampler web widget Various VTK-web improvement Fix vtkweb catalyst css Add cost information in workbench analysis Improve web compositing for dynamic interaction Properly handle background selector visibility Fix composite rendering widget for search Add sorting capabilities Refresh workbench UI and workflow Fix Composite Javascript for WebKit Improve ParaView cinema UI Improve basic search in web-catalyst Fix catalyst web - cost time computation Improve catalyst web UI Catalyst web: Minor Web UI change Catalyst-web: Improve composite search experience Add image width column Add cost estimate for Catalyst Web Catalyst-Web estimate UI fix Change catalyst-web analysis API to expect full URL Fix center of rotation for WebGL renderer Fix WebGL background orientation Fix basic catalyst viewer with theta Add runtime libraries on Windows for Java binary package Fix several catalyst web UI issue Add configuration pass to Catalyst PVW workflow Add support for mobile device interaction Catalyst Web - Composite improvement Catalyst web Add new rendering class API based on vtkPanel class Remove @Override annotation to prevent compilation issue on old Java compiler Upgrade autobahn version to 0.8.9 Upgrade Twisted version to 14.0.0 Upgrade ZopeInterface version to 4.1.1 Add SixPython module for Autobahn dependency Update Autobahn/JS library version Update VTK Web Python code to handle WAMP v2 Update Web applications to support new protocol API Fix python for vtkweb Allow arbitrary WebSocket endpoint Add bottstrap3 + pv lib in loader Fix import with latest Autobahn update Add missing call to properly handle webgl rendering Remove loading of native lib from vtk classes Add Get/SetTuple6 methods Add additional information for Java package build Shawn Waldon (20): Add a smartpointer for PyObjects Format comments according to VTK stlye guide Fix the vtkPolyPlane implicit function Change vtkProbeFilter to expose the 'in' threshold Move static data in vtkVRMLImporter to local struct Assume block request produced what was requested Add a documentation module that contains information keys Add block amount of detail information key Block opacity and color are now more independent Add a baseline for block opacity with no depth peeling Adding a key to indicate the current process has the block Legacy reader/writers for composite data now save field data Added comment on required invocation order Prefer vtkDoubleArray::GetValue to GetTuple for single component arrays Made vtkGaussianSplatter handle composite data input Made sure composite data iterators were deleted properly Made vtkPointGaussianMapper handle NULL arrays Add an option to set default radius of point gaussian Fix triangle size for sprites with radius > 1 Made Point Gaussian mapper handle scale arrays not in dataset Shinya Onogi (1): fix_GPU_resource_handling Sujin Philip (6): Fix for buffer overflow in vtkCubeAxesActor class Toolchain files for MICs on stampede Fix compile warnings in SMP under Windows Additions to SMP API Fix SMP examples warnings VTK SMP implementation of SynchronizedTemplates3D Thomas Vaughan (1): Set origin and spacing in vtkSurfaceReconstructionFilter. Ref: Mantis 0002826. Tim Thirion (14): Prefer xcrun when querying for iOS-related SDK elements Add CMake option to select OpenGL ES 2.0 or 3.0 Add x86_64 to list of archs for iOS simulator Surfaces example ported to iOS Add CMake script to allow user to `make framework` for iOS Remove shell script for creating VTK framework; update iOS readme Update CMakeLists for iOS examples Create iOS framework in one pass through CMake config Clean up iOS build script Make vtkVersion available sooner in CMakeLists.txt iOS build: check install directories before any compilation iOS build: pass OpenGL ES version string to child builds Update Android toolchain file (now support NDKs r5 through r10d) Add one-pass Android build Tristan Coulange (5): BUG: fix some xdmf writer crashes BUG: Add a missing include for VS 2013 Add support for original ids for generic dataset BUG: fix xdmf test failure BUG: Fix the quads evaluate location Utkarsh Ayachit (56): Adding a new test for TestSocketCommunicator. Added test to test vtkSynchronizedRenderers. Deprecate vtkOpenGLPolyDataMapper. Fix segfault with TestSetGet. Fix build issues with deprecated vtkOpenGLPolyDataMapper. Add a delay between process launches. Fixed mismatches cell arrays in vtkPStreamTracer. Added ability to probe filter to allow disabling of passing field data. Add support for empty strinngs in SetInputArrayToProcess. Make it possible to override ClampPos. Remove OpenGL error checks that were causing errors. BUG #14244: Fix stereo image captures. Add helper method to convert from SelectionField to AttributeType. Fix appending of scalar arrays. Fix DataSet reference in when input array is passed to output. Avoid exceptions on StringArrays. Fixed exceptions with older numpy version. Cleanup MPI controller properly. vtkExtractSelectedRows only works with IdTypeArray. BUG #14828: Keep surface color from interacting with scalar color. Handle append scalar in CompositeDataSetAttributes. BUG: Fixed opacity mapping when scalar array is vtkUnsignedChar. BUG #14813: Fix range reported for mode shapes. BUG #14599: Handle double values properly. Fix issue with empty arrays with numpy 1.2.1. Don't glyph masked points in vtkUniformGrid. BUG: Fix invalid return value check in vtkClientSocket. vtkScalarBarRepresentation doesn't call Superclass. Fixed logic to work when an empty vtkSelection is passed. Fix handling of empty selection on ParallelCoordinates. Fixed issue with selection frame line style. Refactoring CMake code for Python modules. BUG #14971. Fix invalid sprintf() in vtkPNGWriter. Add missing include. Needed for std::max/min. Handle case when make_vector is called with NumPy arrays. Make vtkScalarsToColorsPainter respect ScalarMaterialMode. Update TestScalarMaterialMode test image size. BUG #14779. Fixes for vtkDistancePolyDataFilter. BUG 14693: Fixed vtkAssignAttribute for unnamed arrays. BUG #12753: Fixed support for large images. BUG #11607: Fixed support for large images. Add support for vtkTable to vtkExtractSelectedThresholds. Fixed warnings with shadowed variables. BUG #15046, BUG #15020: Fix issues with OpenGL 1.2. BUG #15058: Fixes unclipped grid. BUG #14809: Use title size when placing title in vtkChartXY. vtkPlotGrid draws grid even when axis is invisible. BUG #15132: Fix incorrect flag check. Disable OpenGL error checks in release builds. Adding alternate baseline for TestLinePlotAxisFonts. Change invalid extent error to a debug message. Fixed typo in commit 031f7f6371. Fix inverted ifdef NDEBUG in commit f1a90fd2. Forward InteractionEvent to Interactor. Miscellaneous vtkContextInteractorStyle fixes. Fix missing headers. Will Schroeder (13): Disabling translation and scaling now works. Added the ability to specify a clip tolerance. Fixed bug causing plane to disappear on boundary. InsertNextCell and related method now return the proper vtkIdType. Create vtkPolyData instead of vtkUnstructuredGrid when passing points. Extended filter to support culling unused points. Added ability to control alpha shape output Added hints for vtkBox.GetBounds() Updated documentation Select internal tetra tessellation based on scalar change New data file for QuadraticTetra Alternative test image Progress reporting was broken XDMF Developers (3): export xdmf for import into vtk export xdmf for import into vtk export xdmf for import into vtk Xabi Riobe (1): BUG: The method vtkClipPlanesPainter::UpdateBounds must not be implemented. Zack Galbreath (25): fix lingering off-by-one error new writer: vtkPhyloXMLTreeWriter attempt to silence "possible loss of data" warning improve the thoroughness of TestPhyloXMLTreeWriter add baseline directory get the baseline file's path from the command line add option to write XML to string instead of file fix failing tests revealed by gerrit fix the format of PhyloXML references fix blank newline in XML output vtkXMLReader can now read from an input string new class: vtkPhyloXMLTreeReader consolidate tests for PhyloXML silence unused parameter warning change signatures for wrapping copy row names from R to vtkTable do not assume 1st column holds row names fix failing SetGet test forvtkHeatmapItem preserve R data.frame row names break vtkRCalculatorFilter's input/output symmetry style cleanup add SSL support to VTKWeb server fix potential segmentation fault change the way we shut down the R interface fix failing R tests reported by CDash xabi riobe (4): Fix memory leak in vtkPNGWriter when OutOfDiskSpaceError Initialize row_pointers Fix numerical precision problem in vtkCellLocator::IntersectWithLine Add default value for argument From sharmaatul11 at gmail.com Mon Feb 16 20:56:01 2015 From: sharmaatul11 at gmail.com (Atul Kumar) Date: Tue, 17 Feb 2015 09:56:01 +0800 Subject: [vtkusers] vtkusers Digest, Vol 130, Issue 14 In-Reply-To: References: Message-ID: you need to set path of the VTK_DIR (in the CMake gui) to the directory where you have build your VTK. or you add that directory to your computer path. On Tue, Feb 17, 2015 at 1:00 AM, wrote: > Send vtkusers mailing list submissions to > vtkusers at vtk.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://public.kitware.com/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. Compile Example fails:VTK not found (DEEVANKSHU GARG) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 16 Feb 2015 12:03:53 +0530 > From: DEEVANKSHU GARG > To: vtkusers at vtk.org > Subject: [vtkusers] Compile Example fails:VTK not found > Message-ID: > CQw_U17ph_EOhw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hey all! > I am new to VTK and CMake.I was able to successfully build VTK from cmake.I > am now trying to build some examples,the most basic ones like Distance > between points and Distance between a line and a point. > > Every time I configure it using the cmake command,I get the error: > > CMake Error at /usr/share/cmake-2.8/Modules/FindVTK.cmake:135 (message): > VTK not found. Set the VTK_DIR cmake cache entry to the directory > containing VTKConfig.cmake. This is either the root of the build tree, > or > PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of > UseVTK.cmake. This is either the root of the build tree or > PREFIX/include/vtk for an installation. > Call Stack (most recent call first): > CMakeLists.txt:6 (find_package) > > I googled for the error and went across the vtk-users archive where a > solution was provided,that was by running ccmake. > Then I tried to run ccmake before building the example and changed the > VTK_DIR path to the directory containing the VTKConfig.cmake file but it > still gives the same error.It's getting really frustrating now. > > Can somebody please suggest some fix?It would be really appreciated. > > Thanks and Regards! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://public.kitware.com/pipermail/vtkusers/attachments/20150216/21605e59/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > ------------------------------ > > End of vtkusers Digest, Vol 130, Issue 14 > ***************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruggiero.guida at gmail.com Tue Feb 17 01:25:26 2015 From: ruggiero.guida at gmail.com (Ruggiero Guida) Date: Tue, 17 Feb 2015 10:25:26 +0400 Subject: [vtkusers] Add scalars to vtk file (vtk 3.0 legacy) in Python Message-ID: Hi Sorry for the crossposting. I have posted this message also on http://vtk.1045678.n5.nabble.com/ but it says that it has been rejected. I am trying to add a calculated scalar to an existing VTK file. A simplified version of my code is the following import vtk import os import numpy as np reader = vtk.vtkDataSetReader() reader.SetFileName(vtk_file_name) reader.ReadAllScalarsOn() reader.Update() data = reader.GetOutput() #This contains all data from the VTK cell_data = data.GetCellData() #This contains just the cells data scalar_data1 = cell_data.GetArray('scalar1') scalar_data2 = cell_data.GetArray('scalar2') scalar1 = np.array([scalar_data1.GetValue(i) for i in range(data.GetNumberOfCells())]) scalar2 = np.array([scalar_data2.GetValue(i) for i in range(data.GetNumberOfCells())]) scalar3 = scalar1 - scalar2 writer = vtk.vtkDataSetWriter() At this point I assume that I need to add a vtkArray to data by using data.SetCell The problem is that SetCell asks for a vtkCellArray and I have not managed yet to convert my array scalar3 to a vtkCellArray. Is this the right approach? Any suggestion? Thanks a lot!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From muhammad.omer at ucalgary.ca Tue Feb 17 01:06:31 2015 From: muhammad.omer at ucalgary.ca (Muhammad Omer) Date: Tue, 17 Feb 2015 06:06:31 +0000 Subject: [vtkusers] How to instantiate an array of image mapper class in python Message-ID: Hello, I have been trying to search a way to instantiate an array of class in python. I was able to find the way to do it in c++, but couldn't find its equivalent in python. I would appreciate if someone may help me in finding the python equivalent of following class array definition in c++: vtkImageMapper *imap[nTiles*nTiles] I want to use the array of image mapper class to display a grid of 2D bmp slices where the grid dimension is equal to nTiles*nTiles. Thanks, Omer -------------- next part -------------- An HTML attachment was scrubbed... URL: From elguevara at uci.cu Mon Feb 16 16:59:58 2015 From: elguevara at uci.cu (Ernesto) Date: Mon, 16 Feb 2015 21:59:58 +0000 (UTC) Subject: [vtkusers] Problem with volume rendering inside of Qt application References: Message-ID: Jakub ??gwa gmail.com> writes: > > Hello, > I have a strange problem with showing VTK volume in QVTKWidget. I can compile example such as as: > http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand > it work fine. But when I want to use exactly the same code in my sample > Qt application (let's say - render only after user press a button) > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead > of the one from example). I have this problem only when I want to use > vtkVolume and than add the volume to renderer with AddVolume. If I make > other 3D visualisation for example with vtkContourFilter and than I add > it to renderer with AddActor method - everything works fine. > I was trying to solve this problem for a couple of days but I found > some things that I can't understand in any way. If I take, for example, > Medical4.cxx file and add there > #include ? > and than Hello Jakub I have the same problem with QVTKWidget and can't find a solution I've been stopped for 4 days. I need to know whether you managed to solve this problem and how did you solved it. Thanks in advance. Ernesto From aashish.chaudhary at kitware.com Tue Feb 17 08:57:26 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 17 Feb 2015 08:57:26 -0500 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: References: Message-ID: If you are using older version of volume mapper (OpenGL backend) then it is possible that when using QT window, it's not finding the extensions its needed. Is it possible for you to try the OpenGL2 backend? Also, Do you see any error message on the console? Thanks, On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: > Jakub ??gwa gmail.com> writes: > > > > > Hello, > > I have a strange problem with showing VTK volume in QVTKWidget. I can > compile example such as as: > > > http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand > > > > it work fine. But when I want to use exactly the same code in my sample > > Qt application (let's say - render only after user press a button) > > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead > > of the one from example). I have this problem only when I want to use > > vtkVolume and than add the volume to renderer with AddVolume. If I make > > other 3D visualisation for example with vtkContourFilter and than I add > > it to renderer with AddActor method - everything works fine. > > I was trying to solve this problem for a couple of days but I found > > some things that I can't understand in any way. If I take, for example, > > Medical4.cxx file and add there > > #include > > and than > > > Hello Jakub I have the same problem with QVTKWidget and can't find a > solution I've been stopped for 4 days. I need to know whether you managed > to > solve this problem and how did you solved it. > > Thanks in advance. > Ernesto > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrea.bram at gmail.com Tue Feb 17 09:11:27 2015 From: andrea.bram at gmail.com (Andrea Brambilla) Date: Tue, 17 Feb 2015 15:11:27 +0100 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: References: Message-ID: I had a similar issue with QVTKWidget some time ago, which was due to OpenGL I solved the issue by checking for the available extensions when creating the QVTKWidget: QVTKWidget* createQVTKWidget(QWidget *parent) { // create a RenderWindow and loads the compatibility profile on it auto extManager= vtkSmartPointer::New(); auto renWin = vtkOpenGLRenderWindow::New(); extManager->SetRenderWindow(renWin); if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) extManager->LoadExtension("GL_ARB_compatibility"); else ep::log << "Warning: GL_ARB_compatibility extension cannot be loaded" << endl; // Create and add a renderer to the managed render window auto ren = vtkOpenGLRenderer::New(); ren->SetBackground(1, 1, 1); renWin->AddRenderer(ren); /// Create the QVTKWidget and adds the managed render window to it auto outWidget = new QVTKWidget(parent); outWidget->SetRenderWindow(renWin); assert(renWin->GetInteractor()); renWin->Delete(); ren->Delete(); return outWidget; } On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > If you are using older version of volume mapper (OpenGL backend) then it > is possible that when using QT window, it's not finding the extensions its > needed. Is it possible for you to try the OpenGL2 backend? > > Also, Do you see any error message on the console? > > Thanks, > > > On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: > >> Jakub ??gwa gmail.com> writes: >> >> > >> > Hello, >> > I have a strange problem with showing VTK volume in QVTKWidget. I can >> compile example such as as: >> > >> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand >> >> >> > it work fine. But when I want to use exactly the same code in my sample >> > Qt application (let's say - render only after user press a button) >> > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead >> > of the one from example). I have this problem only when I want to use >> > vtkVolume and than add the volume to renderer with AddVolume. If I make >> > other 3D visualisation for example with vtkContourFilter and than I add >> > it to renderer with AddActor method - everything works fine. >> > I was trying to solve this problem for a couple of days but I found >> > some things that I can't understand in any way. If I take, for example, >> > Medical4.cxx file and add there >> > #include >> > and than >> >> >> Hello Jakub I have the same problem with QVTKWidget and can't find a >> solution I've been stopped for 4 days. I need to know whether you managed >> to >> solve this problem and how did you solved it. >> >> Thanks in advance. >> Ernesto >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Tue Feb 17 12:36:57 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 17 Feb 2015 12:36:57 -0500 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: <007d01d04acc$77be7a20$673b6e60$@uci.cu> References: <007d01d04acc$77be7a20$673b6e60$@uci.cu> Message-ID: On Tue, Feb 17, 2015 at 11:12 AM, Ernesto Guevara wrote: > Hi, I'm afraid cannot use OpenGL2 backend since I'm using VTK 5.10, is > there any other way to do this??? > I tried Andrea?s solution but I?m getting the message that the application > couldn?t load the GL_ARB_compatibility extension. I checked with glxinfo > and that extension is supported in my system, I can render the volume quite > well without QT. I?m using VTK 5.10 with Ubuntu 14.10. do to this I cannot > use QVTKWidget2. > I can?t use vtkOpenGLRenderWindow because it is an abstract class I used > vtkGenericOpenGLRenderWindow. > I?ll keep trying. > You shouldn't use the vtkOpenGLRenderWindow class, just use the vtkRenderWindow::New() which will create the concrete class for you. You may want to debug why its loading the compatability profile. > > Thanks > Ernesto > > PS: I just sent this message to Andrea, sorry about duplicates. > > De: Andrea Brambilla [mailto:andrea.bram at gmail.com] > Enviado el: Tuesday, February 17, 2015 9:11 AM > Para: Aashish Chaudhary > CC: Ernesto; vtkusers at public.kitware.com > Asunto: Re: [vtkusers] Problem with volume rendering inside of Qt > application > > I had a similar issue with QVTKWidget some time ago, which was due to > OpenGL > I solved the issue by checking for the available extensions when creating > the QVTKWidget: > > QVTKWidget* createQVTKWidget(QWidget *parent) > { > // create a RenderWindow and loads the compatibility profile on it > auto extManager= vtkSmartPointer::New(); > auto renWin = vtkOpenGLRenderWindow::New(); > extManager->SetRenderWindow(renWin); > if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) > extManager->LoadExtension("GL_ARB_compatibility"); > else > ep::log << "Warning: GL_ARB_compatibility extension cannot be > loaded" << endl; > > // Create and add a renderer to the managed render window > auto ren = vtkOpenGLRenderer::New(); > ren->SetBackground(1, 1, 1); > renWin->AddRenderer(ren); > /// Create the QVTKWidget and adds the managed render window to it > auto outWidget = new QVTKWidget(parent); > outWidget->SetRenderWindow(renWin); > > assert(renWin->GetInteractor()); > renWin->Delete(); > ren->Delete(); > return outWidget; > } > > On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > If you are using older version of volume mapper (OpenGL backend) then it > is possible that when using QT window, it's not finding the extensions its > needed. Is it possible for you to try the OpenGL2 backend? > > Also, Do you see any error message on the console? > > Thanks, > > > On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: > Jakub ??gwa gmail.com> writes: > > > > > Hello, > > I have a strange problem with showing VTK volume in QVTKWidget. I can > compile example such as as: > > > http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand > > > > it work fine. But when I want to use exactly the same code in my sample > > Qt application (let's say - render only after user press a button) > > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead > > of the one from example). I have this problem only when I want to use > > vtkVolume and than add the volume to renderer with AddVolume. If I make > > other 3D visualisation for example with vtkContourFilter and than I add > > it to renderer with AddActor method - everything works fine. > > I was trying to solve this problem for a couple of days but I found > > some things that I can't understand in any way. If I take, for example, > > Medical4.cxx file and add there > > #include > > and than > > > Hello Jakub I have the same problem with QVTKWidget and can't find a > solution I've been stopped for 4 days. I need to know whether you managed > to > solve this problem and how did you solved it. > > Thanks in advance. > Ernesto > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > -- > | Aashish Chaudhary > | Technical Leader > | Kitware Inc. > | http://www.kitware.com/company/team/chaudhary.html > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Tue Feb 17 17:46:13 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 17 Feb 2015 17:46:13 -0500 Subject: [vtkusers] Error LNK2019 while building examples In-Reply-To: References: Message-ID: When configuring the example with CMake, did you point it at the correct build folder of VTK? It could be failing to find VTK's .lib files. On Wed, Feb 11, 2015 at 11:36 AM, Girik Sharma wrote: > Hey all! > I was trying to build the provided examples on windows using cmake with > VS2012 as generator.But I am getting the following errors: > > Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) > public: static double __cdecl vtkLine::DistanceToLine(double * const,double > * const,double * const,double &,double * const)" > (__imp_?DistanceToLine at vtkLine@@SANQAN00AAN0 at Z) referenced in function > _main E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine > > > Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) > public: static double __cdecl vtkLine::DistanceToLine(double * const,double > * const,double * const)" (__imp_?DistanceToLine at vtkLine@@SANQAN00 at Z) > referenced in function _main > E:\DistancePointToLine\DistancePointToLine.obj DistancePointToLine > > Please help me. > Thanks. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From VTK at calculoandamios.com Tue Feb 17 18:31:58 2015 From: VTK at calculoandamios.com (Carlos) Date: Wed, 18 Feb 2015 00:31:58 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54AF81AB.8090203@kitware.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <54AF81AB.8090203@kitware.com> Message-ID: <01e001d04b09$ec410f60$c4c32e20$@calculoandamios.com> Hello, In the recent post announcing the VTK 6.2 Release Candidate there is a comment saying that Activz.Net has already been updated from VTK 5.8 to 6.1 and it will be updated again to 6.2 I would appreciate some comments about the status of Activiz as I feel it is unclear. Some questions I have: Is Activiz 6.1 / 6.2 going to be Opensource?. Is there any schedule for it?. Will Activiz 6.2 support OpenGL2? Could be compiled using Visual studio 2012 or it will be limited to 2008? Regards, Carlos -----Mensaje original----- De: vtkusers [mailto:vtkusers-bounces at vtk.org] En nombre de Julien Jomier Enviado el: viernes, 09 de enero de 2015 8:22 Para: David Cole CC: vtkusers at vtk.org; abhishek Asunto: Re: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. We've done some progress over the past few months. I'll try to get this pushed soon. Julien On 08/01/2015 19:21, David Cole wrote: > Is anybody actively working on getting it done this month, or is this > just a hopeful hope? > > ;-) > > > > On Thu, Jan 8, 2015 at 12:45 PM, Julien Jomier > wrote: >> Hi Abhishek, >> >> It's been in our todo list for quite some time and we hope to get >> this done hopefully this month. >> >> Julien >> >> >> On 08/01/2015 18:36, abhishek wrote: >>> >>> Hello users, I have been working with VTK for last few months. Now, >>> I am looking for C# Wrappers for VTK 6.1 so that I can plugin power >>> of VTK with .NET Winforms & WPF UI . Activiz.NET site states, that >>> wrappers are available under commercial support. >>> >>> Does, anyone has idea when will it be available for download under >>> open source? >>> >>> Thanks, >>> Abhishek >>> >>> >>> >>> -- >>> View this message in context: >>> http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Applicat >>> ion-tp5730023.html Sent from the VTK - Users mailing list archive at >>> Nabble.com. >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers > _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers From felfilali at dons.usfca.edu Tue Feb 17 20:47:12 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Tue, 17 Feb 2015 17:47:12 -0800 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Hey Seb, Thanks for the links. I am trying to run the cone example from the link you sent me. I set my env var to: DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ Since my find */dylib returned filed in both directories. However when I run the program I get the following exception: Exception in thread "main" java.lang.UnsatisfiedLinkError: vtk.vtkRenderWindow.VTKInit()J at vtk.vtkRenderWindow.VTKInit(Native Method) at vtk.vtkObjectBase.(vtkObjectBase.java:43) at vtk.vtkObject.(vtkObject.java:94) at vtk.vtkWindow.(vtkWindow.java:182) at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) at vtk.vtkPanel.(vtkPanel.java:27) at VTKSample.main(VTKSample.java:22) Any ideas? I have a feeling its the env var that is not right but there are no other locations that contain the vtk dylib files. Thanks again Fatima On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Hi Fatima, > > Please keep the mailing list in the loop. > > Ok so I guess your OS is OS X and not iOS. > This link is a bit old and outdated but it should give you some hints on > how to setup your Eclipse. > > http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk > > So remember to set DYLD_LIBRARY_PATH instead of PATH. > > You can also download the binaries from our dashboard here: > > https://open.cdash.org/viewFiles.php?buildid=3689913 > > Don't forget to unzip the native jar file. > > On a side note, you will have to use JOGL as a dependency for rendering. > You may find some mention on that in the mailing list archive. > > Seb > > On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> Hello Seb, >> I basically installed cmake, used it to generate make files, run make and >> make install. My OS is iOS. Ideally I would like to run my code on Eclipse, >> but I dont mind vi-ing and running java on command line. >> The thing is I don't know where to start at this point. All I want to do >> is run some of the examples that came with vtk so that I can learn from >> them and write my own. >> Thanks so much for your help. >> Fatima >> >> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Depending on your OS, you will have to set a system variable with the >>> path of the directory that contains the VTK library, before launching your >>> application. >>> >>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>> >>> For more help, you will need to explain more your actions and what was >>> the error. >>> >>> Seb >>> >>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>> felfilali at dons.usfca.edu> wrote: >>> >>>> Hello, >>>> I was able to install vtk with the Examples but I am having trouble >>>> running them. >>>> I am very new to vtk but comfortable with Java. >>>> Any how-tos you can direct me to? >>>> Thanks >>>> Fatima >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.jomier at kitware.com Wed Feb 18 02:35:08 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Wed, 18 Feb 2015 08:35:08 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <01e001d04b09$ec410f60$c4c32e20$@calculoandamios.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <54AF81AB.8090203@kitware.com> <01e001d04b09$ec410f60$c4c32e20$@calculoandamios.com> Message-ID: <54E440AC.4090502@kitware.com> Hi Carlos, ActiViz is open-source, you can download the code and compile it right now. Today, MSVC 2008 is required to compile it. If you prefer the supported binary releases, Kitware does provide a professional version of ActiViz. Regarding OpenGL2, there is no reason, AFAIK, why this won't be supported. Julien On 18/02/2015 00:31, Carlos wrote: > Hello, > > In the recent post announcing the VTK 6.2 Release Candidate there is a > comment saying that Activz.Net has already been updated from VTK 5.8 to 6.1 > and it will be updated again to 6.2 > > I would appreciate some comments about the status of Activiz as I feel it is > unclear. Some questions I have: > > Is Activiz 6.1 / 6.2 going to be Opensource?. Is there any schedule for it?. > Will Activiz 6.2 support OpenGL2? > Could be compiled using Visual studio 2012 or it will be limited to 2008? > > > Regards, > > Carlos > > -----Mensaje original----- > De: vtkusers [mailto:vtkusers-bounces at vtk.org] En nombre de Julien Jomier > Enviado el: viernes, 09 de enero de 2015 8:22 > Para: David Cole > CC: vtkusers at vtk.org; abhishek > Asunto: Re: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. > > We've done some progress over the past few months. I'll try to get this > pushed soon. > > Julien > > On 08/01/2015 19:21, David Cole wrote: >> Is anybody actively working on getting it done this month, or is this >> just a hopeful hope? >> >> ;-) >> >> >> >> On Thu, Jan 8, 2015 at 12:45 PM, Julien Jomier >> wrote: >>> Hi Abhishek, >>> >>> It's been in our todo list for quite some time and we hope to get >>> this done hopefully this month. >>> >>> Julien >>> >>> >>> On 08/01/2015 18:36, abhishek wrote: >>>> >>>> Hello users, I have been working with VTK for last few months. Now, >>>> I am looking for C# Wrappers for VTK 6.1 so that I can plugin power >>>> of VTK with .NET Winforms & WPF UI . Activiz.NET site states, that >>>> wrappers are available under commercial support. >>>> >>>> Does, anyone has idea when will it be available for download under >>>> open source? >>>> >>>> Thanks, >>>> Abhishek >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Applicat >>>> ion-tp5730023.html Sent from the VTK - Users mailing list archive at >>>> Nabble.com. >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >> > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > From rekha.hirapur at gmail.com Wed Feb 18 03:20:16 2015 From: rekha.hirapur at gmail.com (rekha) Date: Wed, 18 Feb 2015 01:20:16 -0700 (MST) Subject: [vtkusers] How to visualise the pattern of rising and sinking air by using streamlines or streamtubes Message-ID: <1424247616489-5730421.post@n5.nabble.com> Hello, i'm trying to visualize the pattern of rising and sinking air the data corresponding the the rise and fall of the glider data from attached vtk file. I can only visualize trajectory of glider path by using vtk. vtkGlyph3D() as attached in the image. please can anyone help or advice me how to visualize the data using streamline or streamtube in vtkpython. I am new to vtkpython. *working environment detail:* VTK 6.1 python 2.7.4 Windows 7 64 bit *File attachment:* glider.vtk *My result : * -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-visualise-the-pattern-of-rising-and-sinking-air-by-using-streamlines-or-streamtubes-tp5730421.html Sent from the VTK - Users mailing list archive at Nabble.com. From VTK at calculoandamios.com Wed Feb 18 05:02:51 2015 From: VTK at calculoandamios.com (Carlos) Date: Wed, 18 Feb 2015 11:02:51 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54E440AC.4090502@kitware.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <54AF81AB.8090203@kitware.com> <01e001d04b09$ec410f60$c4c32e20$@calculoandamios.com> <54E440AC.4090502@kitware.com> Message-ID: <004e01d04b62$0ea1d730$2be58590$@calculoandamios.com> Hi Julien, Sorry if I'm wrong, but my understanding from your answer to David Cole below is that the last open-source version available for Activiz is VTK 5.8, not the 6.1. Is there any link to the repository with the last version?. I can't find it in the Activiz website. By the way, the US / Worldwide versions of the Kitware website do not provide a link for "Innovative Technlogies" so it is quite difficult to access to the Activiz Website. I have found it though the European version of the website. The question about OpenGL is related to the availability of the code as if only professional version of Activiz can be obtained with 6.2 and this is an option not fully supported I would like to know if it will be a package with this option. Regards, Carlos -----Mensaje original----- De: Julien Jomier [mailto:julien.jomier at kitware.com] Enviado el: mi?rcoles, 18 de febrero de 2015 8:35 Para: Carlos; 'David Cole' CC: vtkusers at vtk.org Asunto: Re: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. Hi Carlos, ActiViz is open-source, you can download the code and compile it right now. Today, MSVC 2008 is required to compile it. If you prefer the supported binary releases, Kitware does provide a professional version of ActiViz. Regarding OpenGL2, there is no reason, AFAIK, why this won't be supported. Julien On 18/02/2015 00:31, Carlos wrote: > Hello, > > In the recent post announcing the VTK 6.2 Release Candidate there is a > comment saying that Activz.Net has already been updated from VTK 5.8 > to 6.1 and it will be updated again to 6.2 > > I would appreciate some comments about the status of Activiz as I feel > it is unclear. Some questions I have: > > Is Activiz 6.1 / 6.2 going to be Opensource?. Is there any schedule for it?. > Will Activiz 6.2 support OpenGL2? > Could be compiled using Visual studio 2012 or it will be limited to 2008? > > > Regards, > > Carlos > > -----Mensaje original----- > De: vtkusers [mailto:vtkusers-bounces at vtk.org] En nombre de Julien > Jomier Enviado el: viernes, 09 de enero de 2015 8:22 > Para: David Cole > CC: vtkusers at vtk.org; abhishek > Asunto: Re: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. > > We've done some progress over the past few months. I'll try to get > this pushed soon. > > Julien > > On 08/01/2015 19:21, David Cole wrote: >> Is anybody actively working on getting it done this month, or is this >> just a hopeful hope? >> >> ;-) >> >> >> >> On Thu, Jan 8, 2015 at 12:45 PM, Julien Jomier >> wrote: >>> Hi Abhishek, >>> >>> It's been in our todo list for quite some time and we hope to get >>> this done hopefully this month. >>> >>> Julien >>> >>> >>> On 08/01/2015 18:36, abhishek wrote: >>>> >>>> Hello users, I have been working with VTK for last few months. Now, >>>> I am looking for C# Wrappers for VTK 6.1 so that I can plugin power >>>> of VTK with .NET Winforms & WPF UI . Activiz.NET site states, that >>>> wrappers are available under commercial support. >>>> >>>> Does, anyone has idea when will it be available for download under >>>> open source? >>>> >>>> Thanks, >>>> Abhishek >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Applica >>>> t ion-tp5730023.html Sent from the VTK - Users mailing list archive >>>> at Nabble.com. >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >> > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > From andrea.bram at gmail.com Wed Feb 18 05:31:19 2015 From: andrea.bram at gmail.com (Andrea Brambilla) Date: Wed, 18 Feb 2015 11:31:19 +0100 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: References: <007d01d04acc$77be7a20$673b6e60$@uci.cu> Message-ID: Right, my bad, vtkOpenGLRenderWindow does not even override New(), so vtkRenderWindow is actually called. I use VTK 5.10 and Qt 4.8 on windows 7 x64 The reason why I had to use the GL_ARB_compatibility is that the opengl compatibility profile seems to be required by the QVTKWidget (I guess). It also seems that the driver of my graphics card (GeForce GTX 580) disables the compatibility profile by default. Notice that, if I use only VTK (without Qt), everything works fine without explicitly loading the compatibility profile. Also, if I run the same code (with QVTKWidget) on my laptop (which has an older graphics card) I don't need to load the compatibility profile either. On Tue, Feb 17, 2015 at 6:36 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > On Tue, Feb 17, 2015 at 11:12 AM, Ernesto Guevara > wrote: > >> Hi, I'm afraid cannot use OpenGL2 backend since I'm using VTK 5.10, is >> there any other way to do this??? >> I tried Andrea?s solution but I?m getting the message that the >> application couldn?t load the GL_ARB_compatibility extension. I checked >> with glxinfo and that extension is supported in my system, I can render the >> volume quite well without QT. I?m using VTK 5.10 with Ubuntu 14.10. do to >> this I cannot use QVTKWidget2. >> I can?t use vtkOpenGLRenderWindow because it is an abstract class I used >> vtkGenericOpenGLRenderWindow. >> I?ll keep trying. >> > > You shouldn't use the vtkOpenGLRenderWindow class, just use the > vtkRenderWindow::New() which will create the concrete class for you. You > may want to debug why its loading the compatability profile. > > >> >> Thanks >> Ernesto >> >> PS: I just sent this message to Andrea, sorry about duplicates. >> >> De: Andrea Brambilla [mailto:andrea.bram at gmail.com] >> Enviado el: Tuesday, February 17, 2015 9:11 AM >> Para: Aashish Chaudhary >> CC: Ernesto; vtkusers at public.kitware.com >> Asunto: Re: [vtkusers] Problem with volume rendering inside of Qt >> application >> >> I had a similar issue with QVTKWidget some time ago, which was due to >> OpenGL >> I solved the issue by checking for the available extensions when creating >> the QVTKWidget: >> >> QVTKWidget* createQVTKWidget(QWidget *parent) >> { >> // create a RenderWindow and loads the compatibility profile on it >> auto extManager= vtkSmartPointer::New(); >> auto renWin = vtkOpenGLRenderWindow::New(); >> extManager->SetRenderWindow(renWin); >> if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) >> extManager->LoadExtension("GL_ARB_compatibility"); >> else >> ep::log << "Warning: GL_ARB_compatibility extension cannot be >> loaded" << endl; >> >> // Create and add a renderer to the managed render window >> auto ren = vtkOpenGLRenderer::New(); >> ren->SetBackground(1, 1, 1); >> renWin->AddRenderer(ren); >> /// Create the QVTKWidget and adds the managed render window to it >> auto outWidget = new QVTKWidget(parent); >> outWidget->SetRenderWindow(renWin); >> >> assert(renWin->GetInteractor()); >> renWin->Delete(); >> ren->Delete(); >> return outWidget; >> } >> >> On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> If you are using older version of volume mapper (OpenGL backend) then it >> is possible that when using QT window, it's not finding the extensions its >> needed. Is it possible for you to try the OpenGL2 backend? >> >> Also, Do you see any error message on the console? >> >> Thanks, >> >> >> On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: >> Jakub ??gwa gmail.com> writes: >> >> > >> > Hello, >> > I have a strange problem with showing VTK volume in QVTKWidget. I can >> compile example such as as: >> > >> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand >> >> >> > it work fine. But when I want to use exactly the same code in my sample >> > Qt application (let's say - render only after user press a button) >> > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead >> > of the one from example). I have this problem only when I want to use >> > vtkVolume and than add the volume to renderer with AddVolume. If I make >> > other 3D visualisation for example with vtkContourFilter and than I add >> > it to renderer with AddActor method - everything works fine. >> > I was trying to solve this problem for a couple of days but I found >> > some things that I can't understand in any way. If I take, for example, >> > Medical4.cxx file and add there >> > #include >> > and than >> >> >> Hello Jakub I have the same problem with QVTKWidget and can't find a >> solution I've been stopped for 4 days. I need to know whether you managed >> to >> solve this problem and how did you solved it. >> >> Thanks in advance. >> Ernesto >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> >> >> >> -- >> | Aashish Chaudhary >> | Technical Leader >> | Kitware Inc. >> | http://www.kitware.com/company/team/chaudhary.html >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> >> > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 1danielcoelho at gmail.com Wed Feb 18 06:08:45 2015 From: 1danielcoelho at gmail.com (1danielcoelho) Date: Wed, 18 Feb 2015 04:08:45 -0700 (MST) Subject: [vtkusers] Delete filter and its output Message-ID: <1424257725631-5730424.post@n5.nabble.com> Hello! I have a sequence of many filters, all handling a lot of data. Let's say FilterA -> FilterB ->Filter C. I'm not using smart pointers, which means that each filter is instantiated with: Filter* FilterA = Filter::New(); If I watch the memory consumption of my program while it traverses the filters, I can see that the outputs of every filter are kept in memory even though they are no longer needed: For example: After FilterB runs, I have no need for the output of FilterA anymore, but it still remains allocated. I'm running out of RAM doing this, so I need to find a way to clear those intermediary outputs. The problem is that nothing actually frees this memory: Filter->Delete(); does not immediately free the output memory Filter->ReleaseData(); does not immediately free anything Filter->GetOutput()->Delete; throws a SIGABRT (deleting things that are not mine is usually a bad idea) Using vtkSmartPointer and calling delete also appears to do nothing Does anybody know of a way of doing this? Ideally, there would be a function like Filter->ClearOutput(); that frees all allocated data for its output, but I can't see anything like that. Thanks! -- View this message in context: http://vtk.1045678.n5.nabble.com/Delete-filter-and-its-output-tp5730424.html Sent from the VTK - Users mailing list archive at Nabble.com. From aashish.chaudhary at kitware.com Wed Feb 18 08:46:39 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 18 Feb 2015 08:46:39 -0500 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: References: <007d01d04acc$77be7a20$673b6e60$@uci.cu> Message-ID: Yes, that would be because the older graphics card don't have the core profile. It seems to me that Qt creates a core profile which does not support older call / extensions which is used by the old volume mapper. - So the solution would be is 1) load the compatibility profile 2) use the new mapper On Wed, Feb 18, 2015 at 5:31 AM, Andrea Brambilla wrote: > Right, my bad, vtkOpenGLRenderWindow does not even override New(), so > vtkRenderWindow is actually called. > I use VTK 5.10 and Qt 4.8 on windows 7 x64 > The reason why I had to use the GL_ARB_compatibility is that the opengl > compatibility profile seems to be required by the QVTKWidget (I guess). It > also seems that the driver of my graphics card (GeForce GTX 580) disables > the compatibility profile by default. > Notice that, if I use only VTK (without Qt), everything works fine without > explicitly loading the compatibility profile. > Also, if I run the same code (with QVTKWidget) on my laptop (which has an > older graphics card) I don't need to load the compatibility profile either. > > > On Tue, Feb 17, 2015 at 6:36 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> On Tue, Feb 17, 2015 at 11:12 AM, Ernesto Guevara >> wrote: >> >>> Hi, I'm afraid cannot use OpenGL2 backend since I'm using VTK 5.10, is >>> there any other way to do this??? >>> I tried Andrea?s solution but I?m getting the message that the >>> application couldn?t load the GL_ARB_compatibility extension. I checked >>> with glxinfo and that extension is supported in my system, I can render the >>> volume quite well without QT. I?m using VTK 5.10 with Ubuntu 14.10. do to >>> this I cannot use QVTKWidget2. >>> I can?t use vtkOpenGLRenderWindow because it is an abstract class I used >>> vtkGenericOpenGLRenderWindow. >>> I?ll keep trying. >>> >> >> You shouldn't use the vtkOpenGLRenderWindow class, just use the >> vtkRenderWindow::New() which will create the concrete class for you. You >> may want to debug why its loading the compatability profile. >> >> >>> >>> Thanks >>> Ernesto >>> >>> PS: I just sent this message to Andrea, sorry about duplicates. >>> >>> De: Andrea Brambilla [mailto:andrea.bram at gmail.com] >>> Enviado el: Tuesday, February 17, 2015 9:11 AM >>> Para: Aashish Chaudhary >>> CC: Ernesto; vtkusers at public.kitware.com >>> Asunto: Re: [vtkusers] Problem with volume rendering inside of Qt >>> application >>> >>> I had a similar issue with QVTKWidget some time ago, which was due to >>> OpenGL >>> I solved the issue by checking for the available extensions when >>> creating the QVTKWidget: >>> >>> QVTKWidget* createQVTKWidget(QWidget *parent) >>> { >>> // create a RenderWindow and loads the compatibility profile on it >>> auto extManager= vtkSmartPointer::New(); >>> auto renWin = vtkOpenGLRenderWindow::New(); >>> extManager->SetRenderWindow(renWin); >>> if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) >>> extManager->LoadExtension("GL_ARB_compatibility"); >>> else >>> ep::log << "Warning: GL_ARB_compatibility extension cannot be >>> loaded" << endl; >>> >>> // Create and add a renderer to the managed render window >>> auto ren = vtkOpenGLRenderer::New(); >>> ren->SetBackground(1, 1, 1); >>> renWin->AddRenderer(ren); >>> /// Create the QVTKWidget and adds the managed render window to it >>> auto outWidget = new QVTKWidget(parent); >>> outWidget->SetRenderWindow(renWin); >>> >>> assert(renWin->GetInteractor()); >>> renWin->Delete(); >>> ren->Delete(); >>> return outWidget; >>> } >>> >>> On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> If you are using older version of volume mapper (OpenGL backend) then it >>> is possible that when using QT window, it's not finding the extensions its >>> needed. Is it possible for you to try the OpenGL2 backend? >>> >>> Also, Do you see any error message on the console? >>> >>> Thanks, >>> >>> >>> On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: >>> Jakub ??gwa gmail.com> writes: >>> >>> > >>> > Hello, >>> > I have a strange problem with showing VTK volume in QVTKWidget. I can >>> compile example such as as: >>> > >>> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand >>> >>> >>> > it work fine. But when I want to use exactly the same code in my >>> sample >>> > Qt application (let's say - render only after user press a button) >>> > nothing is shown in QVTKWidget (I tried also with QVTKInteractor >>> instead >>> > of the one from example). I have this problem only when I want to use >>> > vtkVolume and than add the volume to renderer with AddVolume. If I make >>> > other 3D visualisation for example with vtkContourFilter and than I add >>> > it to renderer with AddActor method - everything works fine. >>> > I was trying to solve this problem for a couple of days but I found >>> > some things that I can't understand in any way. If I take, for example, >>> > Medical4.cxx file and add there >>> > #include >>> > and than >>> >>> >>> Hello Jakub I have the same problem with QVTKWidget and can't find a >>> solution I've been stopped for 4 days. I need to know whether you >>> managed to >>> solve this problem and how did you solved it. >>> >>> Thanks in advance. >>> Ernesto >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >>> >>> >>> >>> -- >>> | Aashish Chaudhary >>> | Technical Leader >>> | Kitware Inc. >>> | http://www.kitware.com/company/team/chaudhary.html >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >>> >>> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruggiero.guida at gmail.com Wed Feb 18 10:30:27 2015 From: ruggiero.guida at gmail.com (Rojj) Date: Wed, 18 Feb 2015 08:30:27 -0700 (MST) Subject: [vtkusers] Add scalars to vtk file (vtk 3.0 legacy) in Python Message-ID: <1424273427775-5730428.post@n5.nabble.com> I am trying to add a calculated scalar to an existing VTK file. A simplified version of my code is the following import vtk import os import numpy as np reader = vtk.vtkDataSetReader() reader.SetFileName(vtk_file_name) reader.ReadAllScalarsOn() reader.Update() data = reader.GetOutput() #This contains all data from the VTK cell_data = data.GetCellData() #This contains just the cells data scalar_data1 = cell_data.GetArray('scalar1') scalar_data2 = cell_data.GetArray('scalar2') scalar1 = np.array([scalar_data1.GetValue(i) for i in range(data.GetNumberOfCells())]) scalar2 = np.array([scalar_data2.GetValue(i) for i in range(data.GetNumberOfCells())]) scalar3 = scalar1 - scalar2 writer = vtk.vtkDataSetWriter() At this point I assume that I need to add a vtkArray to data by using data.SetCell The problem is that SetCell asks for a vtkCellArray and I have not managed yet to convert my array scalar3 to a vtkCellArray. Is this the right approach? Any suggestion? Thanks a lot!! -- View this message in context: http://vtk.1045678.n5.nabble.com/Add-scalars-to-vtk-file-vtk-3-0-legacy-in-Python-tp5730428.html Sent from the VTK - Users mailing list archive at Nabble.com. From sebastien.jourdain at kitware.com Wed Feb 18 13:27:00 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 18 Feb 2015 11:27:00 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Not sure to know where all your VTK dylibs files. But you can do something like that DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ natives-Darwin-x86_64/graphviz On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Hey Seb, > > Thanks for the links. > > I am trying to run the cone example from the link you sent me. > > I set my env var to: > DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ > > also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ > > > Since my find */dylib returned filed in both directories. > > > However when I run the program I get the following exception: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > vtk.vtkRenderWindow.VTKInit()J > > at vtk.vtkRenderWindow.VTKInit(Native Method) > > at vtk.vtkObjectBase.(vtkObjectBase.java:43) > > at vtk.vtkObject.(vtkObject.java:94) > > at vtk.vtkWindow.(vtkWindow.java:182) > > at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) > > at vtk.vtkPanel.(vtkPanel.java:27) > > at VTKSample.main(VTKSample.java:22) > > > Any ideas? I have a feeling its the env var that is not right but there > are no other locations that contain the vtk dylib files. > > > Thanks again > > Fatima > > > On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Hi Fatima, >> >> Please keep the mailing list in the loop. >> >> Ok so I guess your OS is OS X and not iOS. >> This link is a bit old and outdated but it should give you some hints on >> how to setup your Eclipse. >> >> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >> >> So remember to set DYLD_LIBRARY_PATH instead of PATH. >> >> You can also download the binaries from our dashboard here: >> >> https://open.cdash.org/viewFiles.php?buildid=3689913 >> >> Don't forget to unzip the native jar file. >> >> On a side note, you will have to use JOGL as a dependency for rendering. >> You may find some mention on that in the mailing list archive. >> >> Seb >> >> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Hello Seb, >>> I basically installed cmake, used it to generate make files, run make >>> and make install. My OS is iOS. Ideally I would like to run my code on >>> Eclipse, but I dont mind vi-ing and running java on command line. >>> The thing is I don't know where to start at this point. All I want to do >>> is run some of the examples that came with vtk so that I can learn from >>> them and write my own. >>> Thanks so much for your help. >>> Fatima >>> >>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Depending on your OS, you will have to set a system variable with the >>>> path of the directory that contains the VTK library, before launching your >>>> application. >>>> >>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>> >>>> For more help, you will need to explain more your actions and what was >>>> the error. >>>> >>>> Seb >>>> >>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>> felfilali at dons.usfca.edu> wrote: >>>> >>>>> Hello, >>>>> I was able to install vtk with the Examples but I am having trouble >>>>> running them. >>>>> I am very new to vtk but comfortable with Java. >>>>> Any how-tos you can direct me to? >>>>> Thanks >>>>> Fatima >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge at infolytica.com Wed Feb 18 13:50:58 2015 From: serge at infolytica.com (Serge Lalonde) Date: Wed, 18 Feb 2015 13:50:58 -0500 Subject: [vtkusers] 0015330: Bug in vtkWin32OpenGLRenderWindow::ResumeScreenRendering() when run with Remote Desktop Message-ID: <54E4DF12.9000303@infolytica.com> An HTML attachment was scrubbed... URL: From felfilali at dons.usfca.edu Wed Feb 18 14:12:45 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 18 Feb 2015 11:12:45 -0800 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Hey Seb, Thanks for your response. That is how I have the env var set but I still get: Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkCommonJava in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1087) at VTKSample.(VTKSample.java:19) Those 2 dirs have the following in them: $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib libcdt.5.dylib libcgraph.6.dylib libgvc.6.dylib libgvpr.2.dylib libhtp-0.2.1.dylib libpathplan.4.dylib libxdot.4.dylib ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib libgvplugin_core.6.dylib libgvplugin_core.dylib libgvplugin_dot_layout.6.dylib libgvplugin_dot_layout.dylib libgvplugin_neato_layout.6.dylib libgvplugin_neato_layout.dylib libgvplugin_pango.6.dylib libgvplugin_pango.dylib libgvplugin_quartz.6.dylib libgvplugin_quartz.dylib libgvplugin_xlib.6.dylib libgvplugin_xlib.dylib So there is no mention of vtkCommonJava, even when I do a search for it in my filesystem. Fatima On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Not sure to know where all your VTK dylibs files. > > But you can do something like that > > DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ > natives-Darwin-x86_64/graphviz > > On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> Hey Seb, >> >> Thanks for the links. >> >> I am trying to run the cone example from the link you sent me. >> >> I set my env var to: >> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >> >> also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >> >> >> Since my find */dylib returned filed in both directories. >> >> >> However when I run the program I get the following exception: >> >> Exception in thread "main" java.lang.UnsatisfiedLinkError: >> vtk.vtkRenderWindow.VTKInit()J >> >> at vtk.vtkRenderWindow.VTKInit(Native Method) >> >> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >> >> at vtk.vtkObject.(vtkObject.java:94) >> >> at vtk.vtkWindow.(vtkWindow.java:182) >> >> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >> >> at vtk.vtkPanel.(vtkPanel.java:27) >> >> at VTKSample.main(VTKSample.java:22) >> >> >> Any ideas? I have a feeling its the env var that is not right but there >> are no other locations that contain the vtk dylib files. >> >> >> Thanks again >> >> Fatima >> >> >> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Hi Fatima, >>> >>> Please keep the mailing list in the loop. >>> >>> Ok so I guess your OS is OS X and not iOS. >>> This link is a bit old and outdated but it should give you some hints on >>> how to setup your Eclipse. >>> >>> >>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>> >>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>> >>> You can also download the binaries from our dashboard here: >>> >>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>> >>> Don't forget to unzip the native jar file. >>> >>> On a side note, you will have to use JOGL as a dependency for rendering. >>> You may find some mention on that in the mailing list archive. >>> >>> Seb >>> >>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>> felfilali at dons.usfca.edu> wrote: >>> >>>> Hello Seb, >>>> I basically installed cmake, used it to generate make files, run make >>>> and make install. My OS is iOS. Ideally I would like to run my code on >>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>> The thing is I don't know where to start at this point. All I want to >>>> do is run some of the examples that came with vtk so that I can learn from >>>> them and write my own. >>>> Thanks so much for your help. >>>> Fatima >>>> >>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Depending on your OS, you will have to set a system variable with the >>>>> path of the directory that contains the VTK library, before launching your >>>>> application. >>>>> >>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>> >>>>> For more help, you will need to explain more your actions and what was >>>>> the error. >>>>> >>>>> Seb >>>>> >>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>> felfilali at dons.usfca.edu> wrote: >>>>> >>>>>> Hello, >>>>>> I was able to install vtk with the Examples but I am having trouble >>>>>> running them. >>>>>> I am very new to vtk but comfortable with Java. >>>>>> Any how-tos you can direct me to? >>>>>> Thanks >>>>>> Fatima >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Feb 18 15:15:50 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 18 Feb 2015 13:15:50 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Were is VTK? On Wed, Feb 18, 2015 at 12:12 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Hey Seb, > > Thanks for your response. That is how I have the env var set but I still > get: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: no > vtkCommonJava in java.library.path > > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) > > at java.lang.Runtime.loadLibrary0(Runtime.java:849) > > at java.lang.System.loadLibrary(System.java:1087) > > at VTKSample.(VTKSample.java:19) > > Those 2 dirs have the following in them: > > $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib > > libcdt.5.dylib > > libcgraph.6.dylib > > libgvc.6.dylib > > libgvpr.2.dylib > > libhtp-0.2.1.dylib > > libpathplan.4.dylib > > libxdot.4.dylib > > ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib > > libgvplugin_core.6.dylib > > libgvplugin_core.dylib > > libgvplugin_dot_layout.6.dylib > > libgvplugin_dot_layout.dylib > > libgvplugin_neato_layout.6.dylib > > libgvplugin_neato_layout.dylib > > libgvplugin_pango.6.dylib > > libgvplugin_pango.dylib > > libgvplugin_quartz.6.dylib > > libgvplugin_quartz.dylib > > libgvplugin_xlib.6.dylib > > libgvplugin_xlib.dylib > > > So there is no mention of vtkCommonJava, even when I do a search for it in > my filesystem. > > Fatima > > On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Not sure to know where all your VTK dylibs files. >> >> But you can do something like that >> >> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ >> natives-Darwin-x86_64/graphviz >> >> On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Hey Seb, >>> >>> Thanks for the links. >>> >>> I am trying to run the cone example from the link you sent me. >>> >>> I set my env var to: >>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >>> >>> also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >>> >>> >>> Since my find */dylib returned filed in both directories. >>> >>> >>> However when I run the program I get the following exception: >>> >>> Exception in thread "main" java.lang.UnsatisfiedLinkError: >>> vtk.vtkRenderWindow.VTKInit()J >>> >>> at vtk.vtkRenderWindow.VTKInit(Native Method) >>> >>> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >>> >>> at vtk.vtkObject.(vtkObject.java:94) >>> >>> at vtk.vtkWindow.(vtkWindow.java:182) >>> >>> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >>> >>> at vtk.vtkPanel.(vtkPanel.java:27) >>> >>> at VTKSample.main(VTKSample.java:22) >>> >>> >>> Any ideas? I have a feeling its the env var that is not right but there >>> are no other locations that contain the vtk dylib files. >>> >>> >>> Thanks again >>> >>> Fatima >>> >>> >>> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Hi Fatima, >>>> >>>> Please keep the mailing list in the loop. >>>> >>>> Ok so I guess your OS is OS X and not iOS. >>>> This link is a bit old and outdated but it should give you some hints >>>> on how to setup your Eclipse. >>>> >>>> >>>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>>> >>>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>>> >>>> You can also download the binaries from our dashboard here: >>>> >>>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>>> >>>> Don't forget to unzip the native jar file. >>>> >>>> On a side note, you will have to use JOGL as a dependency for >>>> rendering. You may find some mention on that in the mailing list archive. >>>> >>>> Seb >>>> >>>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>>> felfilali at dons.usfca.edu> wrote: >>>> >>>>> Hello Seb, >>>>> I basically installed cmake, used it to generate make files, run make >>>>> and make install. My OS is iOS. Ideally I would like to run my code on >>>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>>> The thing is I don't know where to start at this point. All I want to >>>>> do is run some of the examples that came with vtk so that I can learn from >>>>> them and write my own. >>>>> Thanks so much for your help. >>>>> Fatima >>>>> >>>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Depending on your OS, you will have to set a system variable with the >>>>>> path of the directory that contains the VTK library, before launching your >>>>>> application. >>>>>> >>>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>>> >>>>>> For more help, you will need to explain more your actions and what >>>>>> was the error. >>>>>> >>>>>> Seb >>>>>> >>>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>>> felfilali at dons.usfca.edu> wrote: >>>>>> >>>>>>> Hello, >>>>>>> I was able to install vtk with the Examples but I am having trouble >>>>>>> running them. >>>>>>> I am very new to vtk but comfortable with Java. >>>>>>> Any how-tos you can direct me to? >>>>>>> Thanks >>>>>>> Fatima >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>>>> >>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From felfilali at dons.usfca.edu Wed Feb 18 15:24:29 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 18 Feb 2015 12:24:29 -0800 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Here: $ ls ~/vtkSource/VTK Accelerators Common GUISupport Parallel Views CMake Copyright.txt Geovis README.html Web CMakeLists.txt Deprecated IO Rendering Wrapping CONTRIBUTING.md Domains Imaging Testing vtkBanner.gif CTestConfig.cmake Examples Infovis ThirdParty vtkLogo.ico Charts Filters Interaction Utilities vtkLogo.jpg On Wed, Feb 18, 2015 at 12:15 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Were is VTK? > > On Wed, Feb 18, 2015 at 12:12 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> Hey Seb, >> >> Thanks for your response. That is how I have the env var set but I still >> get: >> >> Exception in thread "main" java.lang.UnsatisfiedLinkError: no >> vtkCommonJava in java.library.path >> >> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) >> >> at java.lang.Runtime.loadLibrary0(Runtime.java:849) >> >> at java.lang.System.loadLibrary(System.java:1087) >> >> at VTKSample.(VTKSample.java:19) >> >> Those 2 dirs have the following in them: >> >> $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib >> >> libcdt.5.dylib >> >> libcgraph.6.dylib >> >> libgvc.6.dylib >> >> libgvpr.2.dylib >> >> libhtp-0.2.1.dylib >> >> libpathplan.4.dylib >> >> libxdot.4.dylib >> >> ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib >> >> libgvplugin_core.6.dylib >> >> libgvplugin_core.dylib >> >> libgvplugin_dot_layout.6.dylib >> >> libgvplugin_dot_layout.dylib >> >> libgvplugin_neato_layout.6.dylib >> >> libgvplugin_neato_layout.dylib >> >> libgvplugin_pango.6.dylib >> >> libgvplugin_pango.dylib >> >> libgvplugin_quartz.6.dylib >> >> libgvplugin_quartz.dylib >> >> libgvplugin_xlib.6.dylib >> >> libgvplugin_xlib.dylib >> >> >> So there is no mention of vtkCommonJava, even when I do a search for it >> in my filesystem. >> >> Fatima >> >> On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Not sure to know where all your VTK dylibs files. >>> >>> But you can do something like that >>> >>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ >>> natives-Darwin-x86_64/graphviz >>> >>> On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < >>> felfilali at dons.usfca.edu> wrote: >>> >>>> Hey Seb, >>>> >>>> Thanks for the links. >>>> >>>> I am trying to run the cone example from the link you sent me. >>>> >>>> I set my env var to: >>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >>>> >>>> also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >>>> >>>> >>>> Since my find */dylib returned filed in both directories. >>>> >>>> >>>> However when I run the program I get the following exception: >>>> >>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: >>>> vtk.vtkRenderWindow.VTKInit()J >>>> >>>> at vtk.vtkRenderWindow.VTKInit(Native Method) >>>> >>>> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >>>> >>>> at vtk.vtkObject.(vtkObject.java:94) >>>> >>>> at vtk.vtkWindow.(vtkWindow.java:182) >>>> >>>> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >>>> >>>> at vtk.vtkPanel.(vtkPanel.java:27) >>>> >>>> at VTKSample.main(VTKSample.java:22) >>>> >>>> >>>> Any ideas? I have a feeling its the env var that is not right but there >>>> are no other locations that contain the vtk dylib files. >>>> >>>> >>>> Thanks again >>>> >>>> Fatima >>>> >>>> >>>> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Hi Fatima, >>>>> >>>>> Please keep the mailing list in the loop. >>>>> >>>>> Ok so I guess your OS is OS X and not iOS. >>>>> This link is a bit old and outdated but it should give you some hints >>>>> on how to setup your Eclipse. >>>>> >>>>> >>>>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>>>> >>>>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>>>> >>>>> You can also download the binaries from our dashboard here: >>>>> >>>>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>>>> >>>>> Don't forget to unzip the native jar file. >>>>> >>>>> On a side note, you will have to use JOGL as a dependency for >>>>> rendering. You may find some mention on that in the mailing list archive. >>>>> >>>>> Seb >>>>> >>>>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>>>> felfilali at dons.usfca.edu> wrote: >>>>> >>>>>> Hello Seb, >>>>>> I basically installed cmake, used it to generate make files, run make >>>>>> and make install. My OS is iOS. Ideally I would like to run my code on >>>>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>>>> The thing is I don't know where to start at this point. All I want to >>>>>> do is run some of the examples that came with vtk so that I can learn from >>>>>> them and write my own. >>>>>> Thanks so much for your help. >>>>>> Fatima >>>>>> >>>>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Depending on your OS, you will have to set a system variable with >>>>>>> the path of the directory that contains the VTK library, before launching >>>>>>> your application. >>>>>>> >>>>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>>>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>>>> >>>>>>> For more help, you will need to explain more your actions and what >>>>>>> was the error. >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> I was able to install vtk with the Examples but I am having trouble >>>>>>>> running them. >>>>>>>> I am very new to vtk but comfortable with Java. >>>>>>>> Any how-tos you can direct me to? >>>>>>>> Thanks >>>>>>>> Fatima >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>>>>> >>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ngnedin at gmail.com Wed Feb 18 15:27:06 2015 From: ngnedin at gmail.com (Nick Gnedin) Date: Wed, 18 Feb 2015 14:27:06 -0600 Subject: [vtkusers] Off-screen rendering on a cluster Message-ID: <54E4F59A.1020501@gmail.com> Folks, I list at the end a short test code that displays a sphere and dumps an image of the scene. The RenderWindow is set for off-screen rendering, and on a regular Linux desktop it works as expected. Now I would like to run it on a regular cluster in a batch mode. When I open an interactive batch job on a worker node (they sit on a separate private network and have no access to Internet) and run my test, it displays an error message and triggers an abort. Can anyone suggest a fix or share a previous experience? As I understand, the problem is that a worker node does not have a valid X11 Dispay. Many thanks, Nick Gnedin (gdb) run Starting program: /lustre/gnedin/TMP/OS/test [Thread debugging using libthread_db enabled] ERROR: In /lustre/gnedin/TMP/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 531 vtkXOpenGLRenderWindow (0x1fd2850): bad X server connection. DISPLAY=[New Thread 0x2af3852c5e60 (LWP 29341)] Program received signal SIGABRT, Aborted. 0x00002af384f90265 in raise () from /lib64/libc.so.6 (gdb) where #0 0x00002af384f90265 in raise () from /lib64/libc.so.6 #1 0x00002af384f91d10 in abort () from /lib64/libc.so.6 #2 0x00002af377687b0c in vtkXOpenGLRenderWindow::CreateAWindow ( this=0x1fd2850) at /lustre/gnedin/TMP/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:532 Here is the code segment (VTK 6.1.0) causing the abort: 524 // get the default display connection 525 if (!this->DisplayId) 526 { 527 this->DisplayId = XOpenDisplay(static_cast(NULL)); 528 if (this->DisplayId == NULL) 529 { 530 vtkErrorMacro(<< "bad X server connection. DISPLAY=" 531 << vtksys::SystemTools::GetEnv("DISPLAY") << ". Aborting.\n"); 532 abort(); 533 } 534 this->OwnDisplay = 1; 535 } My test code: #include #include #include #include #include #include #include int main() { vtkRenderWindow *win = vtkRenderWindow::New(); win->SetOffScreenRendering(1); vtkRenderer *ren = vtkRenderer::New(); win->AddRenderer(ren); vtkActor *act = vtkActor::New(); ren->AddViewProp(act); vtkPolyDataMapper *map = vtkPolyDataMapper::New(); act->SetMapper(map); vtkSphereSource *obj = vtkSphereSource::New(); map->SetInputConnection(obj->GetOutputPort()); win->Render(); vtkRenderLargeImage *rli = vtkRenderLargeImage::New(); rli->SetInput(ren); vtkPNGWriter *out = vtkPNGWriter::New(); out->SetFileName("test.png"); out->SetInputConnection(rli->GetOutputPort()); out->Write(); return 0; } From felfilali at dons.usfca.edu Wed Feb 18 16:00:58 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 18 Feb 2015 13:00:58 -0800 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: I am rebuilding with shared libraries checked. Will let you know if that solves the problem. Thanks On Wed, Feb 18, 2015 at 12:24 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Here: > > $ ls ~/vtkSource/VTK > > Accelerators Common GUISupport Parallel Views > > CMake Copyright.txt Geovis README.html Web > > CMakeLists.txt Deprecated IO Rendering Wrapping > > CONTRIBUTING.md Domains Imaging Testing vtkBanner.gif > > CTestConfig.cmake Examples Infovis ThirdParty vtkLogo.ico > > Charts Filters Interaction Utilities vtkLogo.jpg > > On Wed, Feb 18, 2015 at 12:15 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Were is VTK? >> >> On Wed, Feb 18, 2015 at 12:12 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Hey Seb, >>> >>> Thanks for your response. That is how I have the env var set but I still >>> get: >>> >>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no >>> vtkCommonJava in java.library.path >>> >>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) >>> >>> at java.lang.Runtime.loadLibrary0(Runtime.java:849) >>> >>> at java.lang.System.loadLibrary(System.java:1087) >>> >>> at VTKSample.(VTKSample.java:19) >>> >>> Those 2 dirs have the following in them: >>> >>> $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib >>> >>> libcdt.5.dylib >>> >>> libcgraph.6.dylib >>> >>> libgvc.6.dylib >>> >>> libgvpr.2.dylib >>> >>> libhtp-0.2.1.dylib >>> >>> libpathplan.4.dylib >>> >>> libxdot.4.dylib >>> >>> ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib >>> >>> libgvplugin_core.6.dylib >>> >>> libgvplugin_core.dylib >>> >>> libgvplugin_dot_layout.6.dylib >>> >>> libgvplugin_dot_layout.dylib >>> >>> libgvplugin_neato_layout.6.dylib >>> >>> libgvplugin_neato_layout.dylib >>> >>> libgvplugin_pango.6.dylib >>> >>> libgvplugin_pango.dylib >>> >>> libgvplugin_quartz.6.dylib >>> >>> libgvplugin_quartz.dylib >>> >>> libgvplugin_xlib.6.dylib >>> >>> libgvplugin_xlib.dylib >>> >>> >>> So there is no mention of vtkCommonJava, even when I do a search for it >>> in my filesystem. >>> >>> Fatima >>> >>> On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Not sure to know where all your VTK dylibs files. >>>> >>>> But you can do something like that >>>> >>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ >>>> natives-Darwin-x86_64/graphviz >>>> >>>> On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < >>>> felfilali at dons.usfca.edu> wrote: >>>> >>>>> Hey Seb, >>>>> >>>>> Thanks for the links. >>>>> >>>>> I am trying to run the cone example from the link you sent me. >>>>> >>>>> I set my env var to: >>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >>>>> >>>>> also tried it with : >>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >>>>> >>>>> >>>>> Since my find */dylib returned filed in both directories. >>>>> >>>>> >>>>> However when I run the program I get the following exception: >>>>> >>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: >>>>> vtk.vtkRenderWindow.VTKInit()J >>>>> >>>>> at vtk.vtkRenderWindow.VTKInit(Native Method) >>>>> >>>>> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >>>>> >>>>> at vtk.vtkObject.(vtkObject.java:94) >>>>> >>>>> at vtk.vtkWindow.(vtkWindow.java:182) >>>>> >>>>> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >>>>> >>>>> at vtk.vtkPanel.(vtkPanel.java:27) >>>>> >>>>> at VTKSample.main(VTKSample.java:22) >>>>> >>>>> >>>>> Any ideas? I have a feeling its the env var that is not right but >>>>> there are no other locations that contain the vtk dylib files. >>>>> >>>>> >>>>> Thanks again >>>>> >>>>> Fatima >>>>> >>>>> >>>>> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Hi Fatima, >>>>>> >>>>>> Please keep the mailing list in the loop. >>>>>> >>>>>> Ok so I guess your OS is OS X and not iOS. >>>>>> This link is a bit old and outdated but it should give you some hints >>>>>> on how to setup your Eclipse. >>>>>> >>>>>> >>>>>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>>>>> >>>>>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>>>>> >>>>>> You can also download the binaries from our dashboard here: >>>>>> >>>>>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>>>>> >>>>>> Don't forget to unzip the native jar file. >>>>>> >>>>>> On a side note, you will have to use JOGL as a dependency for >>>>>> rendering. You may find some mention on that in the mailing list archive. >>>>>> >>>>>> Seb >>>>>> >>>>>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>>>>> felfilali at dons.usfca.edu> wrote: >>>>>> >>>>>>> Hello Seb, >>>>>>> I basically installed cmake, used it to generate make files, run >>>>>>> make and make install. My OS is iOS. Ideally I would like to run my code on >>>>>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>>>>> The thing is I don't know where to start at this point. All I want >>>>>>> to do is run some of the examples that came with vtk so that I can learn >>>>>>> from them and write my own. >>>>>>> Thanks so much for your help. >>>>>>> Fatima >>>>>>> >>>>>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>>> >>>>>>>> Depending on your OS, you will have to set a system variable with >>>>>>>> the path of the directory that contains the VTK library, before launching >>>>>>>> your application. >>>>>>>> >>>>>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>>>>> OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>>>>> >>>>>>>> For more help, you will need to explain more your actions and what >>>>>>>> was the error. >>>>>>>> >>>>>>>> Seb >>>>>>>> >>>>>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> I was able to install vtk with the Examples but I am having >>>>>>>>> trouble running them. >>>>>>>>> I am very new to vtk but comfortable with Java. >>>>>>>>> Any how-tos you can direct me to? >>>>>>>>> Thanks >>>>>>>>> Fatima >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> Search the list archives at: >>>>>>>>> http://markmail.org/search/?q=vtkusers >>>>>>>>> >>>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Feb 18 16:27:24 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 18 Feb 2015 14:27:24 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: Did you turn ON the JAVA wrapping? On Wed, Feb 18, 2015 at 2:00 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > I am rebuilding with shared libraries checked. Will let you know if that > solves the problem. > Thanks > > On Wed, Feb 18, 2015 at 12:24 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> Here: >> >> $ ls ~/vtkSource/VTK >> >> Accelerators Common GUISupport Parallel Views >> >> CMake Copyright.txt Geovis README.html Web >> >> CMakeLists.txt Deprecated IO Rendering Wrapping >> >> CONTRIBUTING.md Domains Imaging Testing vtkBanner.gif >> >> CTestConfig.cmake Examples Infovis ThirdParty vtkLogo.ico >> >> Charts Filters Interaction Utilities vtkLogo.jpg >> >> On Wed, Feb 18, 2015 at 12:15 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Were is VTK? >>> >>> On Wed, Feb 18, 2015 at 12:12 PM, Fatima Zahra El Filali < >>> felfilali at dons.usfca.edu> wrote: >>> >>>> Hey Seb, >>>> >>>> Thanks for your response. That is how I have the env var set but I >>>> still get: >>>> >>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no >>>> vtkCommonJava in java.library.path >>>> >>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) >>>> >>>> at java.lang.Runtime.loadLibrary0(Runtime.java:849) >>>> >>>> at java.lang.System.loadLibrary(System.java:1087) >>>> >>>> at VTKSample.(VTKSample.java:19) >>>> >>>> Those 2 dirs have the following in them: >>>> >>>> $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib >>>> >>>> libcdt.5.dylib >>>> >>>> libcgraph.6.dylib >>>> >>>> libgvc.6.dylib >>>> >>>> libgvpr.2.dylib >>>> >>>> libhtp-0.2.1.dylib >>>> >>>> libpathplan.4.dylib >>>> >>>> libxdot.4.dylib >>>> >>>> ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib >>>> >>>> libgvplugin_core.6.dylib >>>> >>>> libgvplugin_core.dylib >>>> >>>> libgvplugin_dot_layout.6.dylib >>>> >>>> libgvplugin_dot_layout.dylib >>>> >>>> libgvplugin_neato_layout.6.dylib >>>> >>>> libgvplugin_neato_layout.dylib >>>> >>>> libgvplugin_pango.6.dylib >>>> >>>> libgvplugin_pango.dylib >>>> >>>> libgvplugin_quartz.6.dylib >>>> >>>> libgvplugin_quartz.dylib >>>> >>>> libgvplugin_xlib.6.dylib >>>> >>>> libgvplugin_xlib.dylib >>>> >>>> >>>> So there is no mention of vtkCommonJava, even when I do a search for it >>>> in my filesystem. >>>> >>>> Fatima >>>> >>>> On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Not sure to know where all your VTK dylibs files. >>>>> >>>>> But you can do something like that >>>>> >>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ >>>>> natives-Darwin-x86_64/graphviz >>>>> >>>>> On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < >>>>> felfilali at dons.usfca.edu> wrote: >>>>> >>>>>> Hey Seb, >>>>>> >>>>>> Thanks for the links. >>>>>> >>>>>> I am trying to run the cone example from the link you sent me. >>>>>> >>>>>> I set my env var to: >>>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >>>>>> >>>>>> also tried it with : >>>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >>>>>> >>>>>> >>>>>> Since my find */dylib returned filed in both directories. >>>>>> >>>>>> >>>>>> However when I run the program I get the following exception: >>>>>> >>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: >>>>>> vtk.vtkRenderWindow.VTKInit()J >>>>>> >>>>>> at vtk.vtkRenderWindow.VTKInit(Native Method) >>>>>> >>>>>> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >>>>>> >>>>>> at vtk.vtkObject.(vtkObject.java:94) >>>>>> >>>>>> at vtk.vtkWindow.(vtkWindow.java:182) >>>>>> >>>>>> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >>>>>> >>>>>> at vtk.vtkPanel.(vtkPanel.java:27) >>>>>> >>>>>> at VTKSample.main(VTKSample.java:22) >>>>>> >>>>>> >>>>>> Any ideas? I have a feeling its the env var that is not right but >>>>>> there are no other locations that contain the vtk dylib files. >>>>>> >>>>>> >>>>>> Thanks again >>>>>> >>>>>> Fatima >>>>>> >>>>>> >>>>>> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>> >>>>>>> Hi Fatima, >>>>>>> >>>>>>> Please keep the mailing list in the loop. >>>>>>> >>>>>>> Ok so I guess your OS is OS X and not iOS. >>>>>>> This link is a bit old and outdated but it should give you some >>>>>>> hints on how to setup your Eclipse. >>>>>>> >>>>>>> >>>>>>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>>>>>> >>>>>>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>>>>>> >>>>>>> You can also download the binaries from our dashboard here: >>>>>>> >>>>>>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>>>>>> >>>>>>> Don't forget to unzip the native jar file. >>>>>>> >>>>>>> On a side note, you will have to use JOGL as a dependency for >>>>>>> rendering. You may find some mention on that in the mailing list archive. >>>>>>> >>>>>>> Seb >>>>>>> >>>>>>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>> >>>>>>>> Hello Seb, >>>>>>>> I basically installed cmake, used it to generate make files, run >>>>>>>> make and make install. My OS is iOS. Ideally I would like to run my code on >>>>>>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>>>>>> The thing is I don't know where to start at this point. All I want >>>>>>>> to do is run some of the examples that came with vtk so that I can learn >>>>>>>> from them and write my own. >>>>>>>> Thanks so much for your help. >>>>>>>> Fatima >>>>>>>> >>>>>>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>>>> >>>>>>>>> Depending on your OS, you will have to set a system variable with >>>>>>>>> the path of the directory that contains the VTK library, before launching >>>>>>>>> your application. >>>>>>>>> >>>>>>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>>>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>>>>>> OS >>>>>>>>> X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>>>>>> >>>>>>>>> For more help, you will need to explain more your actions and what >>>>>>>>> was the error. >>>>>>>>> >>>>>>>>> Seb >>>>>>>>> >>>>>>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> I was able to install vtk with the Examples but I am having >>>>>>>>>> trouble running them. >>>>>>>>>> I am very new to vtk but comfortable with Java. >>>>>>>>>> Any how-tos you can direct me to? >>>>>>>>>> Thanks >>>>>>>>>> Fatima >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>>> Search the list archives at: >>>>>>>>>> http://markmail.org/search/?q=vtkusers >>>>>>>>>> >>>>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Wed Feb 18 16:27:57 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 18 Feb 2015 14:27:57 -0700 Subject: [vtkusers] VTK Java help In-Reply-To: References: Message-ID: You can not use the Java wrapping if you are not using shared libraries. On Wed, Feb 18, 2015 at 2:27 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Did you turn ON the JAVA wrapping? > > On Wed, Feb 18, 2015 at 2:00 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> I am rebuilding with shared libraries checked. Will let you know if that >> solves the problem. >> Thanks >> >> On Wed, Feb 18, 2015 at 12:24 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Here: >>> >>> $ ls ~/vtkSource/VTK >>> >>> Accelerators Common GUISupport Parallel Views >>> >>> CMake Copyright.txt Geovis README.html Web >>> >>> CMakeLists.txt Deprecated IO Rendering Wrapping >>> >>> CONTRIBUTING.md Domains Imaging Testing vtkBanner.gif >>> >>> CTestConfig.cmake Examples Infovis ThirdParty vtkLogo.ico >>> >>> Charts Filters Interaction Utilities vtkLogo.jpg >>> >>> On Wed, Feb 18, 2015 at 12:15 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Were is VTK? >>>> >>>> On Wed, Feb 18, 2015 at 12:12 PM, Fatima Zahra El Filali < >>>> felfilali at dons.usfca.edu> wrote: >>>> >>>>> Hey Seb, >>>>> >>>>> Thanks for your response. That is how I have the env var set but I >>>>> still get: >>>>> >>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: no >>>>> vtkCommonJava in java.library.path >>>>> >>>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) >>>>> >>>>> at java.lang.Runtime.loadLibrary0(Runtime.java:849) >>>>> >>>>> at java.lang.System.loadLibrary(System.java:1087) >>>>> >>>>> at VTKSample.(VTKSample.java:19) >>>>> >>>>> Those 2 dirs have the following in them: >>>>> >>>>> $ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib >>>>> >>>>> libcdt.5.dylib >>>>> >>>>> libcgraph.6.dylib >>>>> >>>>> libgvc.6.dylib >>>>> >>>>> libgvpr.2.dylib >>>>> >>>>> libhtp-0.2.1.dylib >>>>> >>>>> libpathplan.4.dylib >>>>> >>>>> libxdot.4.dylib >>>>> >>>>> ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib >>>>> >>>>> libgvplugin_core.6.dylib >>>>> >>>>> libgvplugin_core.dylib >>>>> >>>>> libgvplugin_dot_layout.6.dylib >>>>> >>>>> libgvplugin_dot_layout.dylib >>>>> >>>>> libgvplugin_neato_layout.6.dylib >>>>> >>>>> libgvplugin_neato_layout.dylib >>>>> >>>>> libgvplugin_pango.6.dylib >>>>> >>>>> libgvplugin_pango.dylib >>>>> >>>>> libgvplugin_quartz.6.dylib >>>>> >>>>> libgvplugin_quartz.dylib >>>>> >>>>> libgvplugin_xlib.6.dylib >>>>> >>>>> libgvplugin_xlib.dylib >>>>> >>>>> >>>>> So there is no mention of vtkCommonJava, even when I do a search for >>>>> it in my filesystem. >>>>> >>>>> Fatima >>>>> >>>>> On Wed, Feb 18, 2015 at 10:27 AM, Sebastien Jourdain < >>>>> sebastien.jourdain at kitware.com> wrote: >>>>> >>>>>> Not sure to know where all your VTK dylibs files. >>>>>> >>>>>> But you can do something like that >>>>>> >>>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64:/usr/local/ >>>>>> natives-Darwin-x86_64/graphviz >>>>>> >>>>>> On Tue, Feb 17, 2015 at 6:47 PM, Fatima Zahra El Filali < >>>>>> felfilali at dons.usfca.edu> wrote: >>>>>> >>>>>>> Hey Seb, >>>>>>> >>>>>>> Thanks for the links. >>>>>>> >>>>>>> I am trying to run the cone example from the link you sent me. >>>>>>> >>>>>>> I set my env var to: >>>>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/ >>>>>>> >>>>>>> also tried it with : >>>>>>> DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/ >>>>>>> >>>>>>> >>>>>>> Since my find */dylib returned filed in both directories. >>>>>>> >>>>>>> >>>>>>> However when I run the program I get the following exception: >>>>>>> >>>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: >>>>>>> vtk.vtkRenderWindow.VTKInit()J >>>>>>> >>>>>>> at vtk.vtkRenderWindow.VTKInit(Native Method) >>>>>>> >>>>>>> at vtk.vtkObjectBase.(vtkObjectBase.java:43) >>>>>>> >>>>>>> at vtk.vtkObject.(vtkObject.java:94) >>>>>>> >>>>>>> at vtk.vtkWindow.(vtkWindow.java:182) >>>>>>> >>>>>>> at vtk.vtkRenderWindow.(vtkRenderWindow.java:602) >>>>>>> >>>>>>> at vtk.vtkPanel.(vtkPanel.java:27) >>>>>>> >>>>>>> at VTKSample.main(VTKSample.java:22) >>>>>>> >>>>>>> >>>>>>> Any ideas? I have a feeling its the env var that is not right but >>>>>>> there are no other locations that contain the vtk dylib files. >>>>>>> >>>>>>> >>>>>>> Thanks again >>>>>>> >>>>>>> Fatima >>>>>>> >>>>>>> >>>>>>> On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain < >>>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>>> >>>>>>>> Hi Fatima, >>>>>>>> >>>>>>>> Please keep the mailing list in the loop. >>>>>>>> >>>>>>>> Ok so I guess your OS is OS X and not iOS. >>>>>>>> This link is a bit old and outdated but it should give you some >>>>>>>> hints on how to setup your Eclipse. >>>>>>>> >>>>>>>> >>>>>>>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk >>>>>>>> >>>>>>>> So remember to set DYLD_LIBRARY_PATH instead of PATH. >>>>>>>> >>>>>>>> You can also download the binaries from our dashboard here: >>>>>>>> >>>>>>>> https://open.cdash.org/viewFiles.php?buildid=3689913 >>>>>>>> >>>>>>>> Don't forget to unzip the native jar file. >>>>>>>> >>>>>>>> On a side note, you will have to use JOGL as a dependency for >>>>>>>> rendering. You may find some mention on that in the mailing list archive. >>>>>>>> >>>>>>>> Seb >>>>>>>> >>>>>>>> On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali < >>>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>>> >>>>>>>>> Hello Seb, >>>>>>>>> I basically installed cmake, used it to generate make files, run >>>>>>>>> make and make install. My OS is iOS. Ideally I would like to run my code on >>>>>>>>> Eclipse, but I dont mind vi-ing and running java on command line. >>>>>>>>> The thing is I don't know where to start at this point. All I want >>>>>>>>> to do is run some of the examples that came with vtk so that I can learn >>>>>>>>> from them and write my own. >>>>>>>>> Thanks so much for your help. >>>>>>>>> Fatima >>>>>>>>> >>>>>>>>> On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain < >>>>>>>>> sebastien.jourdain at kitware.com> wrote: >>>>>>>>> >>>>>>>>>> Depending on your OS, you will have to set a system variable with >>>>>>>>>> the path of the directory that contains the VTK library, before launching >>>>>>>>>> your application. >>>>>>>>>> >>>>>>>>>> Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll] >>>>>>>>>> Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so] >>>>>>>>>> OS >>>>>>>>>> X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib] >>>>>>>>>> >>>>>>>>>> For more help, you will need to explain more your actions and >>>>>>>>>> what was the error. >>>>>>>>>> >>>>>>>>>> Seb >>>>>>>>>> >>>>>>>>>> On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali < >>>>>>>>>> felfilali at dons.usfca.edu> wrote: >>>>>>>>>> >>>>>>>>>>> Hello, >>>>>>>>>>> I was able to install vtk with the Examples but I am having >>>>>>>>>>> trouble running them. >>>>>>>>>>> I am very new to vtk but comfortable with Java. >>>>>>>>>>> Any how-tos you can direct me to? >>>>>>>>>>> Thanks >>>>>>>>>>> Fatima >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>>> Search the list archives at: >>>>>>>>>>> http://markmail.org/search/?q=vtkusers >>>>>>>>>>> >>>>>>>>>>> Follow this link to subscribe/unsubscribe: >>>>>>>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Wed Feb 18 18:16:07 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Wed, 18 Feb 2015 15:16:07 -0800 Subject: [vtkusers] Off-screen rendering on a cluster In-Reply-To: <54E4F59A.1020501@gmail.com> References: <54E4F59A.1020501@gmail.com> Message-ID: <54E51D37.4040400@gmail.com> Hi Nick, One option is to build VTK without X and with OSMesa, a software based renderer that comes with Mesa3D OpenGL. The following link is about ParaView but also applies to VTK. http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D Burlen On 02/18/2015 12:27 PM, Nick Gnedin wrote: > > Folks, > > I list at the end a short test code that displays a sphere and dumps > an image of the scene. The RenderWindow is set for off-screen > rendering, and on a regular Linux desktop it works as expected. Now I > would like to run it on a regular cluster in a batch mode. When I open > an interactive batch job on a worker node (they sit on a separate > private network and have no access to Internet) and run my test, it > displays an error message and triggers an abort. Can anyone suggest a > fix or share a previous experience? As I understand, the problem is > that a worker node does not have a valid X11 Dispay. > > Many thanks, > > Nick Gnedin > > > (gdb) run > Starting program: /lustre/gnedin/TMP/OS/test > [Thread debugging using libthread_db enabled] > ERROR: In > /lustre/gnedin/TMP/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, > line 531 > vtkXOpenGLRenderWindow (0x1fd2850): bad X server connection. > DISPLAY=[New Thread 0x2af3852c5e60 (LWP 29341)] > > Program received signal SIGABRT, Aborted. > 0x00002af384f90265 in raise () from /lib64/libc.so.6 > (gdb) where > #0 0x00002af384f90265 in raise () from /lib64/libc.so.6 > #1 0x00002af384f91d10 in abort () from /lib64/libc.so.6 > #2 0x00002af377687b0c in vtkXOpenGLRenderWindow::CreateAWindow ( > this=0x1fd2850) > at > /lustre/gnedin/TMP/VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:532 > > Here is the code segment (VTK 6.1.0) causing the abort: > > 524 // get the default display connection > 525 if (!this->DisplayId) > 526 { > 527 this->DisplayId = XOpenDisplay(static_cast(NULL)); > 528 if (this->DisplayId == NULL) > 529 { > 530 vtkErrorMacro(<< "bad X server connection. DISPLAY=" > 531 << vtksys::SystemTools::GetEnv("DISPLAY") << ". > Aborting.\n"); > 532 abort(); > 533 } > 534 this->OwnDisplay = 1; > 535 } > > My test code: > > #include > #include > #include > #include > #include > #include > #include > > > int main() > { > vtkRenderWindow *win = vtkRenderWindow::New(); > win->SetOffScreenRendering(1); > > vtkRenderer *ren = vtkRenderer::New(); > win->AddRenderer(ren); > > vtkActor *act = vtkActor::New(); > ren->AddViewProp(act); > > vtkPolyDataMapper *map = vtkPolyDataMapper::New(); > act->SetMapper(map); > > vtkSphereSource *obj = vtkSphereSource::New(); > map->SetInputConnection(obj->GetOutputPort()); > > win->Render(); > > vtkRenderLargeImage *rli = vtkRenderLargeImage::New(); > rli->SetInput(ren); > > vtkPNGWriter *out = vtkPNGWriter::New(); > out->SetFileName("test.png"); > out->SetInputConnection(rli->GetOutputPort()); > out->Write(); > > return 0; > } > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers From madaramh at gmail.com Thu Feb 19 01:58:32 2015 From: madaramh at gmail.com (madz) Date: Wed, 18 Feb 2015 23:58:32 -0700 (MST) Subject: [vtkusers] vtk point data extraction problem Message-ID: <1424329112859-5730440.post@n5.nabble.com> I have the following polydata. As you can see, these is a hollow in the middle of the polydata. I need to find the point data of a given outline of the hollow, which will give a hollow shaped cylinder. eg - I need to find the point data of the cylinder as drawn in black in the following image. a) Is it possible to extract a cylindrical polydata from the hollowed inner surface? b) If I have the cylindrical surface polydata of the hollow can I use it to cut the original polydata (as a cutting plane)? c) If neither of these are possible what other ways can I use to solve this problem? I would be extremely grateful for any insight upon this problem. -- View this message in context: http://vtk.1045678.n5.nabble.com/vtk-point-data-extraction-problem-tp5730440.html Sent from the VTK - Users mailing list archive at Nabble.com. From taleb.alashkar at telecom-lille.fr Thu Feb 19 04:03:00 2015 From: taleb.alashkar at telecom-lille.fr (seafather) Date: Thu, 19 Feb 2015 02:03:00 -0700 (MST) Subject: [vtkusers] normal estimation "z" component Message-ID: <1424336580542-5730441.post@n5.nabble.com> Hello, I am trying to estimate the normal on a mesh. I need only the "z" coponent of each normal for each veterx. I am writing this code, but it doesnt work //// Normal Estiamtion vtkSmartPointer polydata = vtkSmartPointer::New(); vtkSmartPointer normalGenerator = vtkSmartPointer::New(); #if VTK_MAJOR_VERSION <= 5 normalGenerator->SetInput(FaceImporter); #else normalGenerator->SetInputData(FaceImporter); #endif normalGenerator->ComputePointNormalsOn(); normalGenerator->ComputeCellNormalsOn(); normalGenerator->ConsistencyOn() ; normalGenerator->AutoOrientNormalsOn() ; normalGenerator->Update(); polydata=normalGenerator->GetOutput(); vtkFloatArray* normalDataFloat = vtkFloatArray::SafeDownCast(polydata->GetCellData()->GetNormals()); int nc = normalDataFloat->GetNumberOfTuples(); cout << "There are " << nc << " components in normalDataFloat" <GetPoint(i, pN); cout << "Point ids " << i << ": " << pN[0] << " " << pN[1] << " " << pN[2] << endl; double testDouble[3]; normalDataFloat->GetTuple(i, testDouble); cout << "Double: " << testDouble[0] << " " << testDouble[1] << " " << testDouble[2] << endl; } In my understanding that the x,y,z component of the Normal are the testDouble[0],testDouble[1],testDouble[2] respectively. I want to visualize only the "z" components of the normals on the render , how can I add them together to the mapper ? Greetings Taleb Any suggestion? -- View this message in context: http://vtk.1045678.n5.nabble.com/normal-estimation-z-component-tp5730441.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Thu Feb 19 11:26:02 2015 From: daviddoria at gmail.com (David Doria) Date: Thu, 19 Feb 2015 11:26:02 -0500 Subject: [vtkusers] normal estimation "z" component In-Reply-To: <1424336580542-5730441.post@n5.nabble.com> References: <1424336580542-5730441.post@n5.nabble.com> Message-ID: On Thu, Feb 19, 2015 at 4:03 AM, seafather wrote: > Hello, > I am trying to estimate the normal on a mesh. > I need only the "z" coponent of each normal for each veterx. > I am writing this code, but it doesnt work > > > //// Normal > Estiamtion > > > > vtkSmartPointer polydata = > vtkSmartPointer::New(); > > > vtkSmartPointer normalGenerator = > vtkSmartPointer::New(); > > #if VTK_MAJOR_VERSION <= 5 > > normalGenerator->SetInput(FaceImporter); > #else > > normalGenerator->SetInputData(FaceImporter); > #endif > > normalGenerator->ComputePointNormalsOn(); > > normalGenerator->ComputeCellNormalsOn(); > > normalGenerator->ConsistencyOn() ; > > normalGenerator->AutoOrientNormalsOn() ; > > normalGenerator->Update(); > > > polydata=normalGenerator->GetOutput(); > > vtkFloatArray* > normalDataFloat = > vtkFloatArray::SafeDownCast(polydata->GetCellData()->GetNormals()); > > > int nc = > normalDataFloat->GetNumberOfTuples(); > > cout << "There are " << nc > << " components in normalDataFloat" < > int nup=nc/3; > double pN[3]; > > for(vtkIdType i = 0; i <nup; i++) > { > polydata->GetPoint(i, pN); > cout << "Point ids " << i << ": " << pN[0] << " " << pN[1] << " " << pN[2] > << endl; > double testDouble[3]; > normalDataFloat->GetTuple(i, testDouble); > cout << "Double: " << testDouble[0] << " " << testDouble[1] << " " << > testDouble[2] << endl; > > } > > > In my understanding that the x,y,z component of the Normal are the > testDouble[0],testDouble[1],testDouble[2] respectively. > > I want to visualize only the "z" components of the normals on the render , > how can I add them together to the mapper ? > > Greetings > Taleb > > Any suggestion? > Here is a new example that shows how to extract a component from an array using the vtkArrayCalculator filter: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ExtractArrayComponent Let us know if that does what you're looking for. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKang at childrensnational.org Fri Feb 20 10:50:44 2015 From: SKang at childrensnational.org (Kang, Sukryool) Date: Fri, 20 Feb 2015 15:50:44 +0000 Subject: [vtkusers] Linear Interpolation on 3D image data Message-ID: Hi everyone, I am trying to do linear interpolation on 3D image data. I have used mechanically scanned ultrasound images to construct 3D volume. Ultrasound probe is mounted on the linear stage. I am getting exact positions along the stage movement direction (Z axis). The 2D images are aligned along X and Y axes. I have saved stack of 2D images as vtkimagedata without the stage location information (Z values). The problem is that the 2D ultrasound images are not even distributed along Z axis. I want to do linear interpolation along the Z axis to construct structured 3D image data. Actually, I need to do 1 dimensional linear interpolation along the Z axis. I don't need to do any interpolation along X and Y axes. I can do the 1D linear interpolation along the Z axis. The image resolution is about 800 x 780 x 250. If I do the linear interpolation of 800x780 pixels along the Z axis, it takes some time. I am doing a real time visualization. Is there any way to do linear interpolation fast using VTK? Thank you for your help. ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alejandro88_ at hotmail.com Fri Feb 20 11:11:46 2015 From: alejandro88_ at hotmail.com (=?Windows-1252?B?QWxlamFuZHJvIFJvZHLtZ3VleiBBZ3VpbGVyYQ==?=) Date: Fri, 20 Feb 2015 17:11:46 +0100 Subject: [vtkusers] Linear Interpolation on 3D image data In-Reply-To: References: Message-ID: Hello, If I understood well, and you don't need XY interpolation, would it not be enough to get the images bounding the current sampling point (aka, the "previous" and "next" images, determined by their Z coordinate and the Z coordinate of the current sampling point in the structure 3D image), sample both images for the XY coordinates of the sampling point, and then doing the 1D linear interpolation, using the three Z coordinates? This may take some time as you mention but, since it seems a preprocess step, only needed once before starting to visualize, I don't see the problem. If this is not the case and you need to perform this step several times, my guess is that you should consider using the GPU to construct the 3D image data (using CUDA, OpenCL or OpenGL compute shaders, for example) and feed it to VTK, since the amount of data you are handling is big enough and the algorithm is parallelizable enough. Best regards, Alex From: SKang at childrensnational.org To: vtkusers at vtk.org Date: Fri, 20 Feb 2015 15:50:44 +0000 Subject: [vtkusers] Linear Interpolation on 3D image data Hi everyone, I am trying to do linear interpolation on 3D image data. I have used mechanically scanned ultrasound images to construct 3D volume. Ultrasound probe is mounted on the linear stage. I am getting exact positions along the stage movement direction (Z axis). The 2D images are aligned along X and Y axes. I have saved stack of 2D images as vtkimagedata without the stage location information (Z values). The problem is that the 2D ultrasound images are not even distributed along Z axis. I want to do linear interpolation along the Z axis to construct structured 3D image data. Actually, I need to do 1 dimensional linear interpolation along the Z axis. I don?t need to do any interpolation along X and Y axes. I can do the 1D linear interpolation along the Z axis. The image resolution is about 800 x 780 x 250. If I do the linear interpolation of 800x780 pixels along the Z axis, it takes some time. I am doing a real time visualization. Is there any way to do linear interpolation fast using VTK? Thank you for your help. Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKang at childrensnational.org Fri Feb 20 11:32:48 2015 From: SKang at childrensnational.org (Kang, Sukryool) Date: Fri, 20 Feb 2015 16:32:48 +0000 Subject: [vtkusers] Linear Interpolation on 3D image data In-Reply-To: References: Message-ID: Hi Alex, Thank you for recommendations. I need to update images continuously. I wanted to check whether there is any solution using VTK or not. I will use CUDA or OpenGL to solve my issue. Thank you for your help. Best regards, Alan From: Alejandro Rodr?guez Aguilera [mailto:alejandro88_ at hotmail.com] Sent: Friday, February 20, 2015 11:12 AM To: Kang, Sukryool; vtkusers at vtk.org Subject: RE: [vtkusers] Linear Interpolation on 3D image data Hello, If I understood well, and you don't need XY interpolation, would it not be enough to get the images bounding the current sampling point (aka, the "previous" and "next" images, determined by their Z coordinate and the Z coordinate of the current sampling point in the structure 3D image), sample both images for the XY coordinates of the sampling point, and then doing the 1D linear interpolation, using the three Z coordinates? This may take some time as you mention but, since it seems a preprocess step, only needed once before starting to visualize, I don't see the problem. If this is not the case and you need to perform this step several times, my guess is that you should consider using the GPU to construct the 3D image data (using CUDA, OpenCL or OpenGL compute shaders, for example) and feed it to VTK, since the amount of data you are handling is big enough and the algorithm is parallelizable enough. Best regards, Alex ________________________________ From: SKang at childrensnational.org To: vtkusers at vtk.org Date: Fri, 20 Feb 2015 15:50:44 +0000 Subject: [vtkusers] Linear Interpolation on 3D image data Hi everyone, I am trying to do linear interpolation on 3D image data. I have used mechanically scanned ultrasound images to construct 3D volume. Ultrasound probe is mounted on the linear stage. I am getting exact positions along the stage movement direction (Z axis). The 2D images are aligned along X and Y axes. I have saved stack of 2D images as vtkimagedata without the stage location information (Z values). The problem is that the 2D ultrasound images are not even distributed along Z axis. I want to do linear interpolation along the Z axis to construct structured 3D image data. Actually, I need to do 1 dimensional linear interpolation along the Z axis. I don't need to do any interpolation along X and Y axes. I can do the 1D linear interpolation along the Z axis. The image resolution is about 800 x 780 x 250. If I do the linear interpolation of 800x780 pixels along the Z axis, it takes some time. I am doing a real time visualization. Is there any way to do linear interpolation fast using VTK? Thank you for your help. ________________________________ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcplatt at dsl.pipex.com Fri Feb 20 11:33:16 2015 From: jcplatt at dsl.pipex.com (John Platt) Date: Fri, 20 Feb 2015 16:33:16 +0000 Subject: [vtkusers] Delete vtkPolyData from vtkAlgorithmOutput (VTK 5.10.1) Message-ID: <54E761CC.9000609@dsl.pipex.com> Hi All, (a) Trying to delete vtkPolyData using ... vtkPolyData* myPD = vtkPolyData::New() ; vtkAlgorithmOutput* algOut = myPD->GetProducerPort(); vtkAlgorithm* alg = algOut->GetProducer(); alg->Delete(); asserts with "e->Component->Net Count > 0" (b) If I do the same with vtkArcSource ... vtkArcSource* myArc = vtkArcSource::New(); vtkAlgorithmOutput* algOut = myArc->GetOutputPort( 0 ); vtkAlgorithm* alg = algOut->GetProducer(); alg->Delete(); OK. The problem arises because where the objects are being deleted, only vtkAlgorithmOutput* algOut is available and it would be nice to use the same code regardless of what produced the output. Any ideas? Thanks, John. From matimontg at gmail.com Fri Feb 20 16:04:37 2015 From: matimontg at gmail.com (Matias Montroull) Date: Fri, 20 Feb 2015 18:04:37 -0300 Subject: [vtkusers] KitWare | Read mhd/mha files Message-ID: Hi, I need to read mhd or mha (derived from Dicom slices) and to do so I've written this code: However... I'm getting the following error message and nothing is displayed *ERROR: In ..\..\..\..\vtksource-prefix\src\vtksource\Rendering\vtkImageActor.cxx, line 266* *vtkOpenGLImageActor (000000001F574230): This filter requires unsigned char scalars as input* The intention I have is to display the mhd or mha file as a set of images where the user can scroll through slices. Ultimately I will convert the mha file into a series of slices and read the directory with vtkDICOMImageReader rather than the MetaImageReader... Thank you, Matias. vtkMetaImageReader readerdicom1 = new vtkMetaImageReader(); readerdicom1.SetFileName(@"C:\test\CT3D.mha"); readerdicom1.Update(); vtkMetaImageReader readerdicom2 = new vtkMetaImageReader(); readerdicom2.SetFileName(@"C:test\RM3D.mha"); readerdicom2.Update(); vtkImageActor actor1 = vtkImageActor.New(); actor1.SetInput(readerdicom1.GetOutput()); vtkRenderer render = vtkRenderer.New(); render.AddActor(actor1); render.ResetCamera(); vtkRenderWindow renwin = vtkRenderWindow.New(); renwin.AddRenderer(render); vtkRenderWindowInteractor interactor = vtkRenderWindowInteractor.New(); vtkInteractorStyleImage estilo = vtkInteractorStyleImage.New(); interactor.SetInteractorStyle(estilo); interactor.SetRenderWindow(renwin); interactor.Initialize(); renwin.Render(); interactor.Start(); renwin.Render(); -------------- next part -------------- An HTML attachment was scrubbed... URL: From kubalagwa at gmail.com Fri Feb 20 16:44:32 2015 From: kubalagwa at gmail.com (=?UTF-8?B?SmFrdWIgxYHEhWd3YQ==?=) Date: Fri, 20 Feb 2015 22:44:32 +0100 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: References: <007d01d04acc$77be7a20$673b6e60$@uci.cu> Message-ID: Hello Ernesto, Described problem disapeared from my application quite long time ago, however, I'm not sure what was the real root cause. I have made quite many changes to my app architecture and some day everything just started to work as expected. If you don't want to waste to much time, try solutions proposed above by other VTK experts. Good luck, Jakub 2015-02-18 14:46 GMT+01:00 Aashish Chaudhary : > Yes, that would be because the older graphics card don't have the core > profile. It seems to me that Qt creates a core profile which does not > support older call / extensions which is used by the old volume mapper. > > - So the solution would be is > 1) load the compatibility profile > 2) use the new mapper > > > On Wed, Feb 18, 2015 at 5:31 AM, Andrea Brambilla > wrote: > >> Right, my bad, vtkOpenGLRenderWindow does not even override New(), so >> vtkRenderWindow is actually called. >> I use VTK 5.10 and Qt 4.8 on windows 7 x64 >> The reason why I had to use the GL_ARB_compatibility is that the opengl >> compatibility profile seems to be required by the QVTKWidget (I guess). It >> also seems that the driver of my graphics card (GeForce GTX 580) disables >> the compatibility profile by default. >> Notice that, if I use only VTK (without Qt), everything works fine >> without explicitly loading the compatibility profile. >> Also, if I run the same code (with QVTKWidget) on my laptop (which has an >> older graphics card) I don't need to load the compatibility profile either. >> >> >> On Tue, Feb 17, 2015 at 6:36 PM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> On Tue, Feb 17, 2015 at 11:12 AM, Ernesto Guevara >>> wrote: >>> >>>> Hi, I'm afraid cannot use OpenGL2 backend since I'm using VTK 5.10, is >>>> there any other way to do this??? >>>> I tried Andrea?s solution but I?m getting the message that the >>>> application couldn?t load the GL_ARB_compatibility extension. I checked >>>> with glxinfo and that extension is supported in my system, I can render the >>>> volume quite well without QT. I?m using VTK 5.10 with Ubuntu 14.10. do to >>>> this I cannot use QVTKWidget2. >>>> I can?t use vtkOpenGLRenderWindow because it is an abstract class I >>>> used vtkGenericOpenGLRenderWindow. >>>> I?ll keep trying. >>>> >>> >>> You shouldn't use the vtkOpenGLRenderWindow class, just use the >>> vtkRenderWindow::New() which will create the concrete class for you. You >>> may want to debug why its loading the compatability profile. >>> >>> >>>> >>>> Thanks >>>> Ernesto >>>> >>>> PS: I just sent this message to Andrea, sorry about duplicates. >>>> >>>> De: Andrea Brambilla [mailto:andrea.bram at gmail.com] >>>> Enviado el: Tuesday, February 17, 2015 9:11 AM >>>> Para: Aashish Chaudhary >>>> CC: Ernesto; vtkusers at public.kitware.com >>>> Asunto: Re: [vtkusers] Problem with volume rendering inside of Qt >>>> application >>>> >>>> I had a similar issue with QVTKWidget some time ago, which was due to >>>> OpenGL >>>> I solved the issue by checking for the available extensions when >>>> creating the QVTKWidget: >>>> >>>> QVTKWidget* createQVTKWidget(QWidget *parent) >>>> { >>>> // create a RenderWindow and loads the compatibility profile on it >>>> auto extManager= vtkSmartPointer::New(); >>>> auto renWin = vtkOpenGLRenderWindow::New(); >>>> extManager->SetRenderWindow(renWin); >>>> if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) >>>> extManager->LoadExtension("GL_ARB_compatibility"); >>>> else >>>> ep::log << "Warning: GL_ARB_compatibility extension cannot be >>>> loaded" << endl; >>>> >>>> // Create and add a renderer to the managed render window >>>> auto ren = vtkOpenGLRenderer::New(); >>>> ren->SetBackground(1, 1, 1); >>>> renWin->AddRenderer(ren); >>>> /// Create the QVTKWidget and adds the managed render window to it >>>> auto outWidget = new QVTKWidget(parent); >>>> outWidget->SetRenderWindow(renWin); >>>> >>>> assert(renWin->GetInteractor()); >>>> renWin->Delete(); >>>> ren->Delete(); >>>> return outWidget; >>>> } >>>> >>>> On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < >>>> aashish.chaudhary at kitware.com> wrote: >>>> If you are using older version of volume mapper (OpenGL backend) then >>>> it is possible that when using QT window, it's not finding the extensions >>>> its needed. Is it possible for you to try the OpenGL2 backend? >>>> >>>> Also, Do you see any error message on the console? >>>> >>>> Thanks, >>>> >>>> >>>> On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: >>>> Jakub ??gwa gmail.com> writes: >>>> >>>> > >>>> > Hello, >>>> > I have a strange problem with showing VTK volume in QVTKWidget. I can >>>> compile example such as as: >>>> > >>>> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand >>>> >>>> >>>> > it work fine. But when I want to use exactly the same code in my >>>> sample >>>> > Qt application (let's say - render only after user press a button) >>>> > nothing is shown in QVTKWidget (I tried also with QVTKInteractor >>>> instead >>>> > of the one from example). I have this problem only when I want to use >>>> > vtkVolume and than add the volume to renderer with AddVolume. If I >>>> make >>>> > other 3D visualisation for example with vtkContourFilter and than I >>>> add >>>> > it to renderer with AddActor method - everything works fine. >>>> > I was trying to solve this problem for a couple of days but I found >>>> > some things that I can't understand in any way. If I take, for >>>> example, >>>> > Medical4.cxx file and add there >>>> > #include >>>> > and than >>>> >>>> >>>> Hello Jakub I have the same problem with QVTKWidget and can't find a >>>> solution I've been stopped for 4 days. I need to know whether you >>>> managed to >>>> solve this problem and how did you solved it. >>>> >>>> Thanks in advance. >>>> Ernesto >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>>> >>>> >>>> >>>> -- >>>> | Aashish Chaudhary >>>> | Technical Leader >>>> | Kitware Inc. >>>> | http://www.kitware.com/company/team/chaudhary.html >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>> * >>> *| http://www.kitware.com/company/team/chaudhary.html >>> * >>> >> >> > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonid_dulman at yahoo.co.uk Sat Feb 21 13:33:41 2015 From: leonid_dulman at yahoo.co.uk (Leonid Dulman) Date: Sat, 21 Feb 2015 18:33:41 +0000 (UTC) Subject: [vtkusers] VTK 6.2.0rc1 problems Message-ID: <938038658.2388187.1424543621383.JavaMail.yahoo@mail.yahoo.com> Hi to all I begin testing VTK 6.2.0rc1 and from many examples (for example QGraphicsToColors) have got meassage Error: no override found for 'vtkContextDevice2D' my autoinitmacro is #define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL) #define vtkInteractionStyle_AUTOINIT 1(vtkInteractionStyle) #define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) #define vtkRenderingOpenGL_AUTOINIT 1(vtkRenderingOpenGL) #define vtkRenderingFreeTypeOpenGL_AUTOINIT 1(vtkRenderingFreeTypeOpenGL) #ifdef LINUX typedef unsigned long vtkWindowsDWORD; #define VTK_MAJOR_VERSION 6 #define VTK_THREAD_RETURN_TYPE void* #include "qatomic.h" #endif Thank you for any help -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.j.redmond at gmail.com Sun Feb 22 10:07:34 2015 From: michael.j.redmond at gmail.com (redmod79) Date: Sun, 22 Feb 2015 08:07:34 -0700 (MST) Subject: [vtkusers] select cell whose edge goes through implicit function but no points Message-ID: <1424617654347-5730476.post@n5.nabble.com> I'm using vtkExtractGeometry to extract cells that lie within an implicit function. I want to be able to select cells that not only have points within the implicit function, but also cells that do not have points within the implicit function, but have an edge that goes through it. I'm currently not able to do this. Any help would be greatly appreciated. Thanks. -- View this message in context: http://vtk.1045678.n5.nabble.com/select-cell-whose-edge-goes-through-implicit-function-but-no-points-tp5730476.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Sun Feb 22 13:10:29 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Sun, 22 Feb 2015 11:10:29 -0700 Subject: [vtkusers] select cell whose edge goes through implicit function but no points In-Reply-To: <1424617654347-5730476.post@n5.nabble.com> References: <1424617654347-5730476.post@n5.nabble.com> Message-ID: On Sun, Feb 22, 2015 at 8:07 AM, redmod79 wrote: > I'm using vtkExtractGeometry to extract cells that lie within an implicit > function. I want to be able to select cells that not only have points > within the implicit function, but also cells that do not have points within > the implicit function, but have an edge that goes through it. I'm > currently > not able to do this. Any help would be greatly appreciated. Thanks. > VTK only evaluates the function at the points, so other than subdividing the edge to give the algorithm more points to check at, there isn't much to do. What you really need is an algorithm that checks the function gradient at each of the edge's endpoints to "guess" whether the endpoints bracket a local minimum or maximum. The algorithm would then have to find this minimum (or maximum) to discover whether its sign is different from the sign of the function evaluated at the endpoints. VTK provides no such algorithm, as far as I'm aware. - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From sistephan at gmail.com Sun Feb 22 23:36:08 2015 From: sistephan at gmail.com (Sam) Date: Sun, 22 Feb 2015 21:36:08 -0700 (MST) Subject: [vtkusers] vtkSelectEnclosedPoints, vtkpolygon::PointInPolygon Journal Paper Message-ID: <1424666168062-5730478.post@n5.nabble.com> Hello, Are there journal/conference publications that discuss vtkSelectEnclosedPoints and vtkpolygon PointInPolygon? -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-vtkpolygon-PointInPolygon-Journal-Paper-tp5730478.html Sent from the VTK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Mon Feb 23 00:21:13 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 23 Feb 2015 00:21:13 -0500 Subject: [vtkusers] RC2: VTK_Group_Qt causes WebKit error and stencil is missing In-Reply-To: <928037952.38120.1424666476049.JavaMail.administrator@msam.nabble.com> References: <928037952.38120.1424666476049.JavaMail.administrator@msam.nabble.com> Message-ID: VTK_Group_Qt includes several Qt components at once. From your error, it looks like QtWebKit is among those included, and your version of Qt doesn't have WebKit. That is what the error says. You should either build WebKit or enable it during installation if you are not building Qt yourself. The alternative solution is to disable GroupQt, and only enable those Qt components you intend to use - they will appear as options after you click configure after disabling GroupQt. In the future, post your questions to the mailing list, and not to any particular person. That person might be busy and not reply quickly. HTH On Sun, Feb 22, 2015 at 11:41 PM, wrote: > Dear D?enan Zuki? , > > I am using VTK 6.2.0 with Qt 4.8.3 , configuaration success without > VTK_Group_Qt. > But if I turn on VTK_Group_Qt , i end up with the following error.. > > could you please suggest me a solutin ?? > > CMake Error at C:/Program Files > (x86)/CMake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 > (message): > Could NOT find Qt4 (missing: QT_QTWEBKIT_LIBRARY) (found version "4.8.3") > Call Stack (most recent call first): > C:/Program Files > (x86)/CMake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:374 > (_FPHSA_FAILURE_MESSAGE) > C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/FindQt4.cmake:1331 > (FIND_PACKAGE_HANDLE_STANDARD_ARGS) > GUISupport/QtWebkit/CMakeLists.txt:22 (find_package) > > _____________________________________ > Sent from http://vtk.1045678.n5.nabble.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From madaramh at gmail.com Mon Feb 23 05:09:26 2015 From: madaramh at gmail.com (madz) Date: Mon, 23 Feb 2015 03:09:26 -0700 (MST) Subject: [vtkusers] Get points within specific range Message-ID: <1424686166445-5730481.post@n5.nabble.com> What method can I use to get the points between a specific X range with static Y and Z values? eg - Get point ids between the ranges of, p1 - 0.1 ,0.23, 0.78 p2 - 123.0 ,0.23, 0.78 Any help would be greatly appreciated. -- View this message in context: http://vtk.1045678.n5.nabble.com/Get-points-within-specific-range-tp5730481.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Mon Feb 23 08:04:45 2015 From: daviddoria at gmail.com (David Doria) Date: Mon, 23 Feb 2015 08:04:45 -0500 Subject: [vtkusers] Get points within specific range In-Reply-To: <1424686166445-5730481.post@n5.nabble.com> References: <1424686166445-5730481.post@n5.nabble.com> Message-ID: On Mon, Feb 23, 2015 at 5:09 AM, madz wrote: > What method can I use to get the points between a specific X range with > static Y and Z values? > > eg - Get point ids between the ranges of, > p1 - 0.1 ,0.23, 0.78 > p2 - 123.0 ,0.23, 0.78 > > Any help would be greatly appreciated. > One way to do this would be to select points inside a cube that is huge (much much larger than your data) in two dimensions and with the bounds on your X range as the third dimension. Then you could use something like the following (though it is currently returning 0 points extracted, so you'll have to figure out what is wrong): #include #include #include #include #include #include int main(int, char *[]) { // Define your selection region vtkSmartPointer cubeSource = vtkSmartPointer::New(); cubeSource->SetCenter(0,0,0); cubeSource->SetXLength(1); cubeSource->SetYLength(1); cubeSource->SetZLength(1); cubeSource->Update(); double bounds[6]; cubeSource->GetOutput()->GetBounds(bounds); vtkSmartPointer frustum = vtkSmartPointer::New(); frustum->SetBounds(bounds); // Generate some points vtkSmartPointer pointSource = vtkSmartPointer::New(); pointSource->SetNumberOfPoints(500); pointSource->SetCenter(0,0,0); pointSource->SetRadius(5); pointSource->Update(); std::cout << "There are " << pointSource->GetOutput()->GetNumberOfPoints() << " input points." << std::endl; // Extract the points within the frustum vtkSmartPointer extractSelectedFrustum = vtkSmartPointer::New(); extractSelectedFrustum->SetFrustum(frustum); extractSelectedFrustum->SetInputData(pointSource->GetOutput()); extractSelectedFrustum->Update(); std::cout << "There are " << vtkDataSet::SafeDownCast (extractSelectedFrustum->GetOutput())->GetNumberOfPoints() << " output points." << std::endl; return EXIT_SUCCESS; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From taleb.alashkar at telecom-lille.fr Mon Feb 23 08:52:56 2015 From: taleb.alashkar at telecom-lille.fr (seafather) Date: Mon, 23 Feb 2015 06:52:56 -0700 (MST) Subject: [vtkusers] normal estimation "z" component In-Reply-To: References: <1424336580542-5730441.post@n5.nabble.com> Message-ID: <1424699576820-5730484.post@n5.nabble.com> Thank you david, I succeed to have the "z" component of the Normals in one vtkFloatArray but how can I viualize thme? thank you for your help. Greetings this is my code: vtkPolyDataMapper *mapper = vtkPolyDataMapper::New(); vtkActor *actor = vtkActor::New(); vtkRenderer *renderer = vtkRenderer::New(); vtkRenderWindow *renWin = vtkRenderWindow::New(); vtkRenderWindowInteractor *interactor = vtkRenderWindowInteractor::New(); vtkWindowToImageFilter *filter = vtkWindowToImageFilter::New(); vtkBMPWriter *imageWriter = vtkBMPWriter::New(); vtkImageShiftScale *scale = vtkImageShiftScale::New(); //// Normal Estiamtion vtkSmartPointer polydata = vtkSmartPointer::New(); vtkSmartPointer normalGenerator = vtkSmartPointer::New(); #if VTK_MAJOR_VERSION <= 5 normalGenerator->SetInput(FaceImporter); #else normalGenerator->SetInputData(FaceImporter); #endif normalGenerator->ComputePointNormalsOn(); normalGenerator->ComputeCellNormalsOn(); normalGenerator->ConsistencyOn() ; normalGenerator->AutoOrientNormalsOn() ; normalGenerator->Update(); polydata=normalGenerator->GetOutput(); vtkFloatArray* normalDataFloat = vtkFloatArray::SafeDownCast(polydata->GetCellData()->GetNormals()); int nc = normalDataFloat->GetNumberOfTuples(); int nup=nc/3; double pN[3]; vtkSmartPointer normal_z = vtkSmartPointer::New(); for(vtkIdType i = 0; i GetPoint(i, pN); double testDouble[3]; normalDataFloat->GetTuple(i, testDouble); normal_z->InsertNextValue(testDouble[2]); } //Visualization step vtkPolyDataMapper *mapper = vtkPolyDataMapper::New(); vtkActor *actor = vtkActor::New(); vtkRenderer *renderer = vtkRenderer::New(); vtkRenderWindow *renWin = vtkRenderWindow::New(); vtkRenderWindowInteractor *interactor = vtkRenderWindowInteractor::New(); HOW CAN I visulize the Normal_z here ? Greetings } -- View this message in context: http://vtk.1045678.n5.nabble.com/normal-estimation-z-component-tp5730441p5730484.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Mon Feb 23 09:09:24 2015 From: daviddoria at gmail.com (David Doria) Date: Mon, 23 Feb 2015 09:09:24 -0500 Subject: [vtkusers] normal estimation "z" component In-Reply-To: <1424699576820-5730484.post@n5.nabble.com> References: <1424336580542-5730441.post@n5.nabble.com> <1424699576820-5730484.post@n5.nabble.com> Message-ID: On Mon, Feb 23, 2015 at 8:52 AM, seafather wrote: > > Thank you david, > I succeed to have the "z" component of the Normals in one vtkFloatArray > but > how can I viualize thme? > thank you for your help. > Greetings > You'd probably have to construct a vector array of (0,0,z) to use as glyphs. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From sistephan at gmail.com Mon Feb 23 18:28:02 2015 From: sistephan at gmail.com (Sam) Date: Mon, 23 Feb 2015 16:28:02 -0700 (MST) Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54AEC24F.7040100@kitware.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> Message-ID: <1424734082887-5730488.post@n5.nabble.com> Hi Julien, Did Activiz 6.1 source code complete? I'm downloading the latest source through GIT as we speak to verify if 6.1 is there. git clone git://public.kitware.com/activizdotnet.git -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730488.html Sent from the VTK - Users mailing list archive at Nabble.com. From matthew.brett at gmail.com Mon Feb 23 19:10:10 2015 From: matthew.brett at gmail.com (Matthew Brett) Date: Mon, 23 Feb 2015 16:10:10 -0800 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: Hi, On Mon, Feb 16, 2015 at 1:43 PM, David E DeMarle wrote: > The VTK developement team is happy to announce that VTK 6.2 has entered the > release candidate stage! > > > You can find the source, data, and new vtkpython binary packages here: > > http://www.vtk.org/VTK/resources/software.html#latestcand Sorry if this is a silly question, but what is the file format of vtkpython-6.1.0-Darwin-64bit.tar.gz ? Downloading to my OSX machine, I get this: $ gunzip vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz gzip: vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz: not in gzip format Best, Matthew From david.gobbi at gmail.com Mon Feb 23 19:21:15 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 23 Feb 2015 17:21:15 -0700 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: On Mon, Feb 23, 2015 at 5:10 PM, Matthew Brett wrote: Sorry if this is a silly question, but what is the file format of > vtkpython-6.1.0-Darwin-64bit.tar.gz ? > > Downloading to my OSX machine, I get this: > > $ gunzip vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz > gzip: vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz: not in gzip format > I suspect that your web browser was trying to be "helpful" by unzipping it on-the-fly during the download. Try this tar -tf vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz If that works, then the file was automatically gunzip'ed by a poorly-behaved web browser. - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Feb 23 19:25:58 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 23 Feb 2015 19:25:58 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: Nope, that was my fault. The format is a dmg. Just rename the file to something.dmg and then it should open for you. thanks for reporting the issue, I'll get it fixed up tomorrow. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Feb 23, 2015 at 7:21 PM, David Gobbi wrote: > On Mon, Feb 23, 2015 at 5:10 PM, Matthew Brett > wrote: > > Sorry if this is a silly question, but what is the file format of >> vtkpython-6.1.0-Darwin-64bit.tar.gz ? >> >> Downloading to my OSX machine, I get this: >> >> $ gunzip vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz >> gzip: vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz: not in gzip format >> > > I suspect that your web browser was trying to be "helpful" by unzipping it > on-the-fly during the download. Try this > > tar -tf vtkpython-6.2.0.rc1-Darwin-64bit.tar.gz > > If that works, then the file was automatically gunzip'ed by a > poorly-behaved > web browser. > > - David > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.j.redmond at gmail.com Mon Feb 23 19:35:59 2015 From: michael.j.redmond at gmail.com (redmod79) Date: Mon, 23 Feb 2015 17:35:59 -0700 (MST) Subject: [vtkusers] select cell whose edge goes through implicit function but no points In-Reply-To: References: <1424617654347-5730476.post@n5.nabble.com> Message-ID: <1424738159349-5730494.post@n5.nabble.com> More precisely I'm using a frustum for my implicit function. I just found vtkExtractSelectedFrustum and it does exactly what I need. Thanks. -- View this message in context: http://vtk.1045678.n5.nabble.com/select-cell-whose-edge-goes-through-implicit-function-but-no-points-tp5730476p5730494.html Sent from the VTK - Users mailing list archive at Nabble.com. From Ravi.HM at LntTechservices.com Tue Feb 24 00:29:08 2015 From: Ravi.HM at LntTechservices.com (Ravi HM) Date: Tue, 24 Feb 2015 05:29:08 +0000 Subject: [vtkusers] vtkDICOMImageReader does not support to read all Dicom image format Message-ID: Hi All, Why vtkDICOMImageReader does not support to read all Dicom image format. Regards, Ravi L&T Technology Services Ltd www.LntTechservices.com This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.jomier at kitware.com Tue Feb 24 01:55:54 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Tue, 24 Feb 2015 07:55:54 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <1424734082887-5730488.post@n5.nabble.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <1424734082887-5730488.post@n5.nabble.com> Message-ID: <54EC207A.6090406@kitware.com> Hi Sam, Yes it is. Julien On 24/02/2015 00:28, Sam wrote: > Hi Julien, > > Did Activiz 6.1 source code complete? I'm downloading the latest source > through GIT as we speak to verify if 6.1 is there. > > git clone git://public.kitware.com/activizdotnet.git > > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730488.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > From abhishek at meddiff.com Tue Feb 24 01:59:12 2015 From: abhishek at meddiff.com (abhishek) Date: Mon, 23 Feb 2015 23:59:12 -0700 (MST) Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54EC207A.6090406@kitware.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <1424734082887-5730488.post@n5.nabble.com> <54EC207A.6090406@kitware.com> Message-ID: <007401d04fff$5c551900$14ff4b00$@meddiff.com> Hi Julien, can I compile for VS2013? Regards, Abhishek Gupta From: Julien Jomier [via VTK] [mailto:ml-node+s1045678n5730500h7 at n5.nabble.com] Sent: Tuesday, February 24, 2015 12:26 PM To: abhishek Subject: Re: VTK 6.1 & C# wrappers for WPF Application. Hi Sam, Yes it is. Julien On 24/02/2015 00:28, Sam wrote: > Hi Julien, > > Did Activiz 6.1 source code complete? I'm downloading the latest source > through GIT as we speak to verify if 6.1 is there. > > git clone git://public.kitware.com/activizdotnet.git > > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp57 30023p5730488.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers _____ If you reply to this email, your message will be added to the discussion below: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp57 30023p5730500.html To unsubscribe from VTK 6.1 & C# wrappers for WPF Application., click here . NAML -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730501.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.jomier at kitware.com Tue Feb 24 02:03:29 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Tue, 24 Feb 2015 08:03:29 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <007401d04fff$5c551900$14ff4b00$@meddiff.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <1424734082887-5730488.post@n5.nabble.com> <54EC207A.6090406@kitware.com> <007401d04fff$5c551900$14ff4b00$@meddiff.com> Message-ID: <54EC2241.1070003@kitware.com> You need Visual Studio 2005 or 2008 to compile ActiViz. Julien On 24/02/2015 07:59, abhishek wrote: > Hi Julien, can I compile for VS2013? > > Regards, > *Abhishek Gupta* > > *From:*Julien Jomier [via VTK] [mailto:[hidden email] > ] > *Sent:* Tuesday, February 24, 2015 12:26 PM > *To:* abhishek > *Subject:* Re: VTK 6.1 & C# wrappers for WPF Application. > > Hi Sam, > > Yes it is. > > Julien > > On 24/02/2015 00:28, Sam wrote: > > > > Hi Julien, > > > > Did Activiz 6.1 source code complete? I'm downloading the latest source > > through GIT as we speak to verify if 6.1 is there. > > > > git clone git://public.kitware.com/activizdotnet.git > > > > > > > > > > -- > > View this message in context: > http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730488.html > > Sent from the VTK - Users mailing list archive at Nabble.com. > > _______________________________________________ > > 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 > > > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/vtkusers > > > > _______________________________________________ > > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > ------------------------------------------------------------------------ > > *If you reply to this email, your message will be added to the > discussion below:* > > http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730500.html > > > To unsubscribe from VTK 6.1 & C# wrappers for WPF Application., click here. > NAML > > > > > ------------------------------------------------------------------------ > View this message in context: RE: VTK 6.1 & C# wrappers for WPF > Application. > > Sent from the VTK - Users mailing list archive > at Nabble.com. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > From davis.vigneault at gmail.com Tue Feb 24 05:11:13 2015 From: davis.vigneault at gmail.com (DVigneault) Date: Tue, 24 Feb 2015 03:11:13 -0700 (MST) Subject: [vtkusers] ImportError: No module named vtkCommonCorePython Message-ID: <1424772673031-5730504.post@n5.nabble.com> All-- I'm getting the following error (copied below) when attempting to import vtk in a python script. Traceback (most recent call last): File "doosabin/visualise_subdivision.py", line 16, in from rscommon import vtk_ File "/usr/local/lib/python2.7/dist-packages/rscommon/vtk_.py", line 13, in import vtk File "/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/__init__.py", line 39, in from vtkCommonCore import * File "/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/vtkCommonCore.py", line 1, in from vtkCommonCorePython import * ImportError: No module named vtkCommonCorePython And it's true that there doesn't seem to be any file vtkCommonCorePython.py (or with any other extension) in the Python/vtk/ directory. I've built and installed VTK with BUILD_SHARED_LIBS set to ON (I saw another thread [1] where someone was getting the same error, but had built with shared libs OFF) and VTK_WRAP_PYTHON set to ON. Initially I got an error 'no module named vtk,' which lead me to the page on python environment setup [2]. Not all of the directories listed on that page existed (usr/local/bin contains a vtkWrapPython-6.2 executable, but no VTK folder), so I instead added links to my build tree (rather than my install tree). $PYTHONPATH and $LD_LIBRARY_PATH are as follows: $ echo $PYTHONPATH :/home/davis/Developer/VTK/bin/:/home/davis/Developer/VTK/bin/Wrapping/Python/:/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/:/home/davis/Developer/VTK/bin/Wrapping/PythonCore/:/usr/local/bin/:/usr/local/bin/include/ echo $LD_LIBRARY_PATH /usr/local/lib/:/home/davis/Developer/VTK/bin I'm building 6.2 on Ubuntu 12.04, in case that gives any clues. Thanks in advance for your help! Best, --Davis [1] http://vtk.1045678.n5.nabble.com/vtkCommonCorePython-static-build-failure-td5714290.html http://www.vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup -- View this message in context: http://vtk.1045678.n5.nabble.com/ImportError-No-module-named-vtkCommonCorePython-tp5730504.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Tue Feb 24 08:25:10 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Tue, 24 Feb 2015 06:25:10 -0700 Subject: [vtkusers] ImportError: No module named vtkCommonCorePython In-Reply-To: <1424772673031-5730504.post@n5.nabble.com> References: <1424772673031-5730504.post@n5.nabble.com> Message-ID: Hi Davis, It is looking for vtkCommonCorePython.so in the lib directory. Use this, if your VTK build is in /home/davis/Developer/VTK/bin: PYTHONPATH=/home/davis/Developer/VTK/bin/Wrapping/Python/:/home/davis/Developer/VTK/bin/lib LD_LIBRARY_PATH=/home/davis/Developer/VTK/bin/lib You can also try running the vtkpython executable, which has these paths baked-in. - David On Tue, Feb 24, 2015 at 3:11 AM, DVigneault wrote: > All-- > > I'm getting the following error (copied below) when attempting to import > vtk > in a python script. > > Traceback (most recent call last): > File "doosabin/visualise_subdivision.py", line 16, in from > rscommon import vtk_ > File "/usr/local/lib/python2.7/dist-packages/rscommon/vtk_.py", line 13, > in import vtk > File "/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/__init__.py", > line > 39, in from vtkCommonCore import * > File > "/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/vtkCommonCore.py", > line 1, in from vtkCommonCorePython import * > ImportError: No module named vtkCommonCorePython > > And it's true that there doesn't seem to be any file vtkCommonCorePython.py > (or with any other extension) in the Python/vtk/ directory. I've built and > installed VTK with BUILD_SHARED_LIBS set to ON (I saw another thread [1] > where someone was getting the same error, but had built with shared libs > OFF) and VTK_WRAP_PYTHON set to ON. Initially I got an error 'no module > named vtk,' which lead me to the page on python environment setup [2]. Not > all of the directories listed on that page existed (usr/local/bin contains > a > vtkWrapPython-6.2 executable, but no VTK folder), so I instead added links > to my build tree (rather than my install tree). $PYTHONPATH and > $LD_LIBRARY_PATH are as follows: > > $ echo $PYTHONPATH > > :/home/davis/Developer/VTK/bin/:/home/davis/Developer/VTK/bin/Wrapping/Python/:/home/davis/Developer/VTK/bin/Wrapping/Python/vtk/:/home/davis/Developer/VTK/bin/Wrapping/PythonCore/:/usr/local/bin/:/usr/local/bin/include/ > > echo $LD_LIBRARY_PATH > /usr/local/lib/:/home/davis/Developer/VTK/bin > > I'm building 6.2 on Ubuntu 12.04, in case that gives any clues. Thanks in > advance for your help! > > Best, > > --Davis > > [1] > > http://vtk.1045678.n5.nabble.com/vtkCommonCorePython-static-build-failure-td5714290.html > http://www.vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matimontg at gmail.com Tue Feb 24 09:23:40 2015 From: matimontg at gmail.com (Matias Montroull) Date: Tue, 24 Feb 2015 11:23:40 -0300 Subject: [vtkusers] vtkDICOMImageReader does not support to read all Dicom image format In-Reply-To: References: Message-ID: Hi Ravi, which DICOM formats / Pixel Type does not support? On Tue, Feb 24, 2015 at 2:29 AM, Ravi HM wrote: > Hi All, > > > > Why vtkDICOMImageReader does not support to read all Dicom image format. > > > > Regards, > > Ravi > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhoppes at mbfbioscience.com Tue Feb 24 09:37:58 2015 From: dhoppes at mbfbioscience.com (Doug Hoppes) Date: Tue, 24 Feb 2015 14:37:58 +0000 Subject: [vtkusers] Is the flag Module_vtkRenderingVolumeOpenGLNew supported with the latest build of VTK? Message-ID: <46CB11F12B9DC24D860D4082451B318A14F2CAB8@exchange3.microbrightfield.com> Hi all, I was wondering if the flag for the new VTKVolumeRayCastMapper (Module_vtkRenderingVolumeOpenGLNew) supported with the latest version of VTK. I just tried it and still getting implementation issues with it. Doug Doug Hoppes I Senior Software Engineer I [cid:image007.png at 01CEF686.037AE7C0] T: 802-288-9290 E: dhoppes at mbfbioscience.com MBF Bioscience 185 Allen Brook Lane Williston, VT 05495 USA www.mbfbioscience.com http://www.mbfbioscience.com/blog [cid:image008.png at 01CEF686.037AE7C0] [cid:image011.png at 01CEF686.037AE7C0] [cid:image012.png at 01CEF686.037AE7C0] [cid:image014.png at 01CEF686.037AE7C0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2645 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 787 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 927 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 1170 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 870 bytes Desc: image005.png URL: From aashish.chaudhary at kitware.com Tue Feb 24 10:02:30 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 24 Feb 2015 10:02:30 -0500 Subject: [vtkusers] Problem with volume rendering inside of Qt application In-Reply-To: <001401d04fb3$91a69c60$b4f3d520$@uci.cu> References: <007d01d04acc$77be7a20$673b6e60$@uci.cu> <001401d04fb3$91a69c60$b4f3d520$@uci.cu> Message-ID: Awesome news. Thanks for the update. - Aashish On Mon, Feb 23, 2015 at 4:56 PM, Ernesto Guevara wrote: > Hi all, > > I did solve the problem. It was a kind of misconfiguration of the Graphics > card driver or something weird with Qt and OpenGL. I reinstalled my > graphics driver and all is OK now. Thanks for your mindful support. > > > > Cheers > > Ernesto > > > > > > > > > > *De:* Jakub ??gwa [mailto:kubalagwa at gmail.com] > *Enviado el:* Friday, February 20, 2015 4:45 PM > *Para:* Ernesto Guevara > *CC:* Andrea Brambilla; vtkusers at public.kitware.com; Aashish Chaudhary > > *Asunto:* Re: [vtkusers] Problem with volume rendering inside of Qt > application > > > > Hello Ernesto, > > Described problem disapeared from my application quite long time ago, > however, I'm not sure what was the real root cause. I have made quite many > changes to my app architecture and some day everything just started to work > as expected. If you don't want to waste to much time, try solutions > proposed above by other VTK experts. > > Good luck, > > Jakub > > > > 2015-02-18 14:46 GMT+01:00 Aashish Chaudhary < > aashish.chaudhary at kitware.com>: > > Yes, that would be because the older graphics card don't have the core > profile. It seems to me that Qt creates a core profile which does not > support older call / extensions which is used by the old volume mapper. > > > > - So the solution would be is > > 1) load the compatibility profile > > 2) use the new mapper > > > > > > On Wed, Feb 18, 2015 at 5:31 AM, Andrea Brambilla > wrote: > > Right, my bad, vtkOpenGLRenderWindow does not even override New(), so > vtkRenderWindow is actually called. > > I use VTK 5.10 and Qt 4.8 on windows 7 x64 > The reason why I had to use the GL_ARB_compatibility is that the opengl > compatibility profile seems to be required by the QVTKWidget (I guess). It > also seems that the driver of my graphics card (GeForce GTX 580) disables > the compatibility profile by default. > > Notice that, if I use only VTK (without Qt), everything works fine without > explicitly loading the compatibility profile. > Also, if I run the same code (with QVTKWidget) on my laptop (which has an > older graphics card) I don't need to load the compatibility profile either. > > > > On Tue, Feb 17, 2015 at 6:36 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > > On Tue, Feb 17, 2015 at 11:12 AM, Ernesto Guevara > wrote: > > Hi, I'm afraid cannot use OpenGL2 backend since I'm using VTK 5.10, is > there any other way to do this??? > I tried Andrea?s solution but I?m getting the message that the application > couldn?t load the GL_ARB_compatibility extension. I checked with glxinfo > and that extension is supported in my system, I can render the volume quite > well without QT. I?m using VTK 5.10 with Ubuntu 14.10. do to this I cannot > use QVTKWidget2. > I can?t use vtkOpenGLRenderWindow because it is an abstract class I used > vtkGenericOpenGLRenderWindow. > I?ll keep trying. > > > > You shouldn't use the vtkOpenGLRenderWindow class, just use the > vtkRenderWindow::New() which will create the concrete class for you. You > may want to debug why its loading the compatability profile. > > > > > Thanks > Ernesto > > PS: I just sent this message to Andrea, sorry about duplicates. > > De: Andrea Brambilla [mailto:andrea.bram at gmail.com] > Enviado el: Tuesday, February 17, 2015 9:11 AM > Para: Aashish Chaudhary > CC: Ernesto; vtkusers at public.kitware.com > Asunto: Re: [vtkusers] Problem with volume rendering inside of Qt > application > > > I had a similar issue with QVTKWidget some time ago, which was due to > OpenGL > I solved the issue by checking for the available extensions when creating > the QVTKWidget: > > QVTKWidget* createQVTKWidget(QWidget *parent) > { > // create a RenderWindow and loads the compatibility profile on it > auto extManager= vtkSmartPointer::New(); > auto renWin = vtkOpenGLRenderWindow::New(); > extManager->SetRenderWindow(renWin); > if(extManager->ExtensionSupported("GL_ARB_compatibility" ) != 0) > extManager->LoadExtension("GL_ARB_compatibility"); > else > ep::log << "Warning: GL_ARB_compatibility extension cannot be > loaded" << endl; > > // Create and add a renderer to the managed render window > auto ren = vtkOpenGLRenderer::New(); > ren->SetBackground(1, 1, 1); > renWin->AddRenderer(ren); > /// Create the QVTKWidget and adds the managed render window to it > auto outWidget = new QVTKWidget(parent); > outWidget->SetRenderWindow(renWin); > > assert(renWin->GetInteractor()); > renWin->Delete(); > ren->Delete(); > return outWidget; > } > > On Tue, Feb 17, 2015 at 2:57 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > If you are using older version of volume mapper (OpenGL backend) then it > is possible that when using QT window, it's not finding the extensions its > needed. Is it possible for you to try the OpenGL2 backend? > > Also, Do you see any error message on the console? > > Thanks, > > > On Mon, Feb 16, 2015 at 4:59 PM, Ernesto wrote: > Jakub ??gwa gmail.com> writes: > > > > > Hello, > > I have a strange problem with showing VTK volume in QVTKWidget. I can > compile example such as as: > > > http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Medical/Cxx/Medical4.cxxand > > > > it work fine. But when I want to use exactly the same code in my sample > > Qt application (let's say - render only after user press a button) > > nothing is shown in QVTKWidget (I tried also with QVTKInteractor instead > > of the one from example). I have this problem only when I want to use > > vtkVolume and than add the volume to renderer with AddVolume. If I make > > other 3D visualisation for example with vtkContourFilter and than I add > > it to renderer with AddActor method - everything works fine. > > I was trying to solve this problem for a couple of days but I found > > some things that I can't understand in any way. If I take, for example, > > Medical4.cxx file and add there > > #include > > and than > > > Hello Jakub I have the same problem with QVTKWidget and can't find a > solution I've been stopped for 4 days. I need to know whether you managed > to > solve this problem and how did you solved it. > > Thanks in advance. > Ernesto > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > -- > | Aashish Chaudhary > | Technical Leader > | Kitware Inc. > | http://www.kitware.com/company/team/chaudhary.html > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > > *| http://www.kitware.com/company/team/chaudhary.html > * > > > > > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > > *| http://www.kitware.com/company/team/chaudhary.html > * > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From sur.chiranjib at gmail.com Tue Feb 24 13:36:06 2015 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Wed, 25 Feb 2015 00:06:06 +0530 Subject: [vtkusers] volume representation of vtk objects Message-ID: Hi, I newly started to use vtk with my C++ code. I was wondering, if there is any existing class that I can use to to extract the coordinate information for a vtk object (e.g. a cylinder) for the entire volume ? To be more explicit, if I create a vtkCylinder source, how do I get the coordinate information for all the points if I consider the object is solid. Similarly, if I want to get the information about the surface, which class should I use ? Thanks in advance, Chiranjib -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Feb 24 14:05:28 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 24 Feb 2015 14:05:28 -0500 Subject: [vtkusers] VTK 6.2.0rc1 problems In-Reply-To: <938038658.2388187.1424543621383.JavaMail.yahoo@mail.yahoo.com> References: <938038658.2388187.1424543621383.JavaMail.yahoo@mail.yahoo.com> Message-ID: Thanks for trying it. Looking into this now and we'll let you know what we find. cheers David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sat, Feb 21, 2015 at 1:33 PM, Leonid Dulman wrote: > Hi to all > I begin testing VTK 6.2.0rc1 and from many examples (for example > QGraphicsToColors) have got meassage > Error: no override found for 'vtkContextDevice2D' > my autoinitmacro is > > #define vtkRenderingCore_AUTOINIT > 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL) > #define vtkInteractionStyle_AUTOINIT 1(vtkInteractionStyle) > #define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) > #define vtkRenderingOpenGL_AUTOINIT 1(vtkRenderingOpenGL) > #define vtkRenderingFreeTypeOpenGL_AUTOINIT 1(vtkRenderingFreeTypeOpenGL) > > #ifdef LINUX > > > typedef unsigned long vtkWindowsDWORD; > > #define VTK_MAJOR_VERSION 6 > #define VTK_THREAD_RETURN_TYPE void* > #include "qatomic.h" > #endif > > Thank you for any help > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From orion at cora.nwra.com Tue Feb 24 15:03:11 2015 From: orion at cora.nwra.com (Orion Poplawski) Date: Tue, 24 Feb 2015 13:03:11 -0700 Subject: [vtkusers] Trouble with VTK 6.2.0rc1 In-Reply-To: <54ECD753.9020702@cora.nwra.com> References: <54ECD753.9020702@cora.nwra.com> Message-ID: <54ECD8FF.6070803@cora.nwra.com> On 02/24/2015 12:56 PM, Orion Poplawski wrote: > I'm testing out updating the Fedora vtk package to 6.2.0.rc1 here: > > http://copr-fe.cloud.fedoraproject.org/coprs/orion/VTK > > I'm running into a strange issue building mrpt against the new version: > > https://copr-be.cloud.fedoraproject.org/results/orion/VTK/fedora-rawhide-x86_64/mrpt-1.0.2-12.fc23/build.log > > /usr/bin/ld: cannot find -lvtkRenderingVolumeAMR > /usr/bin/ld: cannot find -lvtkRenderingVolumeAMR > > > The thing is - the vtk build that I'm produced doesn't build that library. I > can find no trace of that string in the vtk package so I have no idea where it > is coming from. But it ends up in the deps: > > mrpt-maps_LIB_DEPENDS:STATIC=general;tbb;general;/usr/lib64/libGL.so;general;/usr/lib64/libGLU.so;general;/usr/lib64/libglut.so;general;opencv_videostab;general;opencv_video;general;opencv_ts;general;opencv_superres;general;opencv_stitching;general;opencv_photo;general;opencv_ocl;general;opencv_objdetect;general;opencv_ml;general;opencv_legacy;general;opencv_imgproc;general;opencv_highgui;general;opencv_flann;general;opencv_features2d;general;opencv_core;general;opencv_contrib;general;opencv_calib3d;general;-pthread;general;-Wl,-z,relro;general;-lwx_baseu-2.8;general;-lwx_gtk2u_core-2.8;general;-lwx_gtk2u_gl-2.8;general;-lwx_gtk2u_adv-2.8;general;-lwx_gtk2u_aui-2.8;general;-lwx_gtk2u_html-2.8;general;dc1394;general;3ds;general;z;general;jpeg;general;rt;general;usb-1.0;general;/usr/lib64/libcholmod.so;general;/usr/lib64/libamd.so;general;/usr/lib64/libspqr.so;general;/usr/lib64/libcxsparse.so;general;mrpt-obs;general;mrpt-opengl;general;mrpt-base;optimized;/usr/lib64/libpcl_octree.s o ;d > ebug;/usr/lib64/libpcl_octree.so;general;/usr/lib64/libOpenNI.so;general;/usr/lib64/libfreetype.so;general;/usr/lib64/libz.so;general;vtkInfovisLayout;general;vtkCommonExecutionModel;general;vtkCommonDataModel;general;vtkCommonMath;general;vtkCommonCore;general;vtksys;general;vtkCommonMisc;general;vtkCommonSystem;general;vtkCommonTransforms;general;vtkFiltersModeling;general;vtkFiltersGeneral;general;vtkCommonComputationalGeometry;general;vtkFiltersCore;general;vtkFiltersSources;general;vtkImagingHybrid;general;vtkIOImage;general;vtkDICOMParser;general;vtkIOCore;general;vtkmetaio;general;/usr/lib64/libjpeg.so;general;/usr/lib64/libpng.so;general;/usr/lib64/libtiff.so;general;vtkImagingCore;general;vtkInfovisCore;general;vtkFiltersExtraction;general;vtkFiltersStatistics;general;vtkImagingFourier;general;vtkalglib;general;vtkImagingColor;general;vtkWrappingTools;general;vtkIOExodus;general;vtkIOXML;general;vtkIOGeometry;general;/usr/lib64/libjsoncpp.so;general;vtkIOXMLParser;general; / us > r/lib64/libexpat.so;general;vtkexoIIc;general;/usr/lib64/libnetcdf_c++.so;general;/usr/lib64/libnetcdf.so;general;/usr/lib64/libhdf5.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;/usr/lib64/libhdf5_hl.so;general;vtkIOImport;general;vtkRenderingCore;general;vtkFiltersGeometry;general;vtkRenderingVolumeAMR;general;vtkFiltersAMR;general;vtkParallelCore;general;vtkIOLegacy;general;vtkRenderingVolume;general;vtkGUISupportQt;general;vtkInteractionStyle;general;vtkRenderingOpenGL;general;vtkGeovisCore;general;vtkInteractionWidgets;general;vtkFiltersHybrid;general;vtkImagingSources;general;vtkImagingGeneral;general;vtkRenderingAnnotation;general;vtkRenderingFreeType;general;vtkftgl;general;vtkViewsCore;general;vtkproj4;general;vtkInteractionImage;general;vtkFiltersImaging;general;vtkIOExport;general;vtkRenderingContext2D;general;vtkRenderingGL2PS;general;/usr/lib64/libgl2ps.so;general;vtkRenderingLabel;general;vtkFiltersVerdict;general;verdict;general;vtkGUISupportQtWeb k it > ;general;vtkViewsQt;general;vtkViewsInfovis;general;vtkChartsCore;general;vtkCommonColor;general;vtkImagingStencil;general;vtkViewsContext2D;general;vtkIOParallel;general;vtkFiltersParallel;general;vtkIONetCDF;general;vtkGUISupportQtOpenGL;general;vtkIOLSDyna;general;vtkFiltersProgrammable;general;vtkWrappingPythonCore;general;/usr/lib64/libpython2.7.so;general;vtkIOSQL;general;vtksqlite;general;/usr/lib64/libxml2.so;general;vtkFiltersGeneric;general;vtkImagingStatistics;general;vtkIOEnSight;general;vtkWrappingJava;general;vtkRenderingFreeTypeOpenGL;general;vtkLocalExample;general;vtkIOVideo;general;vtkFiltersHyperTree;general;vtkRenderingVolumeOpenGL;general;vtkFiltersSelection;general;vtkIOMINC;general;vtkRenderingImage;general;vtkIOAMR;general;vtkGUISupportQtSQL;general;vtkRenderingLOD;general;vtkIOMovie;general;/usr/lib64/libtheoraenc.so;general;/usr/lib64/libtheoradec.so;general;/usr/lib64/libogg.so;general;vtkFiltersFlowPaths;general;vtkIOPLY;general;vtkTestingRendering;gener a l; > vtkViewsGeovis;general;vtkIOInfovis;general;vtkRenderingQt;general;vtkFiltersTexture;general;vtkImagingMorphological;general;vtkRenderingLIC;general;vtkFiltersParallelImaging;general;vtkImagingMath;general;vtkFiltersSMP;general;vtkFiltersStatisticsGnuR;general;vtkDomainsChemistry;optimized;/usr/lib64/libpcl_io.so;debug;/usr/lib64/libpcl_io.so;general;/usr/lib64/libboost_system.so;general;/usr/lib64/libboost_filesystem.so;general;/usr/lib64/libboost_thread.so;general;/usr/lib64/libboost_date_time.so;general;/usr/lib64/libboost_iostreams.so;general;/usr/lib64/libboost_serialization.so;general;/usr/lib64/libboost_chrono.so;optimized;/usr/lib64/libpcl_common.so;debug;/usr/lib64/libpcl_common.so;optimized;/usr/lib64/libflann_cpp.so;debug;/usr/lib64/libflann_cpp.so;optimized;/usr/lib64/libpcl_kdtree.so;debug;/usr/lib64/libpcl_kdtree.so;optimized;/usr/lib64/libpcl_search.so;debug;/usr/lib64/libpcl_search.so;optimized;/usr/lib64/libpcl_sample_consensus.so;debug;/usr/lib64/libpcl_sample_con s en > sus.so;optimized;/usr/lib64/libpcl_filters.so;debug;/usr/lib64/libpcl_filters.so;optimized;/usr/lib64/libpcl_features.so;debug;/usr/lib64/libpcl_features.so;optimized;/usr/lib64/libpcl_registration.so;debug;/usr/lib64/libpcl_registration.so;optimized;/usr/lib64/libpcl_visualization.so;debug;/usr/lib64/libpcl_visualization.so;optimized;/usr/lib64/libpcl_segmentation.so;debug;/usr/lib64/libpcl_segmentation.so;optimized;/usr/lib64/libqhull.so;debug;/usr/lib64/libqhull.so;optimized;/usr/lib64/libpcl_surface.so;debug;/usr/lib64/libpcl_surface.so;general;/usr/lib64/libboost_system.so;general;/usr/lib64/libboost_filesystem.so;general;/usr/lib64/libboost_thread.so;general;/usr/lib64/libboost_date_time.so;general;/usr/lib64/libboost_iostreams.so;general;/usr/lib64/libboost_serialization.so;general;/usr/lib64/libboost_chrono.so;optimized;/usr/lib64/libqhull.so;debug;/usr/lib64/libqhull.so;general;/usr/lib64/libOpenNI.so;optimized;/usr/lib64/libflann_cpp.so;debug;/usr/lib64/libflann_cpp.so;ge n er > al;/usr/lib64/libfreetype.so;general;/usr/lib64/libz.so;general;vtkInfovisLayout;general;vtkCommonExecutionModel;general;vtkCommonDataModel;general;vtkCommonMath;general;vtkCommonCore;general;vtksys;general;vtkCommonMisc;general;vtkCommonSystem;general;vtkCommonTransforms;general;vtkFiltersModeling;general;vtkFiltersGeneral;general;vtkCommonComputationalGeometry;general;vtkFiltersCore;general;vtkFiltersSources;general;vtkImagingHybrid;general;vtkIOImage;general;vtkDICOMParser;general;vtkIOCore;general;vtkmetaio;general;/usr/lib64/libjpeg.so;general;/usr/lib64/libpng.so;general;/usr/lib64/libtiff.so;general;vtkImagingCore;general;vtkInfovisCore;general;vtkFiltersExtraction;general;vtkFiltersStatistics;general;vtkImagingFourier;general;vtkalglib;general;vtkImagingColor;general;vtkWrappingTools;general;vtkIOExodus;general;vtkIOXML;general;vtkIOGeometry;general;/usr/lib64/libjsoncpp.so;general;vtkIOXMLParser;general;/usr/lib64/libexpat.so;general;vtkexoIIc;general;/usr/lib64/libnetcdf_ c ++ > .so;general;/usr/lib64/libnetcdf.so;general;/usr/lib64/libhdf5.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;/usr/lib64/libhdf5_hl.so;general;vtkIOImport;general;vtkRenderingCore;general;vtkFiltersGeometry;general;vtkRenderingVolumeAMR;general;vtkFiltersAMR;general;vtkParallelCore;general;vtkIOLegacy;general;vtkRenderingVolume;general;vtkGUISupportQt;general;vtkInteractionStyle;general;vtkRenderingOpenGL;general;vtkGeovisCore;general;vtkInteractionWidgets;general;vtkFiltersHybrid;general;vtkImagingSources;general;vtkImagingGeneral;general;vtkRenderingAnnotation;general;vtkRenderingFreeType;general;vtkftgl;general;vtkViewsCore;general;vtkproj4;general;vtkInteractionImage;general;vtkFiltersImaging;general;vtkIOExport;general;vtkRenderingContext2D;general;vtkRenderingGL2PS;general;/usr/lib64/libgl2ps.so;general;vtkRenderingLabel;general;vtkFiltersVerdict;general;verdict;general;vtkGUISupportQtWebkit;general;vtkViewsQt;general;vtkViewsInfovis;general;vtkChartsCore;g e ne > ral;vtkCommonColor;general;vtkImagingStencil;general;vtkViewsContext2D;general;vtkIOParallel;general;vtkFiltersParallel;general;vtkIONetCDF;general;vtkGUISupportQtOpenGL;general;vtkIOLSDyna;general;vtkFiltersProgrammable;general;vtkWrappingPythonCore;general;/usr/lib64/libpython2.7.so;general;vtkIOSQL;general;vtksqlite;general;/usr/lib64/libxml2.so;general;vtkFiltersGeneric;general;vtkImagingStatistics;general;vtkIOEnSight;general;vtkWrappingJava;general;vtkRenderingFreeTypeOpenGL;general;vtkLocalExample;general;vtkIOVideo;general;vtkFiltersHyperTree;general;vtkRenderingVolumeOpenGL;general;vtkFiltersSelection;general;vtkIOMINC;general;vtkRenderingImage;general;vtkIOAMR;general;vtkGUISupportQtSQL;general;vtkRenderingLOD;general;vtkIOMovie;general;/usr/lib64/libtheoraenc.so;general;/usr/lib64/libtheoradec.so;general;/usr/lib64/libogg.so;general;vtkFiltersFlowPaths;general;vtkIOPLY;general;vtkTestingRendering;general;vtkViewsGeovis;general;vtkIOInfovis;general;vtkRenderingQt;general; v tk > FiltersTexture;general;vtkImagingMorphological;general;vtkRenderingLIC;general;vtkFiltersParallelImaging;general;vtkImagingMath;general;vtkFiltersSMP;general;vtkFiltersStatisticsGnuR;general;vtkDomainsChemistry; > > Any suggestions on to how to track this down? > Never mind. (This always happens just after I send an email like this) Looks like I need to rebuild pcl first. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 http://www.nwra.com From orion at cora.nwra.com Tue Feb 24 14:56:03 2015 From: orion at cora.nwra.com (Orion Poplawski) Date: Tue, 24 Feb 2015 12:56:03 -0700 Subject: [vtkusers] Trouble with VTK 6.2.0rc1 Message-ID: <54ECD753.9020702@cora.nwra.com> I'm testing out updating the Fedora vtk package to 6.2.0.rc1 here: http://copr-fe.cloud.fedoraproject.org/coprs/orion/VTK I'm running into a strange issue building mrpt against the new version: https://copr-be.cloud.fedoraproject.org/results/orion/VTK/fedora-rawhide-x86_64/mrpt-1.0.2-12.fc23/build.log /usr/bin/ld: cannot find -lvtkRenderingVolumeAMR /usr/bin/ld: cannot find -lvtkRenderingVolumeAMR The thing is - the vtk build that I'm produced doesn't build that library. I can find no trace of that string in the vtk package so I have no idea where it is coming from. But it ends up in the deps: mrpt-maps_LIB_DEPENDS:STATIC=general;tbb;general;/usr/lib64/libGL.so;general;/usr/lib64/libGLU.so;general;/usr/lib64/libglut.so;general;opencv_videostab;general;opencv_video;general;opencv_ts;general;opencv_superres;general;opencv_stitching;general;opencv_photo;general;opencv_ocl;general;opencv_objdetect;general;opencv_ml;general;opencv_legacy;general;opencv_imgproc;general;opencv_highgui;general;opencv_flann;general;opencv_features2d;general;opencv_core;general;opencv_contrib;general;opencv_calib3d;general;-pthread;general;-Wl,-z,relro;general;-lwx_baseu-2.8;general;-lwx_gtk2u_core-2.8;general;-lwx_gtk2u_gl-2.8;general;-lwx_gtk2u_adv-2.8;general;-lwx_gtk2u_aui-2.8;general;-lwx_gtk2u_html-2.8;general;dc1394;general;3ds;general;z;general;jpeg;general;rt;general;usb-1.0;general;/usr/lib64/libcholmod.so;general;/usr/lib64/libamd.so;general;/usr/lib64/libspqr.so;general;/usr/lib64/libcxsparse.so;general;mrpt-obs;general;mrpt-opengl;general;mrpt-base;optimized;/usr/lib64/libpcl_octree.so; d ebug;/usr/lib64/libpcl_octree.so;general;/usr/lib64/libOpenNI.so;general;/usr/lib64/libfreetype.so;general;/usr/lib64/libz.so;general;vtkInfovisLayout;general;vtkCommonExecutionModel;general;vtkCommonDataModel;general;vtkCommonMath;general;vtkCommonCore;general;vtksys;general;vtkCommonMisc;general;vtkCommonSystem;general;vtkCommonTransforms;general;vtkFiltersModeling;general;vtkFiltersGeneral;general;vtkCommonComputationalGeometry;general;vtkFiltersCore;general;vtkFiltersSources;general;vtkImagingHybrid;general;vtkIOImage;general;vtkDICOMParser;general;vtkIOCore;general;vtkmetaio;general;/usr/lib64/libjpeg.so;general;/usr/lib64/libpng.so;general;/usr/lib64/libtiff.so;general;vtkImagingCore;general;vtkInfovisCore;general;vtkFiltersExtraction;general;vtkFiltersStatistics;general;vtkImagingFourier;general;vtkalglib;general;vtkImagingColor;general;vtkWrappingTools;general;vtkIOExodus;general;vtkIOXML;general;vtkIOGeometry;general;/usr/lib64/libjsoncpp.so;general;vtkIOXMLParser;general;/u s r/lib64/libexpat.so;general;vtkexoIIc;general;/usr/lib64/libnetcdf_c++.so;general;/usr/lib64/libnetcdf.so;general;/usr/lib64/libhdf5.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;/usr/lib64/libhdf5_hl.so;general;vtkIOImport;general;vtkRenderingCore;general;vtkFiltersGeometry;general;vtkRenderingVolumeAMR;general;vtkFiltersAMR;general;vtkParallelCore;general;vtkIOLegacy;general;vtkRenderingVolume;general;vtkGUISupportQt;general;vtkInteractionStyle;general;vtkRenderingOpenGL;general;vtkGeovisCore;general;vtkInteractionWidgets;general;vtkFiltersHybrid;general;vtkImagingSources;general;vtkImagingGeneral;general;vtkRenderingAnnotation;general;vtkRenderingFreeType;general;vtkftgl;general;vtkViewsCore;general;vtkproj4;general;vtkInteractionImage;general;vtkFiltersImaging;general;vtkIOExport;general;vtkRenderingContext2D;general;vtkRenderingGL2PS;general;/usr/lib64/libgl2ps.so;general;vtkRenderingLabel;general;vtkFiltersVerdict;general;verdict;general;vtkGUISupportQtWebki t ;general;vtkViewsQt;general;vtkViewsInfovis;general;vtkChartsCore;general;vtkCommonColor;general;vtkImagingStencil;general;vtkViewsContext2D;general;vtkIOParallel;general;vtkFiltersParallel;general;vtkIONetCDF;general;vtkGUISupportQtOpenGL;general;vtkIOLSDyna;general;vtkFiltersProgrammable;general;vtkWrappingPythonCore;general;/usr/lib64/libpython2.7.so;general;vtkIOSQL;general;vtksqlite;general;/usr/lib64/libxml2.so;general;vtkFiltersGeneric;general;vtkImagingStatistics;general;vtkIOEnSight;general;vtkWrappingJava;general;vtkRenderingFreeTypeOpenGL;general;vtkLocalExample;general;vtkIOVideo;general;vtkFiltersHyperTree;general;vtkRenderingVolumeOpenGL;general;vtkFiltersSelection;general;vtkIOMINC;general;vtkRenderingImage;general;vtkIOAMR;general;vtkGUISupportQtSQL;general;vtkRenderingLOD;general;vtkIOMovie;general;/usr/lib64/libtheoraenc.so;general;/usr/lib64/libtheoradec.so;general;/usr/lib64/libogg.so;general;vtkFiltersFlowPaths;general;vtkIOPLY;general;vtkTestingRendering;general ; vtkViewsGeovis;general;vtkIOInfovis;general;vtkRenderingQt;general;vtkFiltersTexture;general;vtkImagingMorphological;general;vtkRenderingLIC;general;vtkFiltersParallelImaging;general;vtkImagingMath;general;vtkFiltersSMP;general;vtkFiltersStatisticsGnuR;general;vtkDomainsChemistry;optimized;/usr/lib64/libpcl_io.so;debug;/usr/lib64/libpcl_io.so;general;/usr/lib64/libboost_system.so;general;/usr/lib64/libboost_filesystem.so;general;/usr/lib64/libboost_thread.so;general;/usr/lib64/libboost_date_time.so;general;/usr/lib64/libboost_iostreams.so;general;/usr/lib64/libboost_serialization.so;general;/usr/lib64/libboost_chrono.so;optimized;/usr/lib64/libpcl_common.so;debug;/usr/lib64/libpcl_common.so;optimized;/usr/lib64/libflann_cpp.so;debug;/usr/lib64/libflann_cpp.so;optimized;/usr/lib64/libpcl_kdtree.so;debug;/usr/lib64/libpcl_kdtree.so;optimized;/usr/lib64/libpcl_search.so;debug;/usr/lib64/libpcl_search.so;optimized;/usr/lib64/libpcl_sample_consensus.so;debug;/usr/lib64/libpcl_sample_conse n sus.so;optimized;/usr/lib64/libpcl_filters.so;debug;/usr/lib64/libpcl_filters.so;optimized;/usr/lib64/libpcl_features.so;debug;/usr/lib64/libpcl_features.so;optimized;/usr/lib64/libpcl_registration.so;debug;/usr/lib64/libpcl_registration.so;optimized;/usr/lib64/libpcl_visualization.so;debug;/usr/lib64/libpcl_visualization.so;optimized;/usr/lib64/libpcl_segmentation.so;debug;/usr/lib64/libpcl_segmentation.so;optimized;/usr/lib64/libqhull.so;debug;/usr/lib64/libqhull.so;optimized;/usr/lib64/libpcl_surface.so;debug;/usr/lib64/libpcl_surface.so;general;/usr/lib64/libboost_system.so;general;/usr/lib64/libboost_filesystem.so;general;/usr/lib64/libboost_thread.so;general;/usr/lib64/libboost_date_time.so;general;/usr/lib64/libboost_iostreams.so;general;/usr/lib64/libboost_serialization.so;general;/usr/lib64/libboost_chrono.so;optimized;/usr/lib64/libqhull.so;debug;/usr/lib64/libqhull.so;general;/usr/lib64/libOpenNI.so;optimized;/usr/lib64/libflann_cpp.so;debug;/usr/lib64/libflann_cpp.so;gene r al;/usr/lib64/libfreetype.so;general;/usr/lib64/libz.so;general;vtkInfovisLayout;general;vtkCommonExecutionModel;general;vtkCommonDataModel;general;vtkCommonMath;general;vtkCommonCore;general;vtksys;general;vtkCommonMisc;general;vtkCommonSystem;general;vtkCommonTransforms;general;vtkFiltersModeling;general;vtkFiltersGeneral;general;vtkCommonComputationalGeometry;general;vtkFiltersCore;general;vtkFiltersSources;general;vtkImagingHybrid;general;vtkIOImage;general;vtkDICOMParser;general;vtkIOCore;general;vtkmetaio;general;/usr/lib64/libjpeg.so;general;/usr/lib64/libpng.so;general;/usr/lib64/libtiff.so;general;vtkImagingCore;general;vtkInfovisCore;general;vtkFiltersExtraction;general;vtkFiltersStatistics;general;vtkImagingFourier;general;vtkalglib;general;vtkImagingColor;general;vtkWrappingTools;general;vtkIOExodus;general;vtkIOXML;general;vtkIOGeometry;general;/usr/lib64/libjsoncpp.so;general;vtkIOXMLParser;general;/usr/lib64/libexpat.so;general;vtkexoIIc;general;/usr/lib64/libnetcdf_c+ + .so;general;/usr/lib64/libnetcdf.so;general;/usr/lib64/libhdf5.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;/usr/lib64/libhdf5_hl.so;general;vtkIOImport;general;vtkRenderingCore;general;vtkFiltersGeometry;general;vtkRenderingVolumeAMR;general;vtkFiltersAMR;general;vtkParallelCore;general;vtkIOLegacy;general;vtkRenderingVolume;general;vtkGUISupportQt;general;vtkInteractionStyle;general;vtkRenderingOpenGL;general;vtkGeovisCore;general;vtkInteractionWidgets;general;vtkFiltersHybrid;general;vtkImagingSources;general;vtkImagingGeneral;general;vtkRenderingAnnotation;general;vtkRenderingFreeType;general;vtkftgl;general;vtkViewsCore;general;vtkproj4;general;vtkInteractionImage;general;vtkFiltersImaging;general;vtkIOExport;general;vtkRenderingContext2D;general;vtkRenderingGL2PS;general;/usr/lib64/libgl2ps.so;general;vtkRenderingLabel;general;vtkFiltersVerdict;general;verdict;general;vtkGUISupportQtWebkit;general;vtkViewsQt;general;vtkViewsInfovis;general;vtkChartsCore;gen e ral;vtkCommonColor;general;vtkImagingStencil;general;vtkViewsContext2D;general;vtkIOParallel;general;vtkFiltersParallel;general;vtkIONetCDF;general;vtkGUISupportQtOpenGL;general;vtkIOLSDyna;general;vtkFiltersProgrammable;general;vtkWrappingPythonCore;general;/usr/lib64/libpython2.7.so;general;vtkIOSQL;general;vtksqlite;general;/usr/lib64/libxml2.so;general;vtkFiltersGeneric;general;vtkImagingStatistics;general;vtkIOEnSight;general;vtkWrappingJava;general;vtkRenderingFreeTypeOpenGL;general;vtkLocalExample;general;vtkIOVideo;general;vtkFiltersHyperTree;general;vtkRenderingVolumeOpenGL;general;vtkFiltersSelection;general;vtkIOMINC;general;vtkRenderingImage;general;vtkIOAMR;general;vtkGUISupportQtSQL;general;vtkRenderingLOD;general;vtkIOMovie;general;/usr/lib64/libtheoraenc.so;general;/usr/lib64/libtheoradec.so;general;/usr/lib64/libogg.so;general;vtkFiltersFlowPaths;general;vtkIOPLY;general;vtkTestingRendering;general;vtkViewsGeovis;general;vtkIOInfovis;general;vtkRenderingQt;general;vt k FiltersTexture;general;vtkImagingMorphological;general;vtkRenderingLIC;general;vtkFiltersParallelImaging;general;vtkImagingMath;general;vtkFiltersSMP;general;vtkFiltersStatisticsGnuR;general;vtkDomainsChemistry; Any suggestions on to how to track this down? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 http://www.nwra.com From orion at cora.nwra.com Tue Feb 24 15:27:15 2015 From: orion at cora.nwra.com (Orion Poplawski) Date: Tue, 24 Feb 2015 13:27:15 -0700 Subject: [vtkusers] Trouble with VTK 6.2.0rc1 In-Reply-To: <54ECD753.9020702@cora.nwra.com> References: <54ECD753.9020702@cora.nwra.com> Message-ID: <54ECDEA3.7060403@cora.nwra.com> On 02/24/2015 12:56 PM, Orion Poplawski wrote: > I'm testing out updating the Fedora vtk package to 6.2.0.rc1 As a follow up, should vtkRenderingVolumeAMR not be enabled by default any more? I only see: -- Backend OpenGL modules: vtkRenderingVolumeOpenGL;vtkRenderingOpenGL;vtkRenderingFreeTypeOpenGL;vtkRenderingVolumeAMR;vtkRenderingContextOpenGL -- Enabling modules for OpenGL. but it never gets listed as enabled. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 http://www.nwra.com From sistephan at gmail.com Tue Feb 24 18:58:40 2015 From: sistephan at gmail.com (Sam) Date: Tue, 24 Feb 2015 16:58:40 -0700 (MST) Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54EC2241.1070003@kitware.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <1424734082887-5730488.post@n5.nabble.com> <54EC207A.6090406@kitware.com> <007401d04fff$5c551900$14ff4b00$@meddiff.com> <54EC2241.1070003@kitware.com> Message-ID: <1424822320190-5730517.post@n5.nabble.com> Great! And are these still the valid instructions for building it? http://www.vtk.org/Wiki/VTK/CSharp/ActiViz/Build -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730517.html Sent from the VTK - Users mailing list archive at Nabble.com. From felfilali at dons.usfca.edu Tue Feb 24 20:03:18 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Tue, 24 Feb 2015 17:03:18 -0800 Subject: [vtkusers] some missing module in Python Build Message-ID: Hello, I have been using vtkpython and am able to run a lot of the examples. My problem is when I try to run the office.tube.py example. I am missing the vtkSteamLine() module. I get the following: Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'vtkStreamLine' Also: my /VTK/Wrapping/Python/vtk/ doesn't contain vtkStreamLine.py Any ideas? Fatima -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.jomier at kitware.com Wed Feb 25 02:08:46 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Wed, 25 Feb 2015 08:08:46 +0100 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <1424822320190-5730517.post@n5.nabble.com> References: <1420738612680-5730023.post@n5.nabble.com> <54AEC24F.7040100@kitware.com> <1424734082887-5730488.post@n5.nabble.com> <54EC207A.6090406@kitware.com> <007401d04fff$5c551900$14ff4b00$@meddiff.com> <54EC2241.1070003@kitware.com> <1424822320190-5730517.post@n5.nabble.com> Message-ID: <54ED74FE.30907@kitware.com> Yes they are. Julien On 25/02/2015 00:58, Sam wrote: > Great! And are these still the valid instructions for building it? > > http://www.vtk.org/Wiki/VTK/CSharp/ActiViz/Build > > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-C-wrappers-for-WPF-Application-tp5730023p5730517.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > From matimontg at gmail.com Wed Feb 25 06:50:42 2015 From: matimontg at gmail.com (Matias Montroull) Date: Wed, 25 Feb 2015 08:50:42 -0300 Subject: [vtkusers] vtkDICOMImageReader does not support to read all Dicom image format In-Reply-To: References: Message-ID: There is a way to identify compressed images yes I will have to look. I use Fo-Dicom not gdcm but I know there are methods to determine when an image is compressed. On Feb 25, 2015 8:46 AM, "Ravi HM" wrote: > Hi Matias, > > > > Yep, it would be nice if this feature is added. > > > > Is there any Dicom TAG to identify uncompressed Dicom image using GDCM or > RZDCX > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 4:59 PM > *To:* Ravi HM > *Cc:* insight-users at itk.org Users > *Subject:* RE: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Oh you are right. > I uncompress the images before passing to VTK. > It would be nice to add this feature in future releases of VTK. > Matias. > > On Feb 25, 2015 1:44 AM, "Ravi HM" wrote: > > Hi Matias, > > > > vtkDicomImageReader supports to read only uncompressed Dicom image. > > > > When any Dicom image is compressed (Compressed in any format) > vtkDicomImageReader doesn?t support. > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Tuesday, February 24, 2015 7:54 PM > *To:* Ravi HM > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Hi Ravi, which DICOM formats / Pixel Type does not support? > > > > On Tue, Feb 24, 2015 at 2:29 AM, Ravi HM > wrote: > > Hi All, > > > > Why vtkDICOMImageReader does not support to read all Dicom image format. > > > > Regards, > > Ravi > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matimontg at gmail.com Wed Feb 25 07:30:58 2015 From: matimontg at gmail.com (Matias Montroull) Date: Wed, 25 Feb 2015 09:30:58 -0300 Subject: [vtkusers] vtkDICOMImageReader does not support to read all Dicom image format In-Reply-To: References: Message-ID: You can use command line tool to dump this type of information, eg gdcminfo: $ gdcminfo 012345.002.050.dcm MediaStorage is 1.2.840.10008.5.1.4.1.1.4 [MR Image Storage] TransferSyntax is 1.2.840.10008.1.2.4.70 [JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]): Default Transfer Syntax for Lossless JPEG Image Compression] ... Pay attention that for the case of JPEG 2000 and JPEG-LS the transfer syntax itself is not sufficient to indicate whether or not the Pixel Data stream has been lossy or lossless compressed. This could be important for your organisation as lossy compression could impact professional interpretation. Ref: http://gdcm.sourceforge.net/html/gdcminfo.html On Wed, Feb 25, 2015 at 8:59 AM, Ravi HM wrote: > Hi Matias, > > > > Thank you for your kind support. > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 5:21 PM > *To:* Ravi HM > *Cc:* vtkusers at vtk.org > *Subject:* RE: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > There is a way to identify compressed images yes I will have to look. I > use Fo-Dicom not gdcm but I know there are methods to determine when an > image is compressed. > > On Feb 25, 2015 8:46 AM, "Ravi HM" wrote: > > Hi Matias, > > > > Yep, it would be nice if this feature is added. > > > > Is there any Dicom TAG to identify uncompressed Dicom image using GDCM or > RZDCX > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 4:59 PM > *To:* Ravi HM > *Cc:* insight-users at itk.org Users > *Subject:* RE: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Oh you are right. > I uncompress the images before passing to VTK. > It would be nice to add this feature in future releases of VTK. > Matias. > > On Feb 25, 2015 1:44 AM, "Ravi HM" wrote: > > Hi Matias, > > > > vtkDicomImageReader supports to read only uncompressed Dicom image. > > > > When any Dicom image is compressed (Compressed in any format) > vtkDicomImageReader doesn?t support. > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Tuesday, February 24, 2015 7:54 PM > *To:* Ravi HM > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Hi Ravi, which DICOM formats / Pixel Type does not support? > > > > On Tue, Feb 24, 2015 at 2:29 AM, Ravi HM > wrote: > > Hi All, > > > > Why vtkDICOMImageReader does not support to read all Dicom image format. > > > > Regards, > > Ravi > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matimontg at gmail.com Wed Feb 25 08:03:54 2015 From: matimontg at gmail.com (Matias Montroull) Date: Wed, 25 Feb 2015 10:03:54 -0300 Subject: [vtkusers] vtkDICOMImageReader does not support to read all Dicom image format In-Reply-To: References: Message-ID: Ravi, I only use VTK to do 3D renders of Dicom Series, not for MPR.. I use Fo-Dicom for Axial, Coronal and Saggital and I've built my own method to get the bitmaps for each slice view. I'm not sure if you can convet slice images into bitmap with VTK (it would be nice to know how though), I haven't tried that, maybe someone else in this group did and can help. Regards, Matias. On Wed, Feb 25, 2015 at 9:56 AM, Ravi HM wrote: > Hi Matias, > > > > I am using VTK + C# wrapper to re-slice the Dicom image into axial coronal > or sagittal. > > > > Reader is: vtkDicomImageReader > > To Slice: vtkImageReSlice > > Viewer is: vtkImagViewr2 > > > > My doubt is can I convert the slice image to bitmap. > > > > Regards, > > Ravi > > > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 6:01 PM > *To:* Ravi HM; vtkusers at vtk.org > > *Subject:* Re: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > You can use command line tool to dump this type of information, eg > gdcminfo: > > $ gdcminfo 012345.002.050.dcm > > MediaStorage is 1.2.840.10008.5.1.4.1.1.4 [MR Image Storage] > > TransferSyntax is 1.2.840.10008.1.2.4.70 [JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]): Default Transfer Syntax for Lossless JPEG Image Compression] > > ... > > Pay attention that for the case of JPEG 2000 and JPEG-LS the transfer > syntax itself is not sufficient to indicate whether or not the Pixel Data > stream has been lossy or lossless compressed. This could be important for > your organisation as lossy compression could impact professional > interpretation. > > Ref: http://gdcm.sourceforge.net/html/gdcminfo.html > > > > On Wed, Feb 25, 2015 at 8:59 AM, Ravi HM > wrote: > > Hi Matias, > > > > Thank you for your kind support. > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 5:21 PM > *To:* Ravi HM > *Cc:* vtkusers at vtk.org > > *Subject:* RE: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > There is a way to identify compressed images yes I will have to look. I > use Fo-Dicom not gdcm but I know there are methods to determine when an > image is compressed. > > On Feb 25, 2015 8:46 AM, "Ravi HM" wrote: > > Hi Matias, > > > > Yep, it would be nice if this feature is added. > > > > Is there any Dicom TAG to identify uncompressed Dicom image using GDCM or > RZDCX > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Wednesday, February 25, 2015 4:59 PM > *To:* Ravi HM > *Cc:* insight-users at itk.org Users > *Subject:* RE: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Oh you are right. > I uncompress the images before passing to VTK. > It would be nice to add this feature in future releases of VTK. > Matias. > > On Feb 25, 2015 1:44 AM, "Ravi HM" wrote: > > Hi Matias, > > > > vtkDicomImageReader supports to read only uncompressed Dicom image. > > > > When any Dicom image is compressed (Compressed in any format) > vtkDicomImageReader doesn?t support. > > > > Regards, > > Ravi > > > > *From:* Matias Montroull [mailto:matimontg at gmail.com] > *Sent:* Tuesday, February 24, 2015 7:54 PM > *To:* Ravi HM > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] vtkDICOMImageReader does not support to read > all Dicom image format > > > > Hi Ravi, which DICOM formats / Pixel Type does not support? > > > > On Tue, Feb 24, 2015 at 2:29 AM, Ravi HM > wrote: > > Hi All, > > > > Why vtkDICOMImageReader does not support to read all Dicom image format. > > > > Regards, > > Ravi > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > > > > *L&T Technology Services Ltd* > > www.LntTechservices.com > > This Email may contain confidential or privileged information for the > intended recipient (s). If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.j.redmond at gmail.com Wed Feb 25 09:11:29 2015 From: michael.j.redmond at gmail.com (redmod79) Date: Wed, 25 Feb 2015 07:11:29 -0700 (MST) Subject: [vtkusers] QVTKRenderWindowInteractor - Finalize method not called when QMainWindow is closed Message-ID: <1424873489423-5730524.post@n5.nabble.com> Using vtk 6.1 and 6.2rc1, when QVTKRenderWindowInteractor is used with PySide, its Finalize method is not called when the QMainWindow it is a child of is closed. Actually, it's QMainWindow.ui.QVTKRenderWindowInteractor. When only 1 vtkRenderWindow is present (the one contained in QVTKRenderWindowInteractor), no errors occur when QMainWindow is closed. However, if an additional vtkRenderWindow is present, the following error (sometimes repeated) will pop up in a vtkOutputWindow "vtkWin32OpenGLRenderWindow (xxxxxx): wglMakeCurrent failed in MakeCurrent()..." I put a print statement inside the Finalize method and it seems that it is never called automatically. When I call the Finalize method in the QMainWindow closeEvent, the error does not appear. Is there a reason that the Finalize method is not being called automatically when the hidden widget is destroyed? -- View this message in context: http://vtk.1045678.n5.nabble.com/QVTKRenderWindowInteractor-Finalize-method-not-called-when-QMainWindow-is-closed-tp5730524.html Sent from the VTK - Users mailing list archive at Nabble.com. From dave.demarle at kitware.com Wed Feb 25 11:15:06 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Feb 2015 11:15:06 -0500 Subject: [vtkusers] VTK 6.2.0rc1 problems In-Reply-To: References: <938038658.2388187.1424543621383.JavaMail.yahoo@mail.yahoo.com> Message-ID: Leonid, Please let us know if Ben's (accidentally off list) suggestion worked out: > It looks like you're missing: > #define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL) > --Ben thanks David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Feb 24, 2015 at 2:05 PM, David E DeMarle wrote: > Thanks for trying it. Looking into this now and we'll let you know what we > find. > > cheers > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Sat, Feb 21, 2015 at 1:33 PM, Leonid Dulman > wrote: > >> Hi to all >> I begin testing VTK 6.2.0rc1 and from many examples (for example >> QGraphicsToColors) have got meassage >> Error: no override found for 'vtkContextDevice2D' >> my autoinitmacro is >> >> #define vtkRenderingCore_AUTOINIT >> 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL) >> #define vtkInteractionStyle_AUTOINIT 1(vtkInteractionStyle) >> #define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) >> #define vtkRenderingOpenGL_AUTOINIT 1(vtkRenderingOpenGL) >> #define vtkRenderingFreeTypeOpenGL_AUTOINIT 1(vtkRenderingFreeTypeOpenGL) >> >> #ifdef LINUX >> >> >> typedef unsigned long vtkWindowsDWORD; >> >> #define VTK_MAJOR_VERSION 6 >> #define VTK_THREAD_RETURN_TYPE void* >> #include "qatomic.h" >> #endif >> >> Thank you for any help >> >> >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Wed Feb 25 12:12:21 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Feb 2015 12:12:21 -0500 Subject: [vtkusers] some missing module in Python Build In-Reply-To: References: Message-ID: Sorry I haven't been able to duplicate this problem. Which OS are you using, which version of VTK and is this a build you've done or a vtkpython that you've gotten from Kitware? vtkStreamLine isn't a pure python module, instead it is found in the C++ python extension module that vtkFiltersFlowPaths.py loads. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Feb 24, 2015 at 8:03 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > Hello, > > I have been using vtkpython and am able to run a lot of the examples. My > problem is when I try to run the office.tube.py example. > I am missing the vtkSteamLine() module. > > I get the following: > > Traceback (most recent call last): > > File "", line 1, in > > AttributeError: 'module' object has no attribute 'vtkStreamLine' > > > Also: my /VTK/Wrapping/Python/vtk/ doesn't contain vtkStreamLine.py > > > Any ideas? > > Fatima > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmerkow at gmail.com Wed Feb 25 14:06:12 2015 From: jmerkow at gmail.com (jmerkow) Date: Wed, 25 Feb 2015 12:06:12 -0700 (MST) Subject: [vtkusers] pythonic non max suppression returning junk Message-ID: <1424891172607-5730532.post@n5.nabble.com> Hello, I am trying out vtk's non-maximum suppression in python. I am running into issues. I followed the vtk example [1], using python, however I get junk as the output. And the result changes between trials as well... Everything up to the NMS filter look fine, only this filter returns junk. I am using vtk 6.1.0. Here is my code: from vtk import * print vtkVersion().GetVTKVersion() sinsrc = vtkImageSinusoidSource() sinsrc.SetWholeExtent(0, 255, 0, 255, 0, 0) sinsrc.Update() caster = vtkImageCast() caster.SetInputData(sinsrc.GetOutput()) caster.SetOutputScalarTypeToUnsignedChar() caster.Update() writer = vtkJPEGWriter() writer.SetInputData(caster.GetOutput()) writer.SetFileName("source.jpg") writer.Write() gradmag = vtkImageGradientMagnitude() gradmag.SetInputData(caster.GetOutput()) gradmag.Update() grad = vtkImageGradient() grad.SetInputData(caster2.GetOutput()) grad.Update() nms = vtkImageNonMaximumSuppression() nms.SetInputData(0,gradmag.GetOutput()) nms.SetInputData(1,grad.GetOutput()) nms.SetDimensionality(2) nms.Update() caster3 = vtkImageCast() caster3.SetInputData(nms.GetOutput()) caster3.SetOutputScalarTypeToUnsignedChar() caster3.Update() writer2 = vtkJPEGWriter() writer2.SetInputData(caster3.GetOutput()) writer2.SetFileName("nms.jpg") writer2.Write() Links to output images: source: http://imgur.com/KqsweLC nms: http://imgur.com/SuTf00Q Am I missing something? [1] http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageNonMaximumSuppression -- View this message in context: http://vtk.1045678.n5.nabble.com/pythonic-non-max-suppression-returning-junk-tp5730532.html Sent from the VTK - Users mailing list archive at Nabble.com. From felfilali at dons.usfca.edu Wed Feb 25 14:17:14 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 25 Feb 2015 11:17:14 -0800 Subject: [vtkusers] some missing module in Python Build In-Reply-To: References: Message-ID: As I was trying to fix it... I remade the build and now getting: No module named vtkCommonCorePython when I try import vtk. Any ideas? Thanks On Wed, Feb 25, 2015 at 9:12 AM, David E DeMarle wrote: > Sorry I haven't been able to duplicate this problem. > > Which OS are you using, which version of VTK and is this a build you've > done or a vtkpython that you've gotten from Kitware? > > vtkStreamLine isn't a pure python module, instead it is found in the C++ > python extension module that vtkFiltersFlowPaths.py loads. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Tue, Feb 24, 2015 at 8:03 PM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> Hello, >> >> I have been using vtkpython and am able to run a lot of the examples. My >> problem is when I try to run the office.tube.py example. >> I am missing the vtkSteamLine() module. >> >> I get the following: >> >> Traceback (most recent call last): >> >> File "", line 1, in >> >> AttributeError: 'module' object has no attribute 'vtkStreamLine' >> >> >> Also: my /VTK/Wrapping/Python/vtk/ doesn't contain vtkStreamLine.py >> >> >> Any ideas? >> >> Fatima >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Wed Feb 25 14:27:26 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Wed, 25 Feb 2015 12:27:26 -0700 Subject: [vtkusers] pythonic non max suppression returning junk In-Reply-To: <1424891172607-5730532.post@n5.nabble.com> References: <1424891172607-5730532.post@n5.nabble.com> Message-ID: Hi Jason, Here are two things that might be causing problems: 1) You should cast the image to "double" before applying vtkImageGradient. 2) When casting to "unsigned char" (see caster3) you have no guarantees that the result values are in the range [0,255]. Instead, you should be using vtkImageShiftScale to cast the data, with an appropriate "scale" factor to scale the data up (or down) to the allowed range. - David On Wed, Feb 25, 2015 at 12:06 PM, jmerkow wrote: > Hello, > > I am trying out vtk's non-maximum suppression in python. I am running into > issues. I followed the vtk example [1], using python, however I get junk > as > the output. And the result changes between trials as well... > > Everything up to the NMS filter look fine, only this filter returns junk. > I am using vtk 6.1.0. > > Here is my code: > > from vtk import * > print vtkVersion().GetVTKVersion() > > sinsrc = vtkImageSinusoidSource() > sinsrc.SetWholeExtent(0, 255, 0, 255, 0, 0) > sinsrc.Update() > > caster = vtkImageCast() > caster.SetInputData(sinsrc.GetOutput()) > caster.SetOutputScalarTypeToUnsignedChar() > caster.Update() > > writer = vtkJPEGWriter() > writer.SetInputData(caster.GetOutput()) > writer.SetFileName("source.jpg") > writer.Write() > > gradmag = vtkImageGradientMagnitude() > gradmag.SetInputData(caster.GetOutput()) > gradmag.Update() > > grad = vtkImageGradient() > grad.SetInputData(caster2.GetOutput()) > grad.Update() > > nms = vtkImageNonMaximumSuppression() > nms.SetInputData(0,gradmag.GetOutput()) > nms.SetInputData(1,grad.GetOutput()) > nms.SetDimensionality(2) > nms.Update() > > caster3 = vtkImageCast() > caster3.SetInputData(nms.GetOutput()) > caster3.SetOutputScalarTypeToUnsignedChar() > caster3.Update() > > writer2 = vtkJPEGWriter() > writer2.SetInputData(caster3.GetOutput()) > writer2.SetFileName("nms.jpg") > writer2.Write() > > Links to output images: > source: http://imgur.com/KqsweLC > nms: http://imgur.com/SuTf00Q > > Am I missing something? > > [1] > http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageNonMaximumSuppression > -------------- next part -------------- An HTML attachment was scrubbed... URL: From felfilali at dons.usfca.edu Wed Feb 25 14:41:31 2015 From: felfilali at dons.usfca.edu (Fatima Zahra El Filali) Date: Wed, 25 Feb 2015 11:41:31 -0800 Subject: [vtkusers] some missing module in Python Build In-Reply-To: References: Message-ID: I figured it out... now back to the vtkStreamLine issue... I am on a mac using os 10.9.5 and vtkpython i got from the kitware build. Would an listing of my makefiles help? Everything is running that I tried so far... I am mainly interested in streamlines and that happens to be the library I am missing.... I can also provide my environment variables if that helps. Thanks FAtima On Wed, Feb 25, 2015 at 11:17 AM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > As I was trying to fix it... I remade the build and now getting: > > No module named vtkCommonCorePython > > > when I try import vtk. > > Any ideas? > > Thanks > > On Wed, Feb 25, 2015 at 9:12 AM, David E DeMarle > wrote: > >> Sorry I haven't been able to duplicate this problem. >> >> Which OS are you using, which version of VTK and is this a build you've >> done or a vtkpython that you've gotten from Kitware? >> >> vtkStreamLine isn't a pure python module, instead it is found in the C++ >> python extension module that vtkFiltersFlowPaths.py loads. >> >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> On Tue, Feb 24, 2015 at 8:03 PM, Fatima Zahra El Filali < >> felfilali at dons.usfca.edu> wrote: >> >>> Hello, >>> >>> I have been using vtkpython and am able to run a lot of the examples. My >>> problem is when I try to run the office.tube.py example. >>> I am missing the vtkSteamLine() module. >>> >>> I get the following: >>> >>> Traceback (most recent call last): >>> >>> File "", line 1, in >>> >>> AttributeError: 'module' object has no attribute 'vtkStreamLine' >>> >>> >>> Also: my /VTK/Wrapping/Python/vtk/ doesn't contain vtkStreamLine.py >>> >>> >>> Any ideas? >>> >>> Fatima >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonid_dulman at yahoo.co.uk Wed Feb 25 15:02:50 2015 From: leonid_dulman at yahoo.co.uk (Leonid Dulman) Date: Wed, 25 Feb 2015 20:02:50 +0000 (UTC) Subject: [vtkusers] VTK 6.2.0rc1 problems In-Reply-To: References: Message-ID: <1347839963.113.1424894571073.JavaMail.yahoo@mail.yahoo.com> Thank you for help, but I use next line#define vtkRenderingCore_AUTOINIT 5(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL,vtkRenderingContextOpenGL)and it works fine Next problem I have got in qt yoi can see it in error.pdf attachment file From: David E DeMarle To: Leonid Dulman ; Ben Boeckel Cc: "vtkusers at vtk.org" Sent: Wednesday, February 25, 2015 6:15 PM Subject: Re: [vtkusers] VTK 6.2.0rc1 problems Leonid, Please let us know if Ben's (accidentally off list) suggestion worked out: It looks like you're missing: ? ? #define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL) --Ben thanks David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Feb 24, 2015 at 2:05 PM, David E DeMarle wrote: Thanks for trying it. Looking into this now and we'll let you know what we find. cheers David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sat, Feb 21, 2015 at 1:33 PM, Leonid Dulman wrote: Hi to all I begin testing VTK 6.2.0rc1 and from many examples (for example QGraphicsToColors) have got meassage Error: no override found for 'vtkContextDevice2D' my autoinitmacro is #define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL) #define vtkInteractionStyle_AUTOINIT 1(vtkInteractionStyle) #define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) #define vtkRenderingOpenGL_AUTOINIT 1(vtkRenderingOpenGL) #define vtkRenderingFreeTypeOpenGL_AUTOINIT 1(vtkRenderingFreeTypeOpenGL) #ifdef LINUX typedef unsigned long vtkWindowsDWORD; #define VTK_MAJOR_VERSION 6 #define VTK_THREAD_RETURN_TYPE void* #include "qatomic.h" #endif Thank you for any help _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.pdf Type: application/pdf Size: 25930 bytes Desc: not available URL: From dzenanz at gmail.com Wed Feb 25 17:08:20 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 25 Feb 2015 17:08:20 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: Hi David, I managed to select CMake configuration options which cause a mysterious error: configure_file called with unknown argument(s): COPY_ONLY. Attached are my changes to the configuration and CMake's configure log (error is at the end). Regards On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle wrote: > The VTK developement team is happy to announce that VTK 6.2 has entered > the release candidate stage! > > You can find the source, data, and new vtkpython binary packages here: > > http://www.vtk.org/VTK/resources/software.html#latestcand > > Please try this version of VTK and report any issues to the list or the > bug tracker so that we can try to address them before VTK 6.2.0 final. > > The official release notes will be available when VTK final is released in > the next few weeks. In the meantime here is a preview: > > -- > > VTK?s use of the parallelism available in modern architectures continues > to mature. To set the stage for this move, we have refactored how pieces > and extents are handled in the pipeline. The pipeline used to inject extent > translators into the pipeline to obtain structured sub-extents for each > requested unstructured piece. This approach had flaws so now the > translation responsibility falls to the readers which are best able to make > the computation and parallel filters are now responsible for dealing > gracefully with unexpected extents. Next we have we have updated to the > latest version of the Dax toolkit and begun to lay the groundwork for > adopting the vtk-m project as a successor to the Piston, Dax, and EAVL > efforts. There have been a series of minor improvements to the SMP > framework and vtkSMP filters too as we get ready to adopt them in a large > swath of VTK?s algorithms. In related work, note that we have begun to > support Xeon Phi (MIC) chips. For information about this please refer to: h > ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 > . > > Similarly VTK?s support for the Web continues to advance in this release. > VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete and > updated examples of using the web launcher to start vtkweb applications. > vtkWeb applications now support http-only server/client configurations for > situations when websockets are not acceptable. There were also improvements > made to VTK to support the creation and use of Cinema and Workbench > applications (in-situ deferred visualization) that are described in a > SuperComputing 2015 paper ?An Image-based Approach to Extreme Scale In Situ > Visualization and Analysis? > > Wrapped languages have gotten a share of the attention in this release. > There have been several fixes for ActiViz.Net which was recently updated > from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl examples > have finally been upgraded following modularization and note that it is now > mandatory to invoke the method Start on the instance of vtkRenderInteractor > from Tcl. In Java, vtkPanel?s behavior was changed to better support > advanced class loader system like OSGI. VTK?s dashboards now automatically > build redistributable packages on Windows, Linux and Mac that will allow us > to feed Maven. > > Python has received the heaviest dose of updates. Wrapped namespaces and > enum types are now available in Python. We?ve also made significant > improvements to the VTK-numpy integration by introducing a number of Python > modules that provide numpy-compatible interfaces to VTK data structures. > See http://www.kitware.com/blog/home/post/723 for details. We?ve also > introduced vtkPythonAlgorithm, which makes it easier than ever to quickly > extend VTK with filters that are written directly in Python. See > http://www.kitware.com/blog/home/post/737 for details. > > VTK?s rendering is making both evolutionary and revolutionary advances in > this release. The evolutionary changes include the usual number of > incremental improvements. These include such things like advanced color and > display controls, "sticky" axes mode for vtkCubeAxesActor, out of range > color assignments, and indexed color lookups for vtkStringArrays. There are > also a number of text rendering improvements such as better multiline, > rotated, and aligned text as well as BackgroundColor and BackgroundOpacity > options. > > The revolutionary changes can be found in the OpenGL2 modules. These are > under active development at the moment, and the API will be subject to > change in the next release, but early adopters are encouraged to try it out > and report their experiences with it on the mailing list. OpenGL2 is a > rewrite of VTK?s rendering backend that brings VTK up to date with modern > OpenGL programming practices. By replacing antiquated rendering techniques > with modern ones, we have increased rendering performance by orders of > magnitude in some situations. This work, funded by the NIH VTK Maintenance > grant touches both surface and volume rendering techniques. You can read > about OpenGL2 at: http://www.kitware.com/source/home/post/144 and > http://www.kitware.com/source/home/post/154 > > Besides the above progress some of the most notable changes in VTK 6.2 > include > > - > > deprecated InfovisParallel > - > > vtkIOXdmf3, an interface to ARL?s greatly improved interface to HDF5 > backed data storage > - > > added a reader and writer for NIfTI files, including the 64-bit > NIfTI-2 format > - > > added support for SpaceMouse devices > - > > external rendering support for immersive environments > http://kitware.com/blog/home/post/688 > - > > removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS > - > > Rewrote the OS X Cocoa mouse event handling code to make it more > robust. > > > We hope you enjoy this release of VTK! As always contact Kitware and the > mailing lists for assistance. > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Commandline options: -DTBB_LIBRARY:FILEPATH="C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbb.lib" -DVTK_LEGACY_REMOVE:BOOL="1" -DTBB_LIBRARY_DEBUG:FILEPATH="C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbb_debug.lib" -DTBB_MALLOC_LIBRARY_DEBUG:FILEPATH="C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbbmalloc_debug.lib" -DVTK_SMP_IMPLEMENTATION_TYPE:STRING="TBB" -DTBB_INCLUDE_DIR:PATH="C:/Dev/tbb43_20141204oss/include" -DQT_DBUSCPP2XML_EXECUTABLE:FILEPATH="QT_DBUSCPP2XML_EXECUTABLE-NOTFOUND" -DModule_vtkGUISupportQtOpenGL:BOOL="0" -DModule_vtkRenderingVolumeOpenGL2:BOOL="1" -DBUILD_EXAMPLES:BOOL="1" -DVTK_Group_Rendering:BOOL="1" -DModule_vtkRenderingFreeTypeOpenGL2:BOOL="1" -DModule_vtkRenderingQt:BOOL="1" -DModule_vtkGUISupportQt:BOOL="1" -DModule_vtkDomainsChemistryOpenGL2:BOOL="1" -DQT_QMAKE_EXECUTABLE:FILEPATH="C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/bin/qmake.exe" -DModule_vtkViewsQt:BOOL="1" -DTBB_MALLOC_LIBRARY:FILEPATH="C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbbmalloc.lib" -DModule_vtkRenderingOpenGL2:BOOL="1" -DVTK_Group_StandAlone:BOOL="1" -DVTK_QT_VERSION:STRING="5" -DVTK_RENDERING_BACKEND:STRING="OpenGL2" -DModule_vtkInteractionImage:BOOL="1" -DModule_vtkRenderingContextOpenGL2:BOOL="1" -DModule_vtkInteractionWidgets:BOOL="1" -DModule_vtkRenderingFreeTypeFontConfig:BOOL="0" -DBUILD_TESTING:BOOL="1" -DBUILD_SHARED_LIBS:BOOL="0" -DModule_vtkRenderingVolumeOpenGLNew:BOOL="0" Cache file: TBB_LIBRARY:FILEPATH=C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbb.lib VTK_LEGACY_REMOVE:BOOL=1 TBB_LIBRARY_DEBUG:FILEPATH=C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbb_debug.lib TBB_MALLOC_LIBRARY_DEBUG:FILEPATH=C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbbmalloc_debug.lib VTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB TBB_INCLUDE_DIR:PATH=C:/Dev/tbb43_20141204oss/include QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=QT_DBUSCPP2XML_EXECUTABLE-NOTFOUND Module_vtkGUISupportQtOpenGL:BOOL=0 Module_vtkRenderingVolumeOpenGL2:BOOL=1 BUILD_EXAMPLES:BOOL=1 VTK_Group_Rendering:BOOL=1 Module_vtkRenderingFreeTypeOpenGL2:BOOL=1 Module_vtkRenderingQt:BOOL=1 Module_vtkGUISupportQt:BOOL=1 Module_vtkDomainsChemistryOpenGL2:BOOL=1 QT_QMAKE_EXECUTABLE:FILEPATH=C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/bin/qmake.exe Module_vtkViewsQt:BOOL=1 TBB_MALLOC_LIBRARY:FILEPATH=C:/Dev/tbb43_20141204oss/lib/intel64/vc12/tbbmalloc.lib Module_vtkRenderingOpenGL2:BOOL=1 VTK_Group_StandAlone:BOOL=1 VTK_QT_VERSION:STRING=5 VTK_RENDERING_BACKEND:STRING=OpenGL2 Module_vtkInteractionImage:BOOL=1 Module_vtkRenderingContextOpenGL2:BOOL=1 Module_vtkInteractionWidgets:BOOL=1 Module_vtkRenderingFreeTypeFontConfig:BOOL=0 BUILD_TESTING:BOOL=1 BUILD_SHARED_LIBS:BOOL=0 Module_vtkRenderingVolumeOpenGLNew:BOOL=0 -------------- next part -------------- A non-text attachment was scrubbed... Name: cmakeConfigure.log Type: application/octet-stream Size: 31383 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Feb 25 20:33:38 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Feb 2015 20:33:38 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: What is this file? C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake Maybe it needs "COPY_ONLY" replaced with "COPYONLY" David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Feb 25, 2015 at 5:08 PM, D?enan Zuki? wrote: > Hi David, > > I managed to select CMake configuration options which cause a mysterious > error: configure_file called with unknown argument(s): COPY_ONLY. > > Attached are my changes to the configuration and CMake's configure log > (error is at the end). > > Regards > > On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle > wrote: > >> The VTK developement team is happy to announce that VTK 6.2 has entered >> the release candidate stage! >> >> You can find the source, data, and new vtkpython binary packages here: >> >> http://www.vtk.org/VTK/resources/software.html#latestcand >> >> Please try this version of VTK and report any issues to the list or the >> bug tracker so that we can try to address them before VTK 6.2.0 final. >> >> The official release notes will be available when VTK final is released >> in the next few weeks. In the meantime here is a preview: >> >> -- >> >> VTK?s use of the parallelism available in modern architectures continues >> to mature. To set the stage for this move, we have refactored how pieces >> and extents are handled in the pipeline. The pipeline used to inject extent >> translators into the pipeline to obtain structured sub-extents for each >> requested unstructured piece. This approach had flaws so now the >> translation responsibility falls to the readers which are best able to make >> the computation and parallel filters are now responsible for dealing >> gracefully with unexpected extents. Next we have we have updated to the >> latest version of the Dax toolkit and begun to lay the groundwork for >> adopting the vtk-m project as a successor to the Piston, Dax, and EAVL >> efforts. There have been a series of minor improvements to the SMP >> framework and vtkSMP filters too as we get ready to adopt them in a large >> swath of VTK?s algorithms. In related work, note that we have begun to >> support Xeon Phi (MIC) chips. For information about this please refer to: h >> ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 >> . >> >> Similarly VTK?s support for the Web continues to advance in this release. >> VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete and >> updated examples of using the web launcher to start vtkweb applications. >> vtkWeb applications now support http-only server/client configurations for >> situations when websockets are not acceptable. There were also improvements >> made to VTK to support the creation and use of Cinema and Workbench >> applications (in-situ deferred visualization) that are described in a >> SuperComputing 2015 paper ?An Image-based Approach to Extreme Scale In Situ >> Visualization and Analysis? >> >> Wrapped languages have gotten a share of the attention in this release. >> There have been several fixes for ActiViz.Net which was recently updated >> from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl examples >> have finally been upgraded following modularization and note that it is now >> mandatory to invoke the method Start on the instance of vtkRenderInteractor >> from Tcl. In Java, vtkPanel?s behavior was changed to better support >> advanced class loader system like OSGI. VTK?s dashboards now automatically >> build redistributable packages on Windows, Linux and Mac that will allow us >> to feed Maven. >> >> Python has received the heaviest dose of updates. Wrapped namespaces and >> enum types are now available in Python. We?ve also made significant >> improvements to the VTK-numpy integration by introducing a number of Python >> modules that provide numpy-compatible interfaces to VTK data structures. >> See http://www.kitware.com/blog/home/post/723 for details. We?ve also >> introduced vtkPythonAlgorithm, which makes it easier than ever to quickly >> extend VTK with filters that are written directly in Python. See >> http://www.kitware.com/blog/home/post/737 for details. >> >> VTK?s rendering is making both evolutionary and revolutionary advances in >> this release. The evolutionary changes include the usual number of >> incremental improvements. These include such things like advanced color and >> display controls, "sticky" axes mode for vtkCubeAxesActor, out of range >> color assignments, and indexed color lookups for vtkStringArrays. There are >> also a number of text rendering improvements such as better multiline, >> rotated, and aligned text as well as BackgroundColor and BackgroundOpacity >> options. >> >> The revolutionary changes can be found in the OpenGL2 modules. These are >> under active development at the moment, and the API will be subject to >> change in the next release, but early adopters are encouraged to try it out >> and report their experiences with it on the mailing list. OpenGL2 is a >> rewrite of VTK?s rendering backend that brings VTK up to date with modern >> OpenGL programming practices. By replacing antiquated rendering techniques >> with modern ones, we have increased rendering performance by orders of >> magnitude in some situations. This work, funded by the NIH VTK Maintenance >> grant touches both surface and volume rendering techniques. You can read >> about OpenGL2 at: http://www.kitware.com/source/home/post/144 and >> http://www.kitware.com/source/home/post/154 >> >> Besides the above progress some of the most notable changes in VTK 6.2 >> include >> >> - >> >> deprecated InfovisParallel >> - >> >> vtkIOXdmf3, an interface to ARL?s greatly improved interface to HDF5 >> backed data storage >> - >> >> added a reader and writer for NIfTI files, including the 64-bit >> NIfTI-2 format >> - >> >> added support for SpaceMouse devices >> - >> >> external rendering support for immersive environments >> http://kitware.com/blog/home/post/688 >> - >> >> removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS >> - >> >> Rewrote the OS X Cocoa mouse event handling code to make it more >> robust. >> >> >> We hope you enjoy this release of VTK! As always contact Kitware and the >> mailing lists for assistance. >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> _______________________________________________ >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Wed Feb 25 21:43:03 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 25 Feb 2015 21:43:03 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: That file is part of a binary release of Qt 5.4.0. Another problem: enabling build_examples without enabling Build_Testing gives off "Requested modules not available: vtkTestingCore". Enabling Build_Testing creates COPY_ONLY issue. This issue disappears when using QT 5.4.1. In 5.4.1's version of Qt5CoreMacros.cmake that string is COPYONLY - so they have fixed it. I am now building it with examples and testing on. If I run into any more issues I will let you know. On Wed, Feb 25, 2015 at 8:33 PM, David E DeMarle wrote: > What is this file? > C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake > Maybe it needs "COPY_ONLY" replaced with "COPYONLY" > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Feb 25, 2015 at 5:08 PM, D?enan Zuki? wrote: > >> Hi David, >> >> I managed to select CMake configuration options which cause a mysterious >> error: configure_file called with unknown argument(s): COPY_ONLY. >> >> Attached are my changes to the configuration and CMake's configure log >> (error is at the end). >> >> Regards >> >> On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle < >> dave.demarle at kitware.com> wrote: >> >>> The VTK developement team is happy to announce that VTK 6.2 has entered >>> the release candidate stage! >>> >>> You can find the source, data, and new vtkpython binary packages here: >>> >>> http://www.vtk.org/VTK/resources/software.html#latestcand >>> >>> Please try this version of VTK and report any issues to the list or the >>> bug tracker so that we can try to address them before VTK 6.2.0 final. >>> >>> The official release notes will be available when VTK final is released >>> in the next few weeks. In the meantime here is a preview: >>> >>> -- >>> >>> VTK?s use of the parallelism available in modern architectures continues >>> to mature. To set the stage for this move, we have refactored how pieces >>> and extents are handled in the pipeline. The pipeline used to inject extent >>> translators into the pipeline to obtain structured sub-extents for each >>> requested unstructured piece. This approach had flaws so now the >>> translation responsibility falls to the readers which are best able to make >>> the computation and parallel filters are now responsible for dealing >>> gracefully with unexpected extents. Next we have we have updated to the >>> latest version of the Dax toolkit and begun to lay the groundwork for >>> adopting the vtk-m project as a successor to the Piston, Dax, and EAVL >>> efforts. There have been a series of minor improvements to the SMP >>> framework and vtkSMP filters too as we get ready to adopt them in a large >>> swath of VTK?s algorithms. In related work, note that we have begun to >>> support Xeon Phi (MIC) chips. For information about this please refer to: h >>> ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 >>> . >>> >>> Similarly VTK?s support for the Web continues to advance in this >>> release. VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete >>> and updated examples of using the web launcher to start vtkweb >>> applications. vtkWeb applications now support http-only server/client >>> configurations for situations when websockets are not acceptable. There >>> were also improvements made to VTK to support the creation and use of >>> Cinema and Workbench applications (in-situ deferred visualization) that are >>> described in a SuperComputing 2015 paper ?An Image-based Approach to >>> Extreme Scale In Situ Visualization and Analysis? >>> >>> Wrapped languages have gotten a share of the attention in this release. >>> There have been several fixes for ActiViz.Net which was recently updated >>> from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl examples >>> have finally been upgraded following modularization and note that it is now >>> mandatory to invoke the method Start on the instance of vtkRenderInteractor >>> from Tcl. In Java, vtkPanel?s behavior was changed to better support >>> advanced class loader system like OSGI. VTK?s dashboards now automatically >>> build redistributable packages on Windows, Linux and Mac that will allow us >>> to feed Maven. >>> >>> Python has received the heaviest dose of updates. Wrapped namespaces and >>> enum types are now available in Python. We?ve also made significant >>> improvements to the VTK-numpy integration by introducing a number of Python >>> modules that provide numpy-compatible interfaces to VTK data structures. >>> See http://www.kitware.com/blog/home/post/723 for details. We?ve also >>> introduced vtkPythonAlgorithm, which makes it easier than ever to quickly >>> extend VTK with filters that are written directly in Python. See >>> http://www.kitware.com/blog/home/post/737 for details. >>> >>> VTK?s rendering is making both evolutionary and revolutionary advances >>> in this release. The evolutionary changes include the usual number of >>> incremental improvements. These include such things like advanced color and >>> display controls, "sticky" axes mode for vtkCubeAxesActor, out of range >>> color assignments, and indexed color lookups for vtkStringArrays. There are >>> also a number of text rendering improvements such as better multiline, >>> rotated, and aligned text as well as BackgroundColor and BackgroundOpacity >>> options. >>> >>> The revolutionary changes can be found in the OpenGL2 modules. These are >>> under active development at the moment, and the API will be subject to >>> change in the next release, but early adopters are encouraged to try it out >>> and report their experiences with it on the mailing list. OpenGL2 is a >>> rewrite of VTK?s rendering backend that brings VTK up to date with modern >>> OpenGL programming practices. By replacing antiquated rendering techniques >>> with modern ones, we have increased rendering performance by orders of >>> magnitude in some situations. This work, funded by the NIH VTK Maintenance >>> grant touches both surface and volume rendering techniques. You can read >>> about OpenGL2 at: http://www.kitware.com/source/home/post/144 and >>> http://www.kitware.com/source/home/post/154 >>> >>> Besides the above progress some of the most notable changes in VTK 6.2 >>> include >>> >>> - >>> >>> deprecated InfovisParallel >>> - >>> >>> vtkIOXdmf3, an interface to ARL?s greatly improved interface to HDF5 >>> backed data storage >>> - >>> >>> added a reader and writer for NIfTI files, including the 64-bit >>> NIfTI-2 format >>> - >>> >>> added support for SpaceMouse devices >>> - >>> >>> external rendering support for immersive environments >>> http://kitware.com/blog/home/post/688 >>> - >>> >>> removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS >>> - >>> >>> Rewrote the OS X Cocoa mouse event handling code to make it more >>> robust. >>> >>> >>> We hope you enjoy this release of VTK! As always contact Kitware and the >>> mailing lists for assistance. >>> >>> David E DeMarle >>> Kitware, Inc. >>> R&D Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-881-4909 >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/vtkusers >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Wed Feb 25 23:16:39 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 25 Feb 2015 23:16:39 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: I am using VS2013 Community Edition targeting AMD64. This error appears when compiling in both release and debug mode: M:\Dev\VTK-6.2.0.rc1\Examples\ParallelProcessing\SMP\Cxx\vtkSMPMinMaxTree.cxx(81): error C3861: '__sync_add_and_fetch': identifier not found In debug mode there is a linking error with tbb_debug.lib, even though I specified its path in CMake configuration step along with all other things setting VTK_SMP_IMPEMENTATION_TYPE to TBB required. It happens for vtkFiltersModelingCxxTests, AmbientSpheres and many others. Example message: 5>------ Build started: Project: vtkFiltersSMPCxxTests, Configuration: Debug x64 ------ 5>LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib' Build: 2 succeeded, 117 failed, 124 up-to-date, 7 skipped Also, this warning is repeated many times over (always for tutorial step6): CMake Warning (dev) in Examples/Tutorial/Step6/Cxx/CMakeLists.txt: Policy CMP0020 is not set: Automatically link Qt executables to qtmain target on Windows. Run "cmake --help-policy CMP0020" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. On Wed, Feb 25, 2015 at 9:43 PM, D?enan Zuki? wrote: > That file is part of a binary release of Qt 5.4.0. > > Another problem: enabling build_examples without enabling Build_Testing > gives off "Requested modules not available: vtkTestingCore". > > Enabling Build_Testing creates COPY_ONLY issue. This issue disappears when > using QT 5.4.1. In 5.4.1's version of Qt5CoreMacros.cmake that string is > COPYONLY - so they have fixed it. > > I am now building it with examples and testing on. If I run into any more > issues I will let you know. > > On Wed, Feb 25, 2015 at 8:33 PM, David E DeMarle > wrote: > >> What is this file? >> >> C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake >> Maybe it needs "COPY_ONLY" replaced with "COPYONLY" >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> On Wed, Feb 25, 2015 at 5:08 PM, D?enan Zuki? wrote: >> >>> Hi David, >>> >>> I managed to select CMake configuration options which cause a mysterious >>> error: configure_file called with unknown argument(s): COPY_ONLY. >>> >>> Attached are my changes to the configuration and CMake's configure log >>> (error is at the end). >>> >>> Regards >>> >>> On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle < >>> dave.demarle at kitware.com> wrote: >>> >>>> The VTK developement team is happy to announce that VTK 6.2 has entered >>>> the release candidate stage! >>>> >>>> You can find the source, data, and new vtkpython binary packages here: >>>> >>>> http://www.vtk.org/VTK/resources/software.html#latestcand >>>> >>>> Please try this version of VTK and report any issues to the list or the >>>> bug tracker so that we can try to address them before VTK 6.2.0 final. >>>> >>>> The official release notes will be available when VTK final is released >>>> in the next few weeks. In the meantime here is a preview: >>>> >>>> -- >>>> >>>> VTK?s use of the parallelism available in modern architectures >>>> continues to mature. To set the stage for this move, we have refactored how >>>> pieces and extents are handled in the pipeline. The pipeline used to inject >>>> extent translators into the pipeline to obtain structured sub-extents for >>>> each requested unstructured piece. This approach had flaws so now the >>>> translation responsibility falls to the readers which are best able to make >>>> the computation and parallel filters are now responsible for dealing >>>> gracefully with unexpected extents. Next we have we have updated to the >>>> latest version of the Dax toolkit and begun to lay the groundwork for >>>> adopting the vtk-m project as a successor to the Piston, Dax, and EAVL >>>> efforts. There have been a series of minor improvements to the SMP >>>> framework and vtkSMP filters too as we get ready to adopt them in a large >>>> swath of VTK?s algorithms. In related work, note that we have begun to >>>> support Xeon Phi (MIC) chips. For information about this please refer to: h >>>> ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 >>>> . >>>> >>>> Similarly VTK?s support for the Web continues to advance in this >>>> release. VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete >>>> and updated examples of using the web launcher to start vtkweb >>>> applications. vtkWeb applications now support http-only server/client >>>> configurations for situations when websockets are not acceptable. There >>>> were also improvements made to VTK to support the creation and use of >>>> Cinema and Workbench applications (in-situ deferred visualization) that are >>>> described in a SuperComputing 2015 paper ?An Image-based Approach to >>>> Extreme Scale In Situ Visualization and Analysis? >>>> >>>> Wrapped languages have gotten a share of the attention in this release. >>>> There have been several fixes for ActiViz.Net which was recently updated >>>> from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl examples >>>> have finally been upgraded following modularization and note that it is now >>>> mandatory to invoke the method Start on the instance of vtkRenderInteractor >>>> from Tcl. In Java, vtkPanel?s behavior was changed to better support >>>> advanced class loader system like OSGI. VTK?s dashboards now automatically >>>> build redistributable packages on Windows, Linux and Mac that will allow us >>>> to feed Maven. >>>> >>>> Python has received the heaviest dose of updates. Wrapped namespaces >>>> and enum types are now available in Python. We?ve also made significant >>>> improvements to the VTK-numpy integration by introducing a number of Python >>>> modules that provide numpy-compatible interfaces to VTK data structures. >>>> See http://www.kitware.com/blog/home/post/723 for details. We?ve also >>>> introduced vtkPythonAlgorithm, which makes it easier than ever to quickly >>>> extend VTK with filters that are written directly in Python. See >>>> http://www.kitware.com/blog/home/post/737 for details. >>>> >>>> VTK?s rendering is making both evolutionary and revolutionary advances >>>> in this release. The evolutionary changes include the usual number of >>>> incremental improvements. These include such things like advanced color and >>>> display controls, "sticky" axes mode for vtkCubeAxesActor, out of range >>>> color assignments, and indexed color lookups for vtkStringArrays. There are >>>> also a number of text rendering improvements such as better multiline, >>>> rotated, and aligned text as well as BackgroundColor and BackgroundOpacity >>>> options. >>>> >>>> The revolutionary changes can be found in the OpenGL2 modules. These >>>> are under active development at the moment, and the API will be subject to >>>> change in the next release, but early adopters are encouraged to try it out >>>> and report their experiences with it on the mailing list. OpenGL2 is a >>>> rewrite of VTK?s rendering backend that brings VTK up to date with modern >>>> OpenGL programming practices. By replacing antiquated rendering techniques >>>> with modern ones, we have increased rendering performance by orders of >>>> magnitude in some situations. This work, funded by the NIH VTK Maintenance >>>> grant touches both surface and volume rendering techniques. You can read >>>> about OpenGL2 at: http://www.kitware.com/source/home/post/144 and >>>> http://www.kitware.com/source/home/post/154 >>>> >>>> Besides the above progress some of the most notable changes in VTK 6.2 >>>> include >>>> >>>> - >>>> >>>> deprecated InfovisParallel >>>> - >>>> >>>> vtkIOXdmf3, an interface to ARL?s greatly improved interface to >>>> HDF5 backed data storage >>>> - >>>> >>>> added a reader and writer for NIfTI files, including the 64-bit >>>> NIfTI-2 format >>>> - >>>> >>>> added support for SpaceMouse devices >>>> - >>>> >>>> external rendering support for immersive environments >>>> http://kitware.com/blog/home/post/688 >>>> - >>>> >>>> removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS >>>> - >>>> >>>> Rewrote the OS X Cocoa mouse event handling code to make it more >>>> robust. >>>> >>>> >>>> We hope you enjoy this release of VTK! As always contact Kitware and >>>> the mailing lists for assistance. >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> R&D Engineer >>>> 21 Corporate Drive >>>> Clifton Park, NY 12065-8662 >>>> Phone: 518-881-4909 >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Feb 26 10:37:28 2015 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 26 Feb 2015 10:37:28 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: All of the same compiler issues exist with VS2012 x64. On Wed, Feb 25, 2015 at 11:16 PM, D?enan Zuki? wrote: > I am using VS2013 Community Edition targeting AMD64. > > This error appears when compiling in both release and debug mode: > M:\Dev\VTK-6.2.0.rc1\Examples\ParallelProcessing\SMP\Cxx\vtkSMPMinMaxTree.cxx(81): > error C3861: '__sync_add_and_fetch': identifier not found > > In debug mode there is a linking error with tbb_debug.lib, even though I > specified its path in CMake configuration step along with all other things > setting VTK_SMP_IMPEMENTATION_TYPE to TBB required. It happens > for vtkFiltersModelingCxxTests, AmbientSpheres and many others. Example > message: > 5>------ Build started: Project: vtkFiltersSMPCxxTests, Configuration: > Debug x64 ------ > 5>LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib' > Build: 2 succeeded, 117 failed, 124 up-to-date, 7 skipped > > Also, this warning is repeated many times over (always for tutorial step6): > CMake Warning (dev) in Examples/Tutorial/Step6/Cxx/CMakeLists.txt: > Policy CMP0020 is not set: Automatically link Qt executables to qtmain > target on Windows. Run "cmake --help-policy CMP0020" for policy details. > Use the cmake_policy command to set the policy and suppress this warning. > This warning is for project developers. Use -Wno-dev to suppress it. > > On Wed, Feb 25, 2015 at 9:43 PM, D?enan Zuki? wrote: > >> That file is part of a binary release of Qt 5.4.0. >> >> Another problem: enabling build_examples without enabling Build_Testing >> gives off "Requested modules not available: vtkTestingCore". >> >> Enabling Build_Testing creates COPY_ONLY issue. This issue disappears >> when using QT 5.4.1. In 5.4.1's version of Qt5CoreMacros.cmake that >> string is COPYONLY - so they have fixed it. >> >> I am now building it with examples and testing on. If I run into any more >> issues I will let you know. >> >> On Wed, Feb 25, 2015 at 8:33 PM, David E DeMarle < >> dave.demarle at kitware.com> wrote: >> >>> What is this file? >>> >>> C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake >>> Maybe it needs "COPY_ONLY" replaced with "COPYONLY" >>> >>> David E DeMarle >>> Kitware, Inc. >>> R&D Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-881-4909 >>> >>> On Wed, Feb 25, 2015 at 5:08 PM, D?enan Zuki? wrote: >>> >>>> Hi David, >>>> >>>> I managed to select CMake configuration options which cause a >>>> mysterious error: configure_file called with unknown argument(s): >>>> COPY_ONLY. >>>> >>>> Attached are my changes to the configuration and CMake's configure log >>>> (error is at the end). >>>> >>>> Regards >>>> >>>> On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle < >>>> dave.demarle at kitware.com> wrote: >>>> >>>>> The VTK developement team is happy to announce that VTK 6.2 has >>>>> entered the release candidate stage! >>>>> >>>>> You can find the source, data, and new vtkpython binary packages here: >>>>> >>>>> http://www.vtk.org/VTK/resources/software.html#latestcand >>>>> >>>>> Please try this version of VTK and report any issues to the list or >>>>> the bug tracker so that we can try to address them before VTK 6.2.0 final. >>>>> >>>>> The official release notes will be available when VTK final is >>>>> released in the next few weeks. In the meantime here is a preview: >>>>> >>>>> -- >>>>> >>>>> VTK?s use of the parallelism available in modern architectures >>>>> continues to mature. To set the stage for this move, we have refactored how >>>>> pieces and extents are handled in the pipeline. The pipeline used to inject >>>>> extent translators into the pipeline to obtain structured sub-extents for >>>>> each requested unstructured piece. This approach had flaws so now the >>>>> translation responsibility falls to the readers which are best able to make >>>>> the computation and parallel filters are now responsible for dealing >>>>> gracefully with unexpected extents. Next we have we have updated to the >>>>> latest version of the Dax toolkit and begun to lay the groundwork for >>>>> adopting the vtk-m project as a successor to the Piston, Dax, and EAVL >>>>> efforts. There have been a series of minor improvements to the SMP >>>>> framework and vtkSMP filters too as we get ready to adopt them in a large >>>>> swath of VTK?s algorithms. In related work, note that we have begun to >>>>> support Xeon Phi (MIC) chips. For information about this please refer to: h >>>>> ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 >>>>> . >>>>> >>>>> >>>>> Similarly VTK?s support for the Web continues to advance in this >>>>> release. VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete >>>>> and updated examples of using the web launcher to start vtkweb >>>>> applications. vtkWeb applications now support http-only server/client >>>>> configurations for situations when websockets are not acceptable. There >>>>> were also improvements made to VTK to support the creation and use of >>>>> Cinema and Workbench applications (in-situ deferred visualization) that are >>>>> described in a SuperComputing 2015 paper ?An Image-based Approach to >>>>> Extreme Scale In Situ Visualization and Analysis? >>>>> >>>>> Wrapped languages have gotten a share of the attention in this >>>>> release. There have been several fixes for ActiViz.Net which was recently >>>>> updated from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl >>>>> examples have finally been upgraded following modularization and note that >>>>> it is now mandatory to invoke the method Start on the instance of >>>>> vtkRenderInteractor from Tcl. In Java, vtkPanel?s behavior was changed to >>>>> better support advanced class loader system like OSGI. VTK?s dashboards now >>>>> automatically build redistributable packages on Windows, Linux and Mac that >>>>> will allow us to feed Maven. >>>>> >>>>> Python has received the heaviest dose of updates. Wrapped namespaces >>>>> and enum types are now available in Python. We?ve also made significant >>>>> improvements to the VTK-numpy integration by introducing a number of Python >>>>> modules that provide numpy-compatible interfaces to VTK data structures. >>>>> See http://www.kitware.com/blog/home/post/723 for details. We?ve also >>>>> introduced vtkPythonAlgorithm, which makes it easier than ever to quickly >>>>> extend VTK with filters that are written directly in Python. See >>>>> http://www.kitware.com/blog/home/post/737 for details. >>>>> >>>>> VTK?s rendering is making both evolutionary and revolutionary advances >>>>> in this release. The evolutionary changes include the usual number of >>>>> incremental improvements. These include such things like advanced color and >>>>> display controls, "sticky" axes mode for vtkCubeAxesActor, out of range >>>>> color assignments, and indexed color lookups for vtkStringArrays. There are >>>>> also a number of text rendering improvements such as better multiline, >>>>> rotated, and aligned text as well as BackgroundColor and BackgroundOpacity >>>>> options. >>>>> >>>>> The revolutionary changes can be found in the OpenGL2 modules. These >>>>> are under active development at the moment, and the API will be subject to >>>>> change in the next release, but early adopters are encouraged to try it out >>>>> and report their experiences with it on the mailing list. OpenGL2 is a >>>>> rewrite of VTK?s rendering backend that brings VTK up to date with modern >>>>> OpenGL programming practices. By replacing antiquated rendering techniques >>>>> with modern ones, we have increased rendering performance by orders of >>>>> magnitude in some situations. This work, funded by the NIH VTK Maintenance >>>>> grant touches both surface and volume rendering techniques. You can read >>>>> about OpenGL2 at: http://www.kitware.com/source/home/post/144 and >>>>> http://www.kitware.com/source/home/post/154 >>>>> >>>>> Besides the above progress some of the most notable changes in VTK 6.2 >>>>> include >>>>> >>>>> - >>>>> >>>>> deprecated InfovisParallel >>>>> - >>>>> >>>>> vtkIOXdmf3, an interface to ARL?s greatly improved interface to >>>>> HDF5 backed data storage >>>>> - >>>>> >>>>> added a reader and writer for NIfTI files, including the 64-bit >>>>> NIfTI-2 format >>>>> - >>>>> >>>>> added support for SpaceMouse devices >>>>> - >>>>> >>>>> external rendering support for immersive environments >>>>> http://kitware.com/blog/home/post/688 >>>>> - >>>>> >>>>> removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS >>>>> - >>>>> >>>>> Rewrote the OS X Cocoa mouse event handling code to make it more >>>>> robust. >>>>> >>>>> >>>>> We hope you enjoy this release of VTK! As always contact Kitware and >>>>> the mailing lists for assistance. >>>>> >>>>> David E DeMarle >>>>> Kitware, Inc. >>>>> R&D Engineer >>>>> 21 Corporate Drive >>>>> Clifton Park, NY 12065-8662 >>>>> Phone: 518-881-4909 >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge at infolytica.com Thu Feb 26 11:40:47 2015 From: serge at infolytica.com (Serge Lalonde) Date: Thu, 26 Feb 2015 11:40:47 -0500 Subject: [vtkusers] Enabling LOD for vtkUnstructuredGrid Message-ID: <54EF4C8F.2050607@infolytica.com> An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Feb 26 12:02:06 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 26 Feb 2015 12:02:06 -0500 Subject: [vtkusers] VTK 6.2.0rc1 problems In-Reply-To: <1347839963.113.1424894571073.JavaMail.yahoo@mail.yahoo.com> References: <1347839963.113.1424894571073.JavaMail.yahoo@mail.yahoo.com> Message-ID: That looks like it can't find the input data file for some reason. put a break point or printf in place and see what file it is trying to open. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Feb 25, 2015 at 3:02 PM, Leonid Dulman wrote: > Thank you for help, but I use next line > #define vtkRenderingCore_AUTOINIT > 5(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL,vtkRenderingContextOpenGL) > and it works fine > > Next problem I have got in qt yoi can see it in error.pdf attachment file > > ------------------------------ > *From:* David E DeMarle > *To:* Leonid Dulman ; Ben Boeckel < > ben.boeckel at kitware.com> > *Cc:* "vtkusers at vtk.org" > *Sent:* Wednesday, February 25, 2015 6:15 PM > *Subject:* Re: [vtkusers] VTK 6.2.0rc1 problems > > Leonid, > > Please let us know if Ben's (accidentally off list) suggestion worked out: > > It looks like you're missing: > #define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL) > --Ben > > > thanks > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > > On Tue, Feb 24, 2015 at 2:05 PM, David E DeMarle > wrote: > > Thanks for trying it. Looking into this now and we'll let you know what we > find. > > cheers > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Sat, Feb 21, 2015 at 1:33 PM, Leonid Dulman > wrote: > > Hi to all > I begin testing VTK 6.2.0rc1 and from many examples (for example > QGraphicsToColors) have got meassage > Error: no override found for 'vtkContextDevice2D' > my autoinitmacro is > > #define vtkRenderingCore_AUTOINIT > 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL) > #define vtkInteractionStyle_AUTOINIT 1(vtkInteractionStyle) > #define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL) > #define vtkRenderingOpenGL_AUTOINIT 1(vtkRenderingOpenGL) > #define vtkRenderingFreeTypeOpenGL_AUTOINIT 1(vtkRenderingFreeTypeOpenGL) > > #ifdef LINUX > > > typedef unsigned long vtkWindowsDWORD; > > #define VTK_MAJOR_VERSION 6 > #define VTK_THREAD_RETURN_TYPE void* > #include "qatomic.h" > #endif > > Thank you for any help > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge at infolytica.com Thu Feb 26 16:51:55 2015 From: serge at infolytica.com (Serge Lalonde) Date: Thu, 26 Feb 2015 16:51:55 -0500 Subject: [vtkusers] Enabling LOD for vtkUnstructuredGrid In-Reply-To: <54EF4C8F.2050607@infolytica.com> References: <54EF4C8F.2050607@infolytica.com> Message-ID: <54EF957B.5070104@infolytica.com> An HTML attachment was scrubbed... URL: From liang.ge at gmail.com Thu Feb 26 21:53:22 2015 From: liang.ge at gmail.com (Liang Ge) Date: Fri, 27 Feb 2015 02:53:22 +0000 Subject: [vtkusers] Interpolate scalar value from point to cell center in Tetra mesh generated by Delaunay3D Message-ID: I have a set of points with associated scalar values. I use Delaunay3D to create a 3D Tetra mesh from the points. How can I interpolate the point scalar values to the cell centers. Thanks a lot. Liang -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Feb 27 10:02:58 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 27 Feb 2015 10:02:58 -0500 Subject: [vtkusers] Trouble with VTK 6.2.0rc1 In-Reply-To: <54ECDEA3.7060403@cora.nwra.com> References: <54ECD753.9020702@cora.nwra.com> <54ECDEA3.7060403@cora.nwra.com> Message-ID: Aashish and Sahnkesh, What is the status of vtkRenderingVolumeAMR? Is the default status (off or on) different now than before and is it supported by both OpenGL and OpenGL2? thanks, David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Feb 24, 2015 at 3:27 PM, Orion Poplawski wrote: > On 02/24/2015 12:56 PM, Orion Poplawski wrote: > > I'm testing out updating the Fedora vtk package to 6.2.0.rc1 > > As a follow up, should vtkRenderingVolumeAMR not be enabled by default any > more? I only see: > > -- Backend OpenGL modules: > > vtkRenderingVolumeOpenGL;vtkRenderingOpenGL;vtkRenderingFreeTypeOpenGL;vtkRenderingVolumeAMR;vtkRenderingContextOpenGL > -- Enabling modules for OpenGL. > > but it never gets listed as enabled. > > -- > Orion Poplawski > Technical Manager 303-415-9701 x222 > NWRA, Boulder/CoRA Office FAX: 303-415-9702 > 3380 Mitchell Lane orion at nwra.com > Boulder, CO 80301 http://www.nwra.com > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Feb 27 10:04:43 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 27 Feb 2015 10:04:43 -0500 Subject: [vtkusers] announce: vtk 6.2.0 release candidate 1 is ready In-Reply-To: References: Message-ID: Looking into these. I'm strongly leaning towards fixes for examples without tests and smp example not compiling on windows in 6.3. Dzenan, please file bug reports for each one so that we keep on track with them. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Feb 26, 2015 at 10:37 AM, D?enan Zuki? wrote: > All of the same compiler issues exist with VS2012 x64. > > On Wed, Feb 25, 2015 at 11:16 PM, D?enan Zuki? wrote: > >> I am using VS2013 Community Edition targeting AMD64. >> >> This error appears when compiling in both release and debug mode: >> M:\Dev\VTK-6.2.0.rc1\Examples\ParallelProcessing\SMP\Cxx\vtkSMPMinMaxTree.cxx(81): >> error C3861: '__sync_add_and_fetch': identifier not found >> >> In debug mode there is a linking error with tbb_debug.lib, even though I >> specified its path in CMake configuration step along with all other things >> setting VTK_SMP_IMPEMENTATION_TYPE to TBB required. It happens >> for vtkFiltersModelingCxxTests, AmbientSpheres and many others. Example >> message: >> 5>------ Build started: Project: vtkFiltersSMPCxxTests, Configuration: >> Debug x64 ------ >> 5>LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib' >> Build: 2 succeeded, 117 failed, 124 up-to-date, 7 skipped >> >> Also, this warning is repeated many times over (always for tutorial >> step6): >> CMake Warning (dev) in Examples/Tutorial/Step6/Cxx/CMakeLists.txt: >> Policy CMP0020 is not set: Automatically link Qt executables to qtmain >> target on Windows. Run "cmake --help-policy CMP0020" for policy >> details. >> Use the cmake_policy command to set the policy and suppress this >> warning. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> On Wed, Feb 25, 2015 at 9:43 PM, D?enan Zuki? wrote: >> >>> That file is part of a binary release of Qt 5.4.0. >>> >>> Another problem: enabling build_examples without enabling Build_Testing >>> gives off "Requested modules not available: vtkTestingCore". >>> >>> Enabling Build_Testing creates COPY_ONLY issue. This issue disappears >>> when using QT 5.4.1. In 5.4.1's version of Qt5CoreMacros.cmake that >>> string is COPYONLY - so they have fixed it. >>> >>> I am now building it with examples and testing on. If I run into any >>> more issues I will let you know. >>> >>> On Wed, Feb 25, 2015 at 8:33 PM, David E DeMarle < >>> dave.demarle at kitware.com> wrote: >>> >>>> What is this file? >>>> >>>> C:/Dev/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake/Qt5Core/Qt5CoreMacros.cmake >>>> Maybe it needs "COPY_ONLY" replaced with "COPYONLY" >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> R&D Engineer >>>> 21 Corporate Drive >>>> Clifton Park, NY 12065-8662 >>>> Phone: 518-881-4909 >>>> >>>> On Wed, Feb 25, 2015 at 5:08 PM, D?enan Zuki? >>>> wrote: >>>> >>>>> Hi David, >>>>> >>>>> I managed to select CMake configuration options which cause a >>>>> mysterious error: configure_file called with unknown argument(s): >>>>> COPY_ONLY. >>>>> >>>>> Attached are my changes to the configuration and CMake's configure log >>>>> (error is at the end). >>>>> >>>>> Regards >>>>> >>>>> On Mon, Feb 16, 2015 at 4:43 PM, David E DeMarle < >>>>> dave.demarle at kitware.com> wrote: >>>>> >>>>>> The VTK developement team is happy to announce that VTK 6.2 has >>>>>> entered the release candidate stage! >>>>>> >>>>>> You can find the source, data, and new vtkpython binary packages here: >>>>>> >>>>>> http://www.vtk.org/VTK/resources/software.html#latestcand >>>>>> >>>>>> Please try this version of VTK and report any issues to the list or >>>>>> the bug tracker so that we can try to address them before VTK 6.2.0 final. >>>>>> >>>>>> The official release notes will be available when VTK final is >>>>>> released in the next few weeks. In the meantime here is a preview: >>>>>> >>>>>> -- >>>>>> >>>>>> VTK?s use of the parallelism available in modern architectures >>>>>> continues to mature. To set the stage for this move, we have refactored how >>>>>> pieces and extents are handled in the pipeline. The pipeline used to inject >>>>>> extent translators into the pipeline to obtain structured sub-extents for >>>>>> each requested unstructured piece. This approach had flaws so now the >>>>>> translation responsibility falls to the readers which are best able to make >>>>>> the computation and parallel filters are now responsible for dealing >>>>>> gracefully with unexpected extents. Next we have we have updated to the >>>>>> latest version of the Dax toolkit and begun to lay the groundwork for >>>>>> adopting the vtk-m project as a successor to the Piston, Dax, and EAVL >>>>>> efforts. There have been a series of minor improvements to the SMP >>>>>> framework and vtkSMP filters too as we get ready to adopt them in a large >>>>>> swath of VTK?s algorithms. In related work, note that we have begun to >>>>>> support Xeon Phi (MIC) chips. For information about this please refer to: h >>>>>> ttp://www.paraview.org/Wiki/ParaView_and_VTK_on_Xeon_Phi_%28KNC%29 >>>>>> . >>>>>> >>>>>> >>>>>> Similarly VTK?s support for the Web continues to advance in this >>>>>> release. VTK-Web has migrated to WAMP 2.0 in 6.2 and there are now complete >>>>>> and updated examples of using the web launcher to start vtkweb >>>>>> applications. vtkWeb applications now support http-only server/client >>>>>> configurations for situations when websockets are not acceptable. There >>>>>> were also improvements made to VTK to support the creation and use of >>>>>> Cinema and Workbench applications (in-situ deferred visualization) that are >>>>>> described in a SuperComputing 2015 paper ?An Image-based Approach to >>>>>> Extreme Scale In Situ Visualization and Analysis? >>>>>> >>>>>> Wrapped languages have gotten a share of the attention in this >>>>>> release. There have been several fixes for ActiViz.Net which was recently >>>>>> updated from 5.8 to VTK 6.1 and will soon be updated again to 6.2. The Tcl >>>>>> examples have finally been upgraded following modularization and note that >>>>>> it is now mandatory to invoke the method Start on the instance of >>>>>> vtkRenderInteractor from Tcl. In Java, vtkPanel?s behavior was changed to >>>>>> better support advanced class loader system like OSGI. VTK?s dashboards now >>>>>> automatically build redistributable packages on Windows, Linux and Mac that >>>>>> will allow us to feed Maven. >>>>>> >>>>>> Python has received the heaviest dose of updates. Wrapped namespaces >>>>>> and enum types are now available in Python. We?ve also made significant >>>>>> improvements to the VTK-numpy integration by introducing a number of Python >>>>>> modules that provide numpy-compatible interfaces to VTK data structures. >>>>>> See http://www.kitware.com/blog/home/post/723 for details. We?ve >>>>>> also introduced vtkPythonAlgorithm, which makes it easier than ever to >>>>>> quickly extend VTK with filters that are written directly in Python. See >>>>>> http://www.kitware.com/blog/home/post/737 for details. >>>>>> >>>>>> VTK?s rendering is making both evolutionary and revolutionary >>>>>> advances in this release. The evolutionary changes include the usual number >>>>>> of incremental improvements. These include such things like advanced color >>>>>> and display controls, "sticky" axes mode for vtkCubeAxesActor, out of range >>>>>> color assignments, and indexed color lookups for vtkStringArrays. There are >>>>>> also a number of text rendering improvements such as better multiline, >>>>>> rotated, and aligned text as well as BackgroundColor and BackgroundOpacity >>>>>> options. >>>>>> >>>>>> The revolutionary changes can be found in the OpenGL2 modules. These >>>>>> are under active development at the moment, and the API will be subject to >>>>>> change in the next release, but early adopters are encouraged to try it out >>>>>> and report their experiences with it on the mailing list. OpenGL2 is a >>>>>> rewrite of VTK?s rendering backend that brings VTK up to date with modern >>>>>> OpenGL programming practices. By replacing antiquated rendering techniques >>>>>> with modern ones, we have increased rendering performance by orders of >>>>>> magnitude in some situations. This work, funded by the NIH VTK Maintenance >>>>>> grant touches both surface and volume rendering techniques. You can read >>>>>> about OpenGL2 at: http://www.kitware.com/source/home/post/144 and >>>>>> http://www.kitware.com/source/home/post/154 >>>>>> >>>>>> Besides the above progress some of the most notable changes in VTK >>>>>> 6.2 include >>>>>> >>>>>> - >>>>>> >>>>>> deprecated InfovisParallel >>>>>> - >>>>>> >>>>>> vtkIOXdmf3, an interface to ARL?s greatly improved interface to >>>>>> HDF5 backed data storage >>>>>> - >>>>>> >>>>>> added a reader and writer for NIfTI files, including the 64-bit >>>>>> NIfTI-2 format >>>>>> - >>>>>> >>>>>> added support for SpaceMouse devices >>>>>> - >>>>>> >>>>>> external rendering support for immersive environments >>>>>> http://kitware.com/blog/home/post/688 >>>>>> - >>>>>> >>>>>> removed -fobjc-gc from VTK_REQUIRED_OBJCXX_FLAGS >>>>>> - >>>>>> >>>>>> Rewrote the OS X Cocoa mouse event handling code to make it more >>>>>> robust. >>>>>> >>>>>> >>>>>> We hope you enjoy this release of VTK! As always contact Kitware and >>>>>> the mailing lists for assistance. >>>>>> >>>>>> David E DeMarle >>>>>> Kitware, Inc. >>>>>> R&D Engineer >>>>>> 21 Corporate Drive >>>>>> Clifton Park, NY 12065-8662 >>>>>> Phone: 518-881-4909 >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Feb 27 11:41:36 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 27 Feb 2015 11:41:36 -0500 Subject: [vtkusers] some missing module in Python Build In-Reply-To: References: Message-ID: You are building VTK yourself correct? What version number? Did you install the build or are you running it from the build directory? Under your build directory, is there a vtkFiltersFlowPaths.py file (find . -name vtkFiltersFlowPaths -print)? Under your build directory, is there a vtkFiltersFlowPathsPython.so? What are your DYLD_LIBRARY_PATH and PYTHONPATHS set to? In vtkpython what does: > import vtk > vtk.vtkCommonCore.__file__ say? thanks David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Feb 25, 2015 at 2:41 PM, Fatima Zahra El Filali < felfilali at dons.usfca.edu> wrote: > I figured it out... now back to the vtkStreamLine issue... > > I am on a mac using os 10.9.5 and vtkpython i got from the kitware build. > > Would an listing of my makefiles help? > > Everything is running that I tried so far... I am mainly interested in > streamlines and that happens to be the library I am missing.... > > I can also provide my environment variables if that helps. > > Thanks > FAtima > > On Wed, Feb 25, 2015 at 11:17 AM, Fatima Zahra El Filali < > felfilali at dons.usfca.edu> wrote: > >> As I was trying to fix it... I remade the build and now getting: >> >> No module named vtkCommonCorePython >> >> >> when I try import vtk. >> >> Any ideas? >> >> Thanks >> >> On Wed, Feb 25, 2015 at 9:12 AM, David E DeMarle < >> dave.demarle at kitware.com> wrote: >> >>> Sorry I haven't been able to duplicate this problem. >>> >>> Which OS are you using, which version of VTK and is this a build you've >>> done or a vtkpython that you've gotten from Kitware? >>> >>> vtkStreamLine isn't a pure python module, instead it is found in the C++ >>> python extension module that vtkFiltersFlowPaths.py loads. >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> R&D Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-881-4909 >>> >>> On Tue, Feb 24, 2015 at 8:03 PM, Fatima Zahra El Filali < >>> felfilali at dons.usfca.edu> wrote: >>> >>>> Hello, >>>> >>>> I have been using vtkpython and am able to run a lot of the examples. >>>> My problem is when I try to run the office.tube.py example. >>>> I am missing the vtkSteamLine() module. >>>> >>>> I get the following: >>>> >>>> Traceback (most recent call last): >>>> >>>> File "", line 1, in >>>> >>>> AttributeError: 'module' object has no attribute 'vtkStreamLine' >>>> >>>> >>>> Also: my /VTK/Wrapping/Python/vtk/ doesn't contain vtkStreamLine.py >>>> >>>> >>>> Any ideas? >>>> >>>> Fatima >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtkusers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/vtkusers >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gaetano.esposito at outlook.com Fri Feb 27 13:59:33 2015 From: gaetano.esposito at outlook.com (Gaetano Esposito) Date: Fri, 27 Feb 2015 18:59:33 +0000 Subject: [vtkusers] Xdmf2 Reader Message-ID: I am reading an xmf file which has a .h5 data file associated with it. There is temporal data stored in the xmf file. I am attaching some relevant information about the header at the bottom of the message. I am using vtkXdmfReader but I am finding difficulties in setting which time-step to display. Actually, I have no idea about how to do that, which means I do not have a full understanding on how to interact with the vtkXdmfReader filter. There is no public method that allows to choose which timestep data to expose to the other filters down the pipeline. I see that in the filter, the timestep is selected with a reference to the key / value information required to handle the VTK pipeline. However, I am unsure whether I am supposed to point to the sought timestep by using the vtkInformation machinery, since I thought that this approach is supposed to be consumed by filters only. My question is: How do I point to a specific timestep? How can I direct other filters, or data object extractor, to a specific timestep in the vtkXdmfReader? Any help or pointer is appreciate. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.amaclean at gmail.com Fri Feb 27 14:43:34 2015 From: andrew.amaclean at gmail.com (Andrew Maclean) Date: Sat, 28 Feb 2015 06:43:34 +1100 Subject: [vtkusers] For those testing VTK 6.2.0 RC 1 Message-ID: Just letting those testing VTK 6.2 RC1 that issues with the following files have been fixed: Filters/SMP/Testing/Cxx/TestThreadedSynchronizedTemplatesCutter3D.cxx Rendering/FreeType/Testing/Cxx/BenchmarkFreeTypeRendering.cxx Examples/Tutorial/Step6/Cxx/CMakeLists.txt See: http://review.source.kitware.com/#/c/19326/ http://review.source.kitware.com/#/c/19306/ http://review.source.kitware.com/#/c/19278/ Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge at infolytica.com Fri Feb 27 18:11:03 2015 From: serge at infolytica.com (Serge Lalonde) Date: Fri, 27 Feb 2015 18:11:03 -0500 Subject: [vtkusers] Problem with clip mesh filter Message-ID: <54F0F987.9050802@infolytica.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fdehgahi.png Type: image/png Size: 19263 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dfjeagea.png Type: image/png Size: 23921 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gaedjded.png Type: image/png Size: 28170 bytes Desc: not available URL: