From ich_daniel at habmalnefrage.de Wed Apr 1 02:11:11 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Tue, 31 Mar 2015 23:11:11 -0700 (MST) Subject: [vtkusers] scalar values for each point of a vtkPolyData In-Reply-To: References: <1427565836427-5731212.post@n5.nabble.com> Message-ID: <1427868671668-5731277.post@n5.nabble.com> The example is helpful. Thanks! -- View this message in context: http://vtk.1045678.n5.nabble.com/scalar-values-for-each-point-of-a-vtkPolyData-tp5731212p5731277.html Sent from the VTK - Users mailing list archive at Nabble.com. From ich_daniel at habmalnefrage.de Wed Apr 1 03:12:14 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Wed, 1 Apr 2015 00:12:14 -0700 (MST) Subject: [vtkusers] Error by using of dicom images on 32bit windows Message-ID: <1427872334406-5731278.post@n5.nabble.com> Hello everybody, I have the following problem when reading a series of dicom images with more than 250 images. Then I get an error message and my program crashed. //*********************************// ERROR: In ..\..\..\VTK-6.2.0\Common\ExecutionModel\vtkStreamingDemandDrivenPipeline.cxx, line 857 vtkStreamingDemandDrivenPipeline (17F473F8): The update extent specified in the information for output port 0 on algorithm vtkTrivialProducer(17F472F0) is 0 512 0 512 0 545, which is outside the whole extent 0 511 0 511 0 544. ERROR: In ..\..\..\VTK-6.2.0\Common\ExecutionModel\vtkTrivialProducer.cxx, line 279 vtkTrivialProducer (17F472F0): This data object does not contain the requested extent. ERROR: In d:\vtk\vtk-6.2.0\common\core\vtkDataArrayTemplate.txx, line 142 vtkUnsignedShortArray (17F47A28): Unable to allocate 142868480 elements of size 2 bytes. //*********************************// This problem only occurs on a 32bit Windows, when using vtk 6.2, Java 8, vtkdicom and gdcm. I compiled VTK with the VTK_USE_64BITS_IDS flag set (because I think the 32bit limit of point numbers is reached). With a 64bit Windows there are no problems. Any solutions? -- View this message in context: http://vtk.1045678.n5.nabble.com/Error-by-using-of-dicom-images-on-32bit-windows-tp5731278.html Sent from the VTK - Users mailing list archive at Nabble.com. From sergio.vera at alma3d.com Wed Apr 1 04:33:22 2015 From: sergio.vera at alma3d.com (Sergio Vera) Date: Wed, 1 Apr 2015 10:33:22 +0200 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: I'm using the OpenGL backend since I'm using vtk5.10 (CTK compatibility) On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Are using OpenGL2 or OpenGL backend? > > On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera > wrote: > >> Thanks, >> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >> ordinary actor and added the actor to the renderer. >> It seems that neigher Draw() nor RenderPiece() methods of the mapper are >> being called and my simple gl code snipped is not being rendered. >> >> Any additional hints? >> >> Thanks in advance >> >> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> there is no easy way. You will have to write your own >>> mapper. >>> >>> >>> >>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera >>> wrote: >>> >>>> >>>> Hello vtk Users >>>> >>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>> examples of the opposite, insert vtk into opengl. >>>> >>>> There is the suggestion somewhere on the list of using the render >>>> methods of vtkMapper or vtkprops but no definite example >>>> >>>> Where is the best way to do it? >>>> >>>> thanks in advance >>>> -- >>>> Sergio Vera >>>> >>>> Alma IT Systems >>>> C/ Vilana, 4B, 4? 1? >>>> 08022 Barcelona >>>> T. (+34) 932 380 592 >>>> www.alma3d.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 >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>> * >>> *| http://www.kitware.com/company/team/chaudhary.html >>> * >>> >> >> >> >> -- >> Sergio Vera >> >> Alma IT Systems >> C/ Vilana, 4B, 4? 1? >> 08022 Barcelona >> T. (+34) 932 380 592 >> www.alma3d.com >> > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -- 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 richard.j.brown at live.co.uk Wed Apr 1 05:24:15 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Wed, 1 Apr 2015 02:24:15 -0700 (MST) Subject: [vtkusers] intersecting polygons Message-ID: <1427880255357-5731280.post@n5.nabble.com> Hi all, A very simple question I think. I'd like to produce a polygon representing the overlap between two overlaps (in this case a circle and a rectangle). I have tried vtkImageDifference and vtkIntersectionPolyDataFilter to no avail. I generated the circle using vtkRegularPolygonSource and the square with vtkPoints with vtkPolyon to create a vtkCellArray to create vtkPolyData. My problem, however, is when using SetInputConnection for vtkImageDifference or vtkIntersectionPolyDataFilter, I get the error "Input for connection index 0 on input port index 1 for algorithm vtkImageDifference(0x7ff2ea844400) is of type vtkPolyData, but a vtkImageData is required." Can anyone give me any pointers? It seems like such a simple task but I'm stumped. Regards -- View this message in context: http://vtk.1045678.n5.nabble.com/intersecting-polygons-tp5731280.html Sent from the VTK - Users mailing list archive at Nabble.com. From ich_daniel at habmalnefrage.de Wed Apr 1 07:18:50 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Wed, 1 Apr 2015 04:18:50 -0700 (MST) Subject: [vtkusers] Help when using vtkLookupTable (above and below of a range) Message-ID: <1427887130955-5731282.post@n5.nabble.com> Hi, in the vtkLookupTable class are the functions SetAboveRangeColor(..) and SetBelowRangeColor(..). What do I note to use these functions? Which other parameters are necessary to be set? Does anyone have an example of this? So far I have only this code snippet. But only the color of NaN is used currently (with my polydata-object). //******************************************************// vtkLookupTable lut = new vtkLookupTable(); lut.SetNumberOfColors(3); lut.SetAboveRangeColor(0.0, 0.8, 0, 1); lut.SetBelowRangeColor(0.8, 0.0, 0, 1); lut.SetNanColor(0, 0.2, 0.5, 1); lut.UseBelowRangeColorOn(); lut.UseAboveRangeColorOn(); lut.SetTableValue(2, 0.8, 0.0, 0.0, 1); lut.SetTableValue(1, 0.9, 0.9, 0.9, 1); lut.SetTableValue(0, 0.0, 0.8, 0.0, 1); lut.SetRange(-5, 5); lut.IndexedLookupOn(); lut.SetAnnotation("0", "G "); lut.SetAnnotation("1", "W "); lut.SetAnnotation("2", "R "); mapper.SetLookupTable(lut); //******************************************************// -- View this message in context: http://vtk.1045678.n5.nabble.com/Help-when-using-vtkLookupTable-above-and-below-of-a-range-tp5731282.html Sent from the VTK - Users mailing list archive at Nabble.com. From ram at centroidpic.com Wed Apr 1 08:37:45 2015 From: ram at centroidpic.com (Ram Sampath) Date: Wed, 1 Apr 2015 21:37:45 +0900 Subject: [vtkusers] Example of ExternalOpenGL Message-ID: Hello: Can anyone give an example of how the ExternalOpenGL and related classes are used in VTK 6.2 to render VTK into an existing opengl context ? I tried to do it and it doesn't seem to work as expected. Thanks Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Wed Apr 1 09:06:10 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 06:06:10 -0700 (MST) Subject: [vtkusers] RES: panoramic view In-Reply-To: <1426107522939-5730770.post@n5.nabble.com> References: <4c178556a446c_752c88a5e78169@weasel7.tmail> <1426107522939-5730770.post@n5.nabble.com> Message-ID: <1427893570866-5731284.post@n5.nabble.com> Hello, I am new in this forum, and I apologize for my early English. I'm migrating from an SDK for VTK, it is seen that you were dealing with the possibility of generating ma panoramic. I wonder if able to solve this problem, and as they did if possible. -- View this message in context: http://vtk.1045678.n5.nabble.com/RES-panoramic-view-tp1248676p5731284.html Sent from the VTK - Users mailing list archive at Nabble.com. From jose.de.paula at live.com Wed Apr 1 09:07:52 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 06:07:52 -0700 (MST) Subject: [vtkusers] Activiz.NET class derived from vtkCommand In-Reply-To: <1426880091936-5731066.post@n5.nabble.com> References: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> <1321063033223-4986073.post@n5.nabble.com> <1426880091936-5731066.post@n5.nabble.com> Message-ID: <1427893672978-5731285.post@n5.nabble.com> Hello, you were able to fix this error? I'm also taking it -- View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-NET-class-derived-from-vtkCommand-tp4631983p5731285.html Sent from the VTK - Users mailing list archive at Nabble.com. From jose.de.paula at live.com Wed Apr 1 09:10:33 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 06:10:33 -0700 (MST) Subject: [vtkusers] vtkResliceImage and appending slices In-Reply-To: <1427836626024-5731269.post@n5.nabble.com> References: <1416350401054-5729498.post@n5.nabble.com> <051501d00384$8272c370$87584a50$@kg.ac.rs> <05aa01d003d7$ab9931a0$02cb94e0$@kg.ac.rs> <1417646734871-5729669.post@n5.nabble.com> <1427836626024-5731269.post@n5.nabble.com> Message-ID: <1427893833528-5731286.post@n5.nabble.com> Ol?, voc? tem alcan?ado o seu objetivo? Tamb?m estou usando vtkFrenetSerretFrame, mas eu entendo os problemas -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageReslice-and-appending-slices-tp5728537p5731286.html Sent from the VTK - Users mailing list archive at Nabble.com. From karanovicm at gmail.com Wed Apr 1 09:11:06 2015 From: karanovicm at gmail.com (KM) Date: Wed, 1 Apr 2015 06:11:06 -0700 (MST) Subject: [vtkusers] Activiz.NET class derived from vtkCommand In-Reply-To: <1427893672978-5731285.post@n5.nabble.com> References: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> <1321063033223-4986073.post@n5.nabble.com> <1426880091936-5731066.post@n5.nabble.com> <1427893672978-5731285.post@n5.nabble.com> Message-ID: <1427893866923-5731288.post@n5.nabble.com> No, I went in different direction, using events and creating my own animation classess -- View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-NET-class-derived-from-vtkCommand-tp4631983p5731288.html Sent from the VTK - Users mailing list archive at Nabble.com. From aashish.chaudhary at kitware.com Wed Apr 1 09:11:12 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 1 Apr 2015 09:11:12 -0400 Subject: [vtkusers] Example of ExternalOpenGL In-Reply-To: References: Message-ID: Hi Ram, We are looking into the example that you have posted earlier. Is it possible to share the complete code with us? I am assuming that it it small enough. - aashish On Wed, Apr 1, 2015 at 8:37 AM, Ram Sampath wrote: > > Hello: > > Can anyone give an example of how the ExternalOpenGL and related classes > are used in VTK 6.2 to render VTK into an existing opengl context ? > > I tried to do it and it doesn't seem to work as expected. > > Thanks > Ram. > > _______________________________________________ > 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 jose.de.paula at live.com Wed Apr 1 09:16:12 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 06:16:12 -0700 (MST) Subject: [vtkusers] vtkResliceImage and appending slices In-Reply-To: References: <1410184498184-5728608.post@n5.nabble.com> <1416350401054-5729498.post@n5.nabble.com> <051501d00384$8272c370$87584a50$@kg.ac.rs> <05aa01d003d7$ab9931a0$02cb94e0$@kg.ac.rs> <1417646734871-5729669.post@n5.nabble.com> Message-ID: <1427894172398-5731290.post@n5.nabble.com> Hello David and Zarko, I'm trying to implement this vtkSplineDrivenImageSlicer class, to get a dental panoramic. But I am very new to vtk and I am not able to understand how to use. What I am doing is to replace my original Imageslice the vtk by vtkSplineDrivenImageSlicer. Is this the correct way? -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageReslice-and-appending-slices-tp5728537p5731290.html Sent from the VTK - Users mailing list archive at Nabble.com. From jose.de.paula at live.com Wed Apr 1 09:19:24 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 06:19:24 -0700 (MST) Subject: [vtkusers] Activiz.NET class derived from vtkCommand In-Reply-To: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> References: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> Message-ID: <1427894364057-5731291.post@n5.nabble.com> I managed to do for own event as well. I have other questions, you were able to generate a dental panoramic view using Imageslice? Replacing the vtkCOmmand I can display Coronal, Sagittal and Axial, but i can not panoramic -- View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-NET-class-derived-from-vtkCommand-tp4631983p5731291.html Sent from the VTK - Users mailing list archive at Nabble.com. From aashish.chaudhary at kitware.com Wed Apr 1 09:23:06 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 1 Apr 2015 09:23:06 -0400 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: It's much harder In OpenGL backend because of the architecture. If you can provide more detail on exactly what you did, we could probably help. I would suggest switching to OpenGL2 backend. - Aashish On Wed, Apr 1, 2015 at 4:33 AM, Sergio Vera wrote: > > I'm using the OpenGL backend since I'm using vtk5.10 (CTK compatibility) > > On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> Are using OpenGL2 or OpenGL backend? >> >> On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera >> wrote: >> >>> Thanks, >>> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >>> ordinary actor and added the actor to the renderer. >>> It seems that neigher Draw() nor RenderPiece() methods of the mapper are >>> being called and my simple gl code snipped is not being rendered. >>> >>> Any additional hints? >>> >>> Thanks in advance >>> >>> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> >>>> there is no easy way. You will have to write your own >>>> mapper. >>>> >>>> >>>> >>>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera >>>> wrote: >>>> >>>>> >>>>> Hello vtk Users >>>>> >>>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>>> examples of the opposite, insert vtk into opengl. >>>>> >>>>> There is the suggestion somewhere on the list of using the render >>>>> methods of vtkMapper or vtkprops but no definite example >>>>> >>>>> Where is the best way to do it? >>>>> >>>>> thanks in advance >>>>> -- >>>>> Sergio Vera >>>>> >>>>> Alma IT Systems >>>>> C/ Vilana, 4B, 4? 1? >>>>> 08022 Barcelona >>>>> T. (+34) 932 380 592 >>>>> www.alma3d.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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>> * >>>> *| http://www.kitware.com/company/team/chaudhary.html >>>> * >>>> >>> >>> >>> >>> -- >>> Sergio Vera >>> >>> Alma IT Systems >>> C/ Vilana, 4B, 4? 1? >>> 08022 Barcelona >>> T. (+34) 932 380 592 >>> www.alma3d.com >>> >> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > > > -- > Sergio Vera > > Alma IT Systems > C/ Vilana, 4B, 4? 1? > 08022 Barcelona > T. (+34) 932 380 592 > www.alma3d.com > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From karanovicm at gmail.com Wed Apr 1 09:29:03 2015 From: karanovicm at gmail.com (KM) Date: Wed, 1 Apr 2015 06:29:03 -0700 (MST) Subject: [vtkusers] Activiz.NET class derived from vtkCommand In-Reply-To: <1427894364057-5731291.post@n5.nabble.com> References: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> <1427894364057-5731291.post@n5.nabble.com> Message-ID: <1427894943091-5731293.post@n5.nabble.com> I'm using VTK for totally different purposes - environmental visualization -- View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-NET-class-derived-from-vtkCommand-tp4631983p5731293.html Sent from the VTK - Users mailing list archive at Nabble.com. From cory.quammen at kitware.com Wed Apr 1 10:01:25 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 1 Apr 2015 10:01:25 -0400 Subject: [vtkusers] intersecting polygons In-Reply-To: <1427880255357-5731280.post@n5.nabble.com> References: <1427880255357-5731280.post@n5.nabble.com> Message-ID: There is no filter in VTK that I know of that will do this. The complaint that a vtkImageData is required is because that filter expects vtkImageData as input, and you gave it vtkPolyData - in other words, it won't work. You might try this contribution on the VTK journal: http://www.vtkjournal.org/browse/publication/949 HTH, Cory On Wed, Apr 1, 2015 at 5:24 AM, mbcx9rb9 wrote: > Hi all, > > A very simple question I think. I'd like to produce a polygon representing > the overlap between two overlaps (in this case a circle and a rectangle). I > have tried vtkImageDifference and vtkIntersectionPolyDataFilter to no > avail. > > I generated the circle using vtkRegularPolygonSource and the square with > vtkPoints with vtkPolyon to create a vtkCellArray to create vtkPolyData. > > My problem, however, is when using SetInputConnection for > vtkImageDifference > or vtkIntersectionPolyDataFilter, I get the error "Input for connection > index 0 on input port index 1 for algorithm > vtkImageDifference(0x7ff2ea844400) is of type vtkPolyData, but a > vtkImageData is required." > > Can anyone give me any pointers? It seems like such a simple task but I'm > stumped. > > Regards > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/intersecting-polygons-tp5731280.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 > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergio.vera at alma3d.com Wed Apr 1 11:01:47 2015 From: sergio.vera at alma3d.com (Sergio Vera) Date: Wed, 1 Apr 2015 17:01:47 +0200 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: Dear Aashish, thanks for your time. At the moment it is kinda difficult to switch to OpenGL2 backend, manily because the VTK (5.10) we use is pulled by the CTK superbuild. I could try to switch to the experimental branch of CTK with support for vtk 6 and try to modifly the superbuild so VTK uses the OpenGL2 backend. Currently I'm testing stuff using this toy example (based on a VTK example) #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // For export macro #include #include #include #include #include #include class myMapper : public vtkOpenGLPolyDataMapper { public: static myMapper *New(); vtkTypeMacro(myMapper, vtkOpenGLPolyDataMapper); virtual void RenderPiece(vtkRenderer *aren, vtkActor *act); virtual int Draw(vtkRenderer *aren, vtkActor *act); protected: private: }; vtkStandardNewMacro(myMapper); void myMapper::RenderPiece(vtkRenderer* a_ren, vtkActor* a_act) { std::cout << "RenderPiece" << std::endl; glDisable( GL_LIGHTING); glBegin(GL_LINES); glVertex3f(0, 1, 0); glVertex3f(1, 1., 0.); glEnd(); } int myMapper::Draw(vtkRenderer* a_ren, vtkActor* a_act) { std::cout << "Draw" << std::endl; glDisable( GL_LIGHTING); glBegin(GL_LINES); glVertex3f(0, 1, 0); glVertex3f(1, 1., 0.); glEnd();} int main(int, char *[]) { std::cout << "Main" << std::endl; // Create three points. Join (Origin and P0) with a red line and // (Origin and P1) with a green line double origin[3] = {0.0, 0.0, 0.0}; double p0[3] = {1.0, 0.0, 0.0}; double p1[3] = {0.0, 1.0, 0.0}; // Create a vtkPoints object and store the points in it vtkSmartPointer pts = vtkSmartPointer::New(); pts->InsertNextPoint(origin); pts->InsertNextPoint(p0); pts->InsertNextPoint(p1); // Setup two colors - one for each line unsigned char red[3] = {255, 0, 0}; unsigned char green[3] = {0, 255, 0}; // Setup the colors array vtkSmartPointer colors = vtkSmartPointer::New(); colors->SetNumberOfComponents(3); colors->SetName("Colors"); // Add the colors we created to the colors array colors->InsertNextTupleValue(red); colors->InsertNextTupleValue(green); // Create the first line (between Origin and P0) vtkSmartPointer line0 = vtkSmartPointer::New(); line0->GetPointIds()->SetId(0,0); //the second 0 is the index of the Origin in the vtkPoints line0->GetPointIds()->SetId(1,1); //the second 1 is the index of P0 in the vtkPoints // Create the second line (between Origin and P1) vtkSmartPointer line1 = vtkSmartPointer::New(); line1->GetPointIds()->SetId(0,0); //the second 0 is the index of the Origin in the vtkPoints line1->GetPointIds()->SetId(1,2); //2 is the index of P1 in the vtkPoints // Create a cell array to store the lines in and add the lines to it vtkSmartPointer lines = vtkSmartPointer::New(); lines->InsertNextCell(line0); lines->InsertNextCell(line1); // Create a polydata to store everything in vtkSmartPointer linesPolyData = vtkSmartPointer::New(); // Add the points to the dataset linesPolyData->SetPoints(pts); // Add the lines to the dataset linesPolyData->SetLines(lines); // Color the lines - associate the first component (red) of the // colors array with the first component of the cell array (line 0) // and the second component (green) of the colors array with the // second component of the cell array (line 1) linesPolyData->GetCellData()->SetScalars(colors); // Visualize vtkSmartPointer mapper = vtkSmartPointer::New(); #if VTK_MAJOR_VERSION <= 5 mapper->SetInput(linesPolyData); #else mapper->SetInputData(linesPolyData); #endif vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); vtkSmartPointer mapperGL = vtkSmartPointer::New(); vtkSmartPointer actorGL = vtkSmartPointer::New(); actorGL->SetMapper(mapperGL); vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); renderer->AddActor(actor); renderer->AddActor(actorGL); renderWindow->Render(); renderWindowInteractor->Start(); return EXIT_SUCCESS; } when I run the above code, I see the vtk lines but the OpenGL lines are missing and no output is printed in the console signaling that the code is being called. thanks for your time On Wed, Apr 1, 2015 at 3:23 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > It's much harder In OpenGL backend because of the architecture. If you can > provide more detail on exactly what you did, we could probably help. I > would suggest switching to OpenGL2 backend. > > - Aashish > > On Wed, Apr 1, 2015 at 4:33 AM, Sergio Vera > wrote: > >> >> I'm using the OpenGL backend since I'm using vtk5.10 (CTK compatibility) >> >> On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> Are using OpenGL2 or OpenGL backend? >>> >>> On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera >>> wrote: >>> >>>> Thanks, >>>> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >>>> ordinary actor and added the actor to the renderer. >>>> It seems that neigher Draw() nor RenderPiece() methods of the mapper >>>> are being called and my simple gl code snipped is not being rendered. >>>> >>>> Any additional hints? >>>> >>>> Thanks in advance >>>> >>>> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >>>> aashish.chaudhary at kitware.com> wrote: >>>> >>>>> there is no easy way. You will have to write your own >>>>> mapper. >>>>> >>>>> >>>>> >>>>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera >>>>> wrote: >>>>> >>>>>> >>>>>> Hello vtk Users >>>>>> >>>>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>>>> examples of the opposite, insert vtk into opengl. >>>>>> >>>>>> There is the suggestion somewhere on the list of using the render >>>>>> methods of vtkMapper or vtkprops but no definite example >>>>>> >>>>>> Where is the best way to do it? >>>>>> >>>>>> thanks in advance >>>>>> -- >>>>>> Sergio Vera >>>>>> >>>>>> Alma IT Systems >>>>>> C/ Vilana, 4B, 4? 1? >>>>>> 08022 Barcelona >>>>>> T. (+34) 932 380 592 >>>>>> www.alma3d.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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>> * >>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>> * >>>>> >>>> >>>> >>>> >>>> -- >>>> Sergio Vera >>>> >>>> Alma IT Systems >>>> C/ Vilana, 4B, 4? 1? >>>> 08022 Barcelona >>>> T. (+34) 932 380 592 >>>> www.alma3d.com >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>> * >>> *| http://www.kitware.com/company/team/chaudhary.html >>> * >>> >> >> >> >> -- >> Sergio Vera >> >> Alma IT Systems >> C/ Vilana, 4B, 4? 1? >> 08022 Barcelona >> T. (+34) 932 380 592 >> www.alma3d.com >> > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -- 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 sean at rogue-research.com Wed Apr 1 12:26:52 2015 From: sean at rogue-research.com (Sean McBride) Date: Wed, 1 Apr 2015 12:26:52 -0400 Subject: [vtkusers] using openGL 4.1 on mac os X under vtk 5.10 In-Reply-To: <855006850.2991298.1427846254249.JavaMail.yahoo@mail.yahoo.com> References: <855006850.2991298.1427846254249.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150401162652.1820164782@mail.rogue-research.com> On Tue, 31 Mar 2015 23:57:34 +0000, eric lamar via vtkusers said: >All:I am developing a VTK 5.10-based medical application under Mac OS X >10.10.I am extending VTK with a volume rendering engine that needs >opengl 3.1 (specifically, glRestartPrimitive). When I do a >glGetString(GL_VERSION), the system reports "2.1 NVIDIA-10.0.43 >310.41.05f01". When I request OpenGL 3.2 (I've modified the routine >"vtkCocoaRenderWindow::CreateGLContext" in vtkCocoaRenderWindow.mm; I've >added "NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core" to the >attributes list.), the system responds with "4.1 NVIDIA-10.0.43 >310.41.05f01".That is fine; however, in a small demo app that works fine >under Opengl 2.1 but I get a blank screen under Opengl 4.1. VTK 5.x uses old school OpenGL. Your best bet would be to first update to VTK 6.2, which will require some code changes on your part: Even then, 6.2's default OpenGL is also old school, but you can enable the experimental OpenGL2 support and repeat your test: Cheers, -- ____________________________________________________________ Sean McBride, B. Eng sean at rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montr?al, Qu?bec, Canada From bill.lorensen at gmail.com Wed Apr 1 13:46:52 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 1 Apr 2015 10:46:52 -0700 Subject: [vtkusers] VTK6.2.0 error In-Reply-To: References: Message-ID: For vtk6 use this: cmake_minimum_required(VERSION 2.6) PROJECT (study) FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE(study study.cxx) TARGET_LINK_LIBRARIES(study ${VTK_LIBRARIES}) On Wed, Apr 1, 2015 at 12:00 AM, Charles - wrote: > I was just trying to compile this code: > > CMakeLists. > > cmake_minimum_required(VERSION 2.6) > PROJECT (study) > > IF(NOT VTK_BINARY_DIR) > FIND_PACKAGE(VTK REQUIRED) > IF(NOT VTK_USE_RENDERING) > MESSAGE(FATAL_ERROR "${PROJECT_NAME} requires VTK_USE_RENDERING.") > ENDIF(NOT VTK_USE_RENDERING) > INCLUDE(${VTK_USE_FILE}) > ENDIF(NOT VTK_BINARY_DIR) > > ADD_EXECUTABLE(study study.cxx) > TARGET_LINK_LIBRARIES(study vtkRendering vtkIO) > > And I have to build the c.xx to make the visualisation of some images like > cone cubes,... > But when I just configure the cMake it came up with this error that there is > no VTK_USE_RENDERING > > and here is what I found when I checked my cmake after configuring the VTK > 6.2.0 > there is no VTK_USE_RENDERING. > I attached the cmake report after configure and generate VTK6.2.0 > > Thank you very much for your help > > > >> Date: Tue, 31 Mar 2015 07:29:31 -0700 >> Subject: Re: [vtkusers] VTK6.2.0 error >> From: bill.lorensen at gmail.com >> To: chacyi at hotmail.com >> CC: vtkusers at vtk.org > >> >> What exercise are you trying to build? >> >> On Tue, Mar 31, 2015 at 7:19 AM, Charles - wrote: >> > >> > >> > Hello,Dear user of VTK! >> > >> > I now finish installing VTK6.2.0 but when I run cmake to configure the >> > first >> > exercise to see if it is working, it pops out this error: >> > >> > CMake Error at CMakeLists.txt:7 (MESSAGE): >> > exercise requires VTK_USE_RENDERING. >> > >> > And when I checked to VTK on Cmake I found that there is no this >> > VTK_USE_RENDERING. >> > >> > How can I solve this problem? VTK6.2.0 doesn`t have the >> > VTK_USE_RENDERING? >> > If so which replaced it? >> > >> > Thank you very much. >> > >> > I appreciate your 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 >> > >> >> >> >> -- >> Unpaid intern in BillsBasement at noware dot com -- Unpaid intern in BillsBasement at noware dot com From JMelnyk at pile.com Wed Apr 1 15:38:53 2015 From: JMelnyk at pile.com (Joseph Melnyk) Date: Wed, 1 Apr 2015 19:38:53 +0000 Subject: [vtkusers] VTK 6.2 Error with Charts Wiki Example Message-ID: <8841579C9694CA4196BE4138B6E2B4BF18342A73@pdi-mail1.pdi.local> I'm trying to run the LinePlot example from the wiki, found here: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot I have a test project set up in Visual Studio 2013, running on Windows 8, that works fine with this code under VTK 6.1. I configured 6.1 using CMake and built it using VS2013 and everything went fine. Basically no options were changed in CMake from the defaults, other than deselecting VTK_VIDEO_FOR_WINDOWS and setting the install directory. I'm doing the vtkRenderingCore and vtkRenderingVolume autoinits before calling any other code, which are obligatory for 6+ VTK versions. So all goes well until I migrate the same project over to 6.2. Then, the exact same code with the exact same CMake configuration and VS2013 build environment compiles and links but gives me errors and exceptions at runtime. I'm getting "Generic Warning: in ...\vtkContextDevice2D.cxx, line 27 Error: no override found for vtkContextDevice2D" when the vtkContextView object is instantiated. And I'm getting "unhandled exception at memory location ... (vtkRenderingContext2D-6.2.dll) : an unhandled exception was encountered during a user callback" when calling GetInteractor()->Start() on the view object. My hunch is that there's something which has not been autoinit-ed, but I'm failing to see what or find documentation on what has changed between 6.1 and 6.2 that would cause this to happen. Thanks in advance for any help... Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Wed Apr 1 15:45:10 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 1 Apr 2015 12:45:10 -0700 (MST) Subject: [vtkusers] VTK + graphical interface Message-ID: <1427917510882-5731312.post@n5.nabble.com> I am new to VTK and I'm a little lost. I have read a lot here in the forum about how to work with it. I already have an application made in another SDK to perform work with DICOM images, and I'm moving to VTK. Wanted help to the following questions: 1st Using VTK with graphical part. 2nd How can I implement the vtkSplineDrivenImageSlicer and vtkFrenetSerretFrame classes to generate panoramic dental. 3rd Something to help me install Qt in CMake, for even installing Qt CMake keeps asking him. if possible a link where I can read more about getting started with vtk because my biggest problem today is to make the graphical part. I program in C # better for it was using a library Kitware to C #, the more it is not as complete and robust when the base of c ++. So I guess I do programming in C ++ and the graphical part (if possible) in another linguaguem would be the best way .. Sorry for my bad English, and posted this in the wrong forum area. -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-graphical-interface-tp5731312.html Sent from the VTK - Users mailing list archive at Nabble.com. From ram at centroidpic.com Wed Apr 1 20:28:39 2015 From: ram at centroidpic.com (Ram Sampath) Date: Thu, 2 Apr 2015 09:28:39 +0900 Subject: [vtkusers] Example of ExternalOpenGL In-Reply-To: References: Message-ID: Hi Aashish, The code is part of a large repository - but I have managed to extract the section which is appropriate. Hope its ok. I am using QOpenGLWidget and perhaps paintEvent callback from that - perhaps that's causing some conflicts ? Anyway, I have attached the header file and the source file - kindly let me know if there's anything wrong you see in that. Perhaps I should write a very simple glut application and see if this works first before integrating it into our complex package. Thank you again. Ram. On Wed, Apr 1, 2015 at 10:11 PM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Hi Ram, > > We are looking into the example that you have posted earlier. Is it > possible to share the complete code with us? I am assuming that it it small > enough. > > - aashish > > > On Wed, Apr 1, 2015 at 8:37 AM, Ram Sampath wrote: > >> >> Hello: >> >> Can anyone give an example of how the ExternalOpenGL and related classes >> are used in VTK 6.2 to render VTK into an existing opengl context ? >> >> I tried to do it and it doesn't seem to work as expected. >> >> Thanks >> Ram. >> >> _______________________________________________ >> 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: VisWidget.cpp Type: text/x-c++src Size: 4062 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: VisWidget.h Type: text/x-chdr Size: 2633 bytes Desc: not available URL: From kumar.gr at teleradtech.com Thu Apr 2 09:22:16 2015 From: kumar.gr at teleradtech.com (kumar) Date: Thu, 2 Apr 2015 06:22:16 -0700 (MST) Subject: [vtkusers] Drawing 2D Annotations Circle, Rectangle, Arrow, etc Dynamically Message-ID: <1427980936120-5731315.post@n5.nabble.com> Hi, AM using VTKImageViewer2 for rendering the dicom images. for 2d Annotations on Mouse Events (Circle, Line, Rectangle, Arc etc...) any procedure is there? -- View this message in context: http://vtk.1045678.n5.nabble.com/Drawing-2D-Annotations-Circle-Rectangle-Arrow-etc-Dynamically-tp5731315.html Sent from the VTK - Users mailing list archive at Nabble.com. From richard.j.brown at live.co.uk Thu Apr 2 10:21:45 2015 From: richard.j.brown at live.co.uk (Richard Brown) Date: Thu, 2 Apr 2015 16:21:45 +0200 Subject: [vtkusers] intersecting polygons In-Reply-To: References: <1427880255357-5731280.post@n5.nabble.com> Message-ID: Thanks for the reply Cory. Found a simpler solution by using vtkCylinderSource and vtkCubeSource which can then be subtracted using vtkIntersectionPolyDataFilter. Regards, Richard > On 01 Apr 2015, at 16:01, Cory Quammen wrote: > > There is no filter in VTK that I know of that will do this. The complaint that a vtkImageData is required is because that filter expects vtkImageData as input, and you gave it vtkPolyData - in other words, it won't work. > > You might try this contribution on the VTK journal: http://www.vtkjournal.org/browse/publication/949 > > HTH, > Cory > > On Wed, Apr 1, 2015 at 5:24 AM, mbcx9rb9 > wrote: > Hi all, > > A very simple question I think. I'd like to produce a polygon representing > the overlap between two overlaps (in this case a circle and a rectangle). I > have tried vtkImageDifference and vtkIntersectionPolyDataFilter to no avail. > > I generated the circle using vtkRegularPolygonSource and the square with > vtkPoints with vtkPolyon to create a vtkCellArray to create vtkPolyData. > > My problem, however, is when using SetInputConnection for vtkImageDifference > or vtkIntersectionPolyDataFilter, I get the error "Input for connection > index 0 on input port index 1 for algorithm > vtkImageDifference(0x7ff2ea844400) is of type vtkPolyData, but a > vtkImageData is required." > > Can anyone give me any pointers? It seems like such a simple task but I'm > stumped. > > Regards > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/intersecting-polygons-tp5731280.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 > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Thu Apr 2 10:54:16 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Thu, 2 Apr 2015 10:54:16 -0400 Subject: [vtkusers] Ghost and Blanking (Visibility) Changes Message-ID: Dear VTK and ParaView developers, We would like to draw your attention to the following updates to VTK/ParaView that change the way one interfaces to Ghost and Blanking cells and points. These changes have just been merged into master repositories for VTK/ParaView. http://www.kitware.com/blog/home/post/856 We welcome suggestions and/or bug reports on these changes. Best regards, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From pbouttefroy at nvidia.com Thu Apr 2 11:56:56 2015 From: pbouttefroy at nvidia.com (Philippe Bouttefroy) Date: Thu, 2 Apr 2015 15:56:56 +0000 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: <1427742481277-5731233.post@n5.nabble.com> References: <1427742481277-5731233.post@n5.nabble.com> Message-ID: <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> Trying to ping again. Is there anyone who has encountered this issue as well? Also, I did not specify that this is an issue I face only when building for VS2013. I have a VM with Ubuntu on the same machine and build with GCC, with no problem at all. -----Original Message----- From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Philippe Bouttefroy Sent: Monday, March 30, 2015 12:08 PM To: vtkusers at vtk.org Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox Hi everyone, I have an issue building VTK-6.1 with Visual Studio 2013 on my VirtualBox (Win7 64 bits). I have had no issues with building VTK-6.1 with VS2013 on a non-virtualized machine. It looks to me that the CMake configuration provides an invalid state for the .sln. CMake configures and generates a solution without any problem (see below). However, VS2013 will complain about not finding iostream.h (for example), which does not exist since the VC folder contains the new ANSI format (iostream). Digging a little, I find that #vtksys_IOS_USE_ANSI is set to 0 in the Configure.hxx file. On a non-virtualized machine it is set to 1 (which is the value that I expected). Below are: (i) the cmake output; (ii) the first few compilation errors from VS 2013 (formatted). Any help or pointers to a solution would be greatly appreciated. Thanks, Philippe //-----------------------------------CMake output------------------------------------------------ The C compiler identification is MSVC 18.0.31101.0 The CXX compiler identification is MSVC 18.0.31101.0 Check for working C compiler using: Visual Studio 12 2013 Check for working C compiler using: Visual Studio 12 2013 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 12 2013 Check for working CXX compiler using: Visual Studio 12 2013 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Performing Test Support for 64 bit file systems Performing Test Support for 64 bit file systems - Failed Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON - Success Check if the system is big endian Searching 16 bit integer Looking for sys/types.h Looking for sys/types.h - found Looking for stdint.h Looking for stdint.h - found Looking for stddef.h Looking for stddef.h - found Check size of unsigned short Check size of unsigned short - done Using unsigned short Check if the system is big endian - little endian Looking for include file pthread.h Looking for include file pthread.h - not found Found Threads: TRUE Looking for C++ include iostream Looking for C++ include iostream - found Check for STD namespace Check for STD namespace - found Check for ANSI scope Check for ANSI scope - found Check for sstream Check for sstream - found Check size of int Check size of int - done Check size of long Check size of long - done Check size of char Check size of char - done Check size of short Check size of short - done Check size of float Check size of float - done Check size of double Check size of double - done Check size of long long Check size of long long - done Check size of __int64 Check size of __int64 - done Check size of uintptr_t Check size of uintptr_t - done Checking whether long and __int64 are the same type Checking whether long and __int64 are the same type -- no Checking whether long long and __int64 are the same type Checking whether long long and __int64 are the same type -- yes Checking signedness of char Checking signedness of char -- signed Checking support for full template specialization syntax Checking support for full template specialization syntax -- yes Checking support for C++ explicit template instantiation Checking support for C++ explicit template instantiation -- yes Checking ANSI streams end-of-file bug level Checking ANSI streams end-of-file bug level - 1 Checking if ostream supports long long Checking if ostream supports long long -- yes Checking if istream supports long long Checking if istream supports long long -- yes Looking for getsockname in socket Looking for getsockname in socket - not found Checking for getsockname with socklen_t Checking for getsockname with socklen_t -- no Looking for SO_REUSEADDR Looking for SO_REUSEADDR - not found CMake Warning (dev) at IO/Movie/module.cmake:1 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/vtkModuleMacros.cmake:764 (include) CMake/vtkModuleMacros.cmake:789 (vtk_add_module) CMake/vtkModuleMacros.cmake:798 (vtk_module_glob) CMake/vtkModuleTop.cmake:28 (vtk_module_search) CMakeLists.txt:362 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at ThirdParty/oggtheora/module.cmake:1 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/vtkModuleMacros.cmake:764 (include) CMake/vtkModuleMacros.cmake:789 (vtk_add_module) CMake/vtkModuleMacros.cmake:798 (vtk_module_glob) CMake/vtkModuleTop.cmake:28 (vtk_module_search) CMakeLists.txt:362 (include) This warning is for project developers. Use -Wno-dev to suppress it. Group StandAlone modules: vtkChartsCore;vtkCommonComputationalGeometry;vtkCommonCore;vtkCommonExecutionModel;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkDomainsChemistry;vtkFiltersAMR;vtkFiltersCore;vtkFiltersExtraction;vtkFiltersFlowPaths;vtkFiltersGeneral;vtkFiltersGeneric;vtkFiltersGeometry;vtkFiltersHybrid;vtkFiltersHyperTree;vtkFiltersImaging;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersProgrammable;vtkFiltersSelection;vtkFiltersSMP;vtkFiltersSources;vtkFiltersStatistics;vtkFiltersTexture;vtkFiltersVerdict;vtkImagingColor;vtkImagingCore;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInfovisCore;vtkInfovisLayout;vtkIOAMR;vtkIOCore;vtkIOEnSight;vtkIOExodus;vtkIOExport;vtkIOGeometry;vtkIOImage;vtkIOImport;vtkIOInfovis;vtkIOLegacy;vtkIOLSDyna;vtkIOMINC;vtkIOMovie;vtkIONetCDF;vtkIOParallel;vtkIOPLY;vtkIOSQL;vtkIOVideo;vtkIOXML;vtkIOXMLParser;vtkParallelCore Group Imaging modules: vtkFiltersImaging;vtkImagingColor;vtkImagingFourier;vtkImagingGeneral;vtkImagingHybrid;vtkImagingMath;vtkImagingMorphological;vtkImagingSources;vtkImagingStatistics;vtkImagingStencil;vtkInteractionImage;vtkRenderingImage Group MPI modules: vtkFiltersParallelGeometry;vtkFiltersParallelMPI;vtkIOMPIImage;vtkIOMPIParallel;vtkIOParallelNetCDF;vtkParallelMPI Group Rendering modules: vtkGeovisCore;vtkInteractionImage;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkRenderingContext2D;vtkRenderingCore;vtkRenderingFreeType;vtkRenderingFreeTypeOpenGL;vtkRenderingImage;vtkRenderingLabel;vtkRenderingLIC;vtkRenderingLOD;vtkRenderingOpenGL;vtkRenderingVolume;vtkRenderingVolumeAMR;vtkRenderingVolumeOpenGL;vtkViewsContext2D;vtkViewsCore;vtkViewsGeovis;vtkViewsInfovis Group Qt modules: vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkGUISupportQtSQL;vtkGUISupportQtWebkit;vtkRenderingQt;vtkViewsQt Group Tk modules: vtkRenderingTk Group Views modules: vtkViewsContext2D;vtkViewsGeovis Group Web modules: vtkWebApplications;vtkWebCore;vtkWebInstall;vtkWebJavaScript;vtkWebPython;vtkWebGLExporter Enabled 110 modules: * vtkChartsCore, needed by 2 modules: VTK_Group_StandAlone vtkViewsInfovis * vtkCommonColor, needed by 2 modules: vtkChartsCore vtkViewsInfovis * vtkCommonComputationalGeometry, needed by 5 modules: VTK_Group_StandAlone vtkFiltersGeneral vtkFiltersSelection vtkFiltersSources vtkImagingStencil * vtkCommonCore, needed by 7 modules: VTK_Group_StandAlone vtkCommonMath vtkCommonSystem vtkCommonTransforms vtkIOExport vtkIOImport vtkParallelCore * vtkCommonDataModel, needed by 15 modules: vtkCommonColor vtkCommonComputationalGeometry vtkCommonExecutionModel vtkDomainsChemistry vtkIOCore vtkIOGeometry vtkIOImage vtkIOInfovis vtkIOLegacy vtkIOMovie vtkIONetCDF vtkIOXMLParser vtkImagingMath vtkInfovisCore vtkRenderingContext2D * vtkCommonExecutionModel, needed by 19 modules: VTK_Group_StandAlone vtkFiltersCore vtkFiltersExtraction vtkFiltersFlowPaths vtkFiltersProgrammable vtkFiltersStatistics vtkFiltersVerdict vtkIOCore vtkIOEnSight vtkIOImage vtkIOLSDyna vtkIOMINC vtkIOMovie vtkIOPLY vtkIOVideo vtkImagingCore vtkImagingMath vtkInfovisLayout vtkRenderingCore * vtkCommonMath, needed by 9 modules: vtkCommonComputationalGeometry vtkCommonDataModel vtkCommonMisc vtkCommonTransforms vtkFiltersCore vtkFiltersStatistics vtkIOImage vtkImagingCore vtkRenderingContext2D * vtkCommonMisc, needed by 12 modules: VTK_Group_StandAlone vtkCommonDataModel vtkCommonExecutionModel vtkFiltersCore vtkFiltersStatistics vtkIOCore vtkIOGeometry vtkIOImage vtkIOInfovis vtkIOLegacy vtkIOPLY vtkIOXMLParser * vtkCommonSystem, needed by 13 modules: VTK_Group_StandAlone vtkCommonComputationalGeometry vtkCommonDataModel vtkFiltersCore vtkIOGeometry vtkIOImage vtkIOInfovis vtkIOLegacy vtkIOMovie vtkIONetCDF vtkIOXMLParser vtkImagingCore vtkInfovisCore * vtkCommonTransforms, needed by 8 modules: VTK_Group_StandAlone vtkCommonDataModel vtkFiltersCore vtkFiltersStatistics vtkIOImage vtkImagingCore vtkRenderingContext2D vtkRenderingCore * vtkDICOMParser, needed by vtkIOImage. * vtkDomainsChemistry, needed by VTK_Group_StandAlone. * vtkFiltersAMR, needed by 3 modules: VTK_Group_StandAlone vtkIOAMR vtkRenderingVolumeAMR * vtkFiltersCore, needed by 7 modules: VTK_Group_StandAlone vtkFiltersExtraction vtkFiltersGeneral vtkFiltersGeneric vtkFiltersGeometry vtkFiltersSMP vtkFiltersSelection * vtkFiltersExtraction, needed by 6 modules: VTK_Group_StandAlone vtkFiltersParallel vtkInfovisCore vtkInteractionStyle vtkRenderingCore vtkRenderingLabel * vtkFiltersFlowPaths, needed by VTK_Group_StandAlone. * vtkFiltersGeneral, needed by 13 modules: VTK_Group_StandAlone vtkFiltersAMR vtkFiltersExtraction vtkFiltersFlowPaths vtkFiltersHybrid vtkFiltersHyperTree vtkFiltersModeling vtkFiltersSMP vtkFiltersSources vtkFiltersTexture vtkIOExodus vtkInfovisCore vtkRenderingVolumeOpenGL * vtkFiltersGeneric, needed by VTK_Group_StandAlone. * vtkFiltersGeometry, needed by 5 modules: VTK_Group_StandAlone vtkFiltersParallel vtkIOExport vtkRenderingCore vtkViewsInfovis * vtkFiltersHybrid, needed by 3 modules: VTK_Group_StandAlone vtkIOMINC vtkInteractionWidgets * vtkFiltersHyperTree, needed by VTK_Group_StandAlone. * vtkFiltersImaging, needed by 3 modules: VTK_Group_StandAlone vtkFiltersParallelImaging vtkViewsInfovis * vtkFiltersModeling, needed by 6 modules: VTK_Group_StandAlone vtkFiltersParallel vtkInfovisLayout vtkInteractionWidgets vtkRenderingLOD vtkViewsInfovis * vtkFiltersParallel, needed by 3 modules: VTK_Group_StandAlone vtkFiltersParallelImaging vtkIOParallel * vtkFiltersParallelImaging, needed by VTK_Group_StandAlone. * vtkFiltersProgrammable, needed by VTK_Group_StandAlone. * vtkFiltersSMP, needed by VTK_Group_StandAlone. * vtkFiltersSelection, needed by VTK_Group_StandAlone. * vtkFiltersSources, needed by 10 modules: VTK_Group_StandAlone vtkDomainsChemistry vtkFiltersFlowPaths vtkFiltersGeneric vtkFiltersModeling vtkIOImport vtkInteractionStyle vtkRenderingAnnotation vtkRenderingCore vtkRenderingVolumeOpenGL * vtkFiltersStatistics, needed by 3 modules: VTK_Group_StandAlone vtkFiltersExtraction vtkFiltersImaging * vtkFiltersTexture, needed by VTK_Group_StandAlone. * vtkFiltersVerdict, needed by VTK_Group_StandAlone. * vtkGeovisCore, needed by 2 modules: VTK_Group_Rendering vtkViewsGeovis * vtkIOAMR, needed by VTK_Group_StandAlone. * vtkIOCore, needed by 10 modules: VTK_Group_StandAlone vtkFiltersFlowPaths vtkIOGeometry vtkIOImage vtkIOInfovis vtkIOLegacy vtkIOMovie vtkIONetCDF vtkIOSQL vtkIOXMLParser * vtkIOEnSight, needed by VTK_Group_StandAlone. * vtkIOExodus, needed by VTK_Group_StandAlone. * vtkIOExport, needed by VTK_Group_StandAlone. * vtkIOGeometry, needed by 4 modules: VTK_Group_StandAlone vtkIOMINC vtkIOPLY vtkIOXML * vtkIOImage, needed by 5 modules: VTK_Group_StandAlone vtkIOExport vtkIOMINC vtkIOParallel vtkImagingHybrid * vtkIOImport, needed by VTK_Group_StandAlone. * vtkIOInfovis, needed by VTK_Group_StandAlone. * vtkIOLSDyna, needed by VTK_Group_StandAlone. * vtkIOLegacy, needed by 5 modules: VTK_Group_StandAlone vtkFiltersParallelImaging vtkIOInfovis vtkParallelCore vtkRenderingLIC * vtkIOMINC, needed by VTK_Group_StandAlone. * vtkIOMovie, needed by VTK_Group_StandAlone. * vtkIONetCDF, needed by 2 modules: VTK_Group_StandAlone vtkIOParallel * vtkIOPLY, needed by VTK_Group_StandAlone. * vtkIOParallel, needed by VTK_Group_StandAlone. * vtkIOSQL, needed by VTK_Group_StandAlone. * vtkIOVideo, needed by VTK_Group_StandAlone. * vtkIOXML, needed by 7 modules: VTK_Group_StandAlone vtkDomainsChemistry vtkGeovisCore vtkIOExodus vtkIOLSDyna vtkIOParallel vtkRenderingLIC * vtkIOXMLParser, needed by 2 modules: VTK_Group_StandAlone vtkIOXML * vtkImagingColor, needed by 3 modules: VTK_Group_StandAlone vtkInteractionImage vtkRenderingAnnotation * vtkImagingCore, needed by 12 modules: VTK_Group_StandAlone vtkFiltersParallelImaging vtkIOExport vtkImagingColor vtkImagingFourier vtkImagingHybrid vtkImagingMorphological vtkImagingSources vtkImagingStatistics vtkImagingStencil vtkRenderingImage vtkRenderingVolume * vtkImagingFourier, needed by 2 modules: VTK_Group_StandAlone vtkFiltersStatistics * vtkImagingGeneral, needed by 4 modules: VTK_Group_StandAlone vtkFiltersImaging vtkImagingMorphological vtkInteractionWidgets * vtkImagingHybrid, needed by 4 modules: VTK_Group_StandAlone vtkInfovisLayout vtkInteractionWidgets vtkRenderingOpenGL * vtkImagingMath, needed by VTK_Group_StandAlone. * vtkImagingMorphological, needed by VTK_Group_StandAlone. * vtkImagingSources, needed by 5 modules: VTK_Group_StandAlone vtkFiltersHybrid vtkFiltersImaging vtkImagingGeneral vtkRenderingLIC * vtkImagingStatistics, needed by VTK_Group_StandAlone. * vtkImagingStencil, needed by VTK_Group_StandAlone. * vtkInfovisCore, needed by 4 modules: VTK_Group_StandAlone vtkChartsCore vtkIOInfovis vtkInfovisLayout * vtkInfovisLayout, needed by 3 modules: VTK_Group_StandAlone vtkGeovisCore vtkViewsInfovis * vtkInteractionImage, needed by VTK_Group_Rendering. * vtkInteractionStyle, needed by 5 modules: VTK_Group_Rendering vtkGeovisCore vtkInteractionImage vtkInteractionWidgets vtkViewsInfovis * vtkInteractionWidgets, needed by 4 modules: VTK_Group_Rendering vtkGeovisCore vtkInteractionImage vtkViewsCore * vtkMetaIO, needed by vtkIOImage. * vtkParallelCore, needed by 7 modules: VTK_Group_StandAlone vtkFiltersAMR vtkFiltersParallel vtkFiltersParallelImaging vtkIOAMR vtkIOParallel vtkRenderingVolumeAMR * vtkParseOGLExt, needed by vtkRenderingOpenGL. * vtkRenderingAnnotation, needed by 3 modules: VTK_Group_Rendering vtkIOExport vtkInteractionWidgets * vtkRenderingContext2D, needed by 6 modules: VTK_Group_Rendering vtkChartsCore vtkIOExport vtkRenderingGL2PS vtkViewsContext2D vtkViewsInfovis * vtkRenderingCore, needed by 18 modules: VTK_Group_Rendering vtkDomainsChemistry vtkFiltersHybrid vtkFiltersParallel vtkIOExport vtkIOImport vtkIOMINC vtkInteractionImage vtkInteractionStyle vtkRenderingContext2D vtkRenderingFreeType vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkRenderingImage vtkRenderingLOD vtkRenderingOpenGL vtkRenderingVolume vtkViewsCore * vtkRenderingFreeType, needed by 9 modules: VTK_Group_Rendering vtkIOExport vtkInteractionImage vtkInteractionWidgets vtkRenderingAnnotation vtkRenderingContext2D vtkRenderingFreeTypeOpenGL vtkRenderingGL2PS vtkRenderingLabel * vtkRenderingFreeTypeOpenGL, needed by VTK_Group_Rendering. * vtkRenderingGL2PS, needed by vtkIOExport. * vtkRenderingImage, needed by VTK_Group_Rendering. * vtkRenderingLIC, needed by VTK_Group_Rendering. * vtkRenderingLOD, needed by VTK_Group_Rendering. * vtkRenderingLabel, needed by 3 modules: VTK_Group_Rendering vtkIOExport vtkViewsInfovis * vtkRenderingOpenGL, needed by 8 modules: VTK_Group_Rendering vtkGeovisCore vtkIOExport vtkRenderingContext2D vtkRenderingFreeTypeOpenGL vtkRenderingGL2PS vtkRenderingLIC vtkRenderingVolumeOpenGL * vtkRenderingVolume, needed by 4 modules: VTK_Group_Rendering vtkInteractionWidgets vtkRenderingVolumeAMR vtkRenderingVolumeOpenGL * vtkRenderingVolumeAMR, needed by VTK_Group_Rendering. * vtkRenderingVolumeOpenGL, needed by VTK_Group_Rendering. * vtkUtilitiesEncodeString, needed by vtkRenderingOpenGL. * vtkUtilitiesHashSource, needed by vtkParallelCore. * vtkViewsContext2D, needed by VTK_Group_Rendering. * vtkViewsCore, needed by 4 modules: VTK_Group_Rendering vtkGeovisCore vtkViewsContext2D vtkViewsInfovis * vtkViewsGeovis, needed by VTK_Group_Rendering. * vtkViewsInfovis, needed by 2 modules: VTK_Group_Rendering vtkViewsGeovis * vtkalglib, needed by vtkFiltersStatistics. * vtkexodusII, needed by 2 modules: vtkIOExodus vtkIOParallel * vtkexpat, needed by vtkIOXMLParser. * vtkfreetype, needed by 2 modules: vtkRenderingFreeType vtkftgl * vtkftgl, needed by vtkRenderingFreeType. * vtkgl2ps, needed by 2 modules: vtkIOExport vtkRenderingGL2PS * vtkhdf5, needed by 2 modules: vtkIOAMR vtknetcdf * vtkjpeg, needed by 2 modules: vtkIOImage vtktiff * vtkjsoncpp, needed by vtkIOGeometry. * vtklibproj4, needed by vtkGeovisCore. * vtklibxml2, needed by vtkIOInfovis. * vtknetcdf, needed by 4 modules: vtkIOMINC vtkIONetCDF vtkIOParallel vtkexodusII * vtkoggtheora, needed by vtkIOMovie. * vtkpng, needed by 2 modules: vtkIOImage vtkgl2ps * vtksqlite, needed by vtkIOSQL. * vtksys, needed by 25 modules: vtkCommonCore vtkCommonDataModel vtkCommonSystem vtkDICOMParser vtkIOAMR vtkIOCore vtkIOExodus vtkIOGeometry vtkIOImage vtkIOInfovis vtkIOLSDyna vtkIOLegacy vtkIOMINC vtkIONetCDF vtkIOSQL vtkIOVideo vtkIOXML vtkImagingFourier vtkParallelCore vtkRenderingCore vtkRenderingLIC vtkRenderingOpenGL vtkRenderingVolumeOpenGL vtkUtilitiesEncodeString vtkUtilitiesHashSource * vtktiff, needed by vtkIOImage. * vtkverdict, needed by vtkFiltersVerdict. * vtkzlib, needed by 9 modules: vtkIOCore vtkIOGeometry vtkMetaIO vtkfreetype vtkgl2ps vtkhdf5 vtklibxml2 vtkpng vtktiff CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 (CONFIGURE_FILE): configure_file called with unknown argument(s): COPY_ONLY This warning is for project developers. Use -Wno-dev to suppress it. Checking whether header cstdio is available Checking whether header cstdio is available - no Checking for Large File Support Checking for Large File Support - failed to compile Checking whether STL classes are in std namespace Checking whether STL classes are in std namespace - no Checking whether ANSI stream headers are available Checking whether ANSI stream headers are available - no Checking whether strstream.h is available Checking whether strstream.h is available - no Checking whether strstrea.h is available Checking whether strstrea.h is available - no Checking whether header cstddef is available Checking whether header cstddef is available - no Checking whether stl string has operator!= for char* Checking whether stl string has operator!= for char* - no Checking whether stl has iterator_traits Checking whether stl has iterator_traits - no Checking whether stl has old iterator_category Checking whether stl has old iterator_category - no Checking whether stl has internal __iterator_category Checking whether stl has internal __iterator_category - no Checking whether stl has standard template allocator Checking whether stl has standard template allocator - no Checking whether stl has old non-template allocator Checking whether stl has old non-template allocator - no Checking whether stl containers support allocator objects. Checking whether stl containers support allocator objects. - no Checking whether stl string has ostream operator<< Checking whether stl string has ostream operator<< - no Checking whether stl string has istream operator>> Checking whether stl string has istream operator>> - no Checking whether ios has binary openmode Checking whether ios has binary openmode - no Checking whether "<>" is needed for template friends Checking whether "<>" is needed for template friends - yes Checking for member template support Checking for member template support - no Checking for standard template specialization syntax Checking for standard template specialization syntax - yes Checking whether argument dependent lookup is supported Checking whether argument dependent lookup is supported - no Checking whether C++ compiler has 'long long' Checking whether C++ compiler has 'long long' - yes Checking whether C++ compiler has '__int64' Checking whether C++ compiler has '__int64' - no Checking for C type size macros Checking for C type size macros - compiled Check size of char Check size of char - failed Check size of short Check size of short - done Check size of int Check size of int - done Check size of long Check size of long - done Check size of long long Check size of long long - done Check size of __int64 Check size of __int64 - done Checking whether char is signed Checking whether char is signed - failed to compile Checking whether wstring is available Checking whether wstring is available - no Checking whether C compiler has ptrdiff_t in stddef.h Checking whether C compiler has ptrdiff_t in stddef.h - no Checking whether C compiler has ssize_t in unistd.h Checking whether C compiler has ssize_t in unistd.h - no Checking whether CXX compiler has setenv Checking whether CXX compiler has setenv - no Checking whether CXX compiler has unsetenv Checking whether CXX compiler has unsetenv - no Checking whether CXX compiler has environ in stdlib.h Checking whether CXX compiler has environ in stdlib.h - no Checking whether CXX compiler has utimes Checking whether CXX compiler has utimes - no Checking whether CXX compiler has utimensat Checking whether CXX compiler has utimensat - no Looking for include files sys/types.h, ifaddrs.h Looking for include files sys/types.h, ifaddrs.h - not found Looking for GetProcessMemoryInfo Looking for GetProcessMemoryInfo - found Checking whether CXX compiler has rlimit64 Checking whether CXX compiler has rlimit64 - no Checking whether CXX compiler has atol Checking whether CXX compiler has atol - no Checking whether CXX compiler has atoll Checking whether CXX compiler has atoll - no Checking whether CXX compiler has _atoi64 Checking whether CXX compiler has _atoi64 - yes CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:1067 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at Common/Core/CMakeLists.txt:70 (configure_file): configure_file called with unknown argument(s): COPY_ONLY This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at Common/Core/CMakeLists.txt:73 (configure_file): configure_file called with unknown argument(s): COPY_ONLY This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at Common/Core/CMakeLists.txt:76 (configure_file): configure_file called with unknown argument(s): COPY_ONLY This warning is for project developers. Use -Wno-dev to suppress it. Looking for InterlockedAdd Looking for InterlockedAdd - found Performing Test VTK_HAS_STD_ISNAN Performing Test VTK_HAS_STD_ISNAN - Success Performing Test VTK_HAS_STD_ISINF Performing Test VTK_HAS_STD_ISINF - Success Performing Test VTK_HAS_STD_ISFINITE Performing Test VTK_HAS_STD_ISFINITE - Success Looking for isnan Looking for isnan - found Looking for isinf Looking for isinf - found Looking for isfinite Looking for isfinite - found Looking for finite Looking for finite - not found Looking for fenv.h Looking for fenv.h - found Looking for feenableexcept Looking for feenableexcept - not found CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Core/CMakeLists.txt:594 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Core/CMakeLists.txt:594 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Performing Test COMPILER_HAS_DEPRECATED_ATTR Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed Performing Test COMPILER_HAS_DEPRECATED Performing Test COMPILER_HAS_DEPRECATED - Success CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Math/CMakeLists.txt:52 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Math/CMakeLists.txt:52 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Misc/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Misc/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/System/CMakeLists.txt:26 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/System/CMakeLists.txt:26 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Transforms/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Transforms/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/DataModel/CMakeLists.txt:289 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/DataModel/CMakeLists.txt:289 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Color/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/Color/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/ExecutionModel/CMakeLists.txt:83 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/ExecutionModel/CMakeLists.txt:83 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Core/CMakeLists.txt:93 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Core/CMakeLists.txt:93 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/ComputationalGeometry/CMakeLists.txt:27 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Common/ComputationalGeometry/CMakeLists.txt:27 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/General/CMakeLists.txt:119 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/General/CMakeLists.txt:119 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Core/CMakeLists.txt:62 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Core/CMakeLists.txt:62 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Fourier/CMakeLists.txt:18 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Fourier/CMakeLists.txt:18 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Statistics/CMakeLists.txt:25 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Statistics/CMakeLists.txt:25 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Extraction/CMakeLists.txt:38 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Extraction/CMakeLists.txt:38 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Infovis/Core/CMakeLists.txt:45 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Infovis/Core/CMakeLists.txt:45 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Geometry/CMakeLists.txt:39 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Geometry/CMakeLists.txt:39 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Sources/CMakeLists.txt:43 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Sources/CMakeLists.txt:43 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Core/CMakeLists.txt:189 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Core/CMakeLists.txt:189 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Found OpenGL: opengl32 CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/FreeType/CMakeLists.txt:72 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/FreeType/CMakeLists.txt:72 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Core/CMakeLists.txt:36 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Core/CMakeLists.txt:36 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Looking for include file assert.h Looking for include file assert.h - found Looking for include file dlfcn.h Looking for include file dlfcn.h - not found Looking for include file fcntl.h Looking for include file fcntl.h - found Looking for include file inttypes.h Looking for include file inttypes.h - found Looking for include file limits.h Looking for include file limits.h - found Looking for include file malloc.h Looking for include file malloc.h - found Looking for include file memory.h Looking for include file memory.h - found Looking for include file stdlib.h Looking for include file stdlib.h - found Looking for include file string.h Looking for include file string.h - found Looking for include file strings.h Looking for include file strings.h - not found Looking for include file sys/stat.h Looking for include file sys/stat.h - found Looking for include file sys/time.h Looking for include file sys/time.h - not found Looking for include file unistd.h Looking for include file unistd.h - not found Looking for include file windows.h Looking for include file windows.h - found Looking for include file ieeefp.h Looking for include file ieeefp.h - not found Looking for floor Looking for floor - found Looking for getopt Looking for getopt - not found Looking for isascii Looking for isascii - not found Looking for memmove Looking for memmove - found Looking for memset Looking for memset - found Looking for mmap Looking for mmap - not found Looking for pow Looking for pow - found Looking for sqrt Looking for sqrt - found Looking for strcasecmp Looking for strcasecmp - not found Looking for strchr Looking for strchr - found Looking for strrchr Looking for strrchr - found Looking for strstr Looking for strstr - found Looking for strtol Looking for strtol - found Looking for strtoul Looking for strtoul - found Check size of int Check size of int - done Check size of long Check size of long - done CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Image/CMakeLists.txt:39 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Image/CMakeLists.txt:39 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Hybrid/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Hybrid/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/OpenGL/CMakeLists.txt:451 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/OpenGL/CMakeLists.txt:451 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Context2D/CMakeLists.txt:52 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Context2D/CMakeLists.txt:52 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Charts/Core/CMakeLists.txt:62 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Charts/Core/CMakeLists.txt:62 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Geometry/CMakeLists.txt:42 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Geometry/CMakeLists.txt:42 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/XMLParser/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/XMLParser/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/XML/CMakeLists.txt:80 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/XML/CMakeLists.txt:80 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Domains/Chemistry/CMakeLists.txt:32 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Domains/Chemistry/CMakeLists.txt:32 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Legacy/CMakeLists.txt:38 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Legacy/CMakeLists.txt:38 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Parallel/Core/CMakeLists.txt:43 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Parallel/Core/CMakeLists.txt:43 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/AMR/CMakeLists.txt:22 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/AMR/CMakeLists.txt:22 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/FlowPaths/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/FlowPaths/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Generic/CMakeLists.txt:13 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Generic/CMakeLists.txt:13 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Sources/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Sources/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Hybrid/CMakeLists.txt:27 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Hybrid/CMakeLists.txt:27 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/HyperTree/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/HyperTree/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/General/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/General/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Imaging/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Imaging/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Modeling/CMakeLists.txt:33 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Modeling/CMakeLists.txt:33 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Parallel/CMakeLists.txt:47 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Parallel/CMakeLists.txt:47 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/ParallelImaging/CMakeLists.txt:10 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/ParallelImaging/CMakeLists.txt:10 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Programmable/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Programmable/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/SMP/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/SMP/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Selection/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Selection/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Texture/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Texture/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Verdict/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Filters/Verdict/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Infovis/Layout/CMakeLists.txt:57 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Infovis/Layout/CMakeLists.txt:57 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Style/CMakeLists.txt:54 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Style/CMakeLists.txt:54 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Color/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Color/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Annotation/CMakeLists.txt:34 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Annotation/CMakeLists.txt:34 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Volume/CMakeLists.txt:60 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Volume/CMakeLists.txt:60 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Widgets/CMakeLists.txt:157 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Widgets/CMakeLists.txt:157 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Core/CMakeLists.txt:10 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Core/CMakeLists.txt:10 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Looking for csin Looking for csin - not found Looking for atanh Looking for atanh - not found CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Geovis/Core/CMakeLists.txt:37 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Geovis/Core/CMakeLists.txt:37 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Looking for printf in ws2_32; Looking for printf in ws2_32; - found Looking for printf in wsock32;ws2_32 Looking for printf in wsock32;ws2_32 - found Looking for gethostname in ucb;ws2_32;wsock32 Looking for gethostname in ucb;ws2_32;wsock32 - not found Looking for connect in socket;ws2_32;wsock32 Looking for connect in socket;ws2_32;wsock32 - not found Looking for gethostbyname in c Looking for gethostbyname in c - not found Looking for gethostbyname in nsl;ws2_32;wsock32 Looking for gethostbyname in nsl;ws2_32;wsock32 - not found Looking for include file globus/common.h Looking for include file globus/common.h - not found Looking for include files io.h, mfhdf.h Looking for include files io.h, mfhdf.h - not found Looking for include files io.h, pdb.h Looking for include files io.h, pdb.h - not found Looking for include files io.h, pthread.h Looking for include files io.h, pthread.h - not found Looking for 3 include files io.h, ..., srbclient.h Looking for 3 include files io.h, ..., srbclient.h - not found Looking for 4 include files io.h, ..., stdint.h Looking for 4 include files io.h, ..., stdint.h - found Looking for 5 include files io.h, ..., string.h Looking for 5 include files io.h, ..., string.h - found Looking for 6 include files io.h, ..., strings.h Looking for 6 include files io.h, ..., strings.h - not found Looking for 6 include files io.h, ..., sys/ioctl.h Looking for 6 include files io.h, ..., sys/ioctl.h - not found Looking for 6 include files io.h, ..., sys/proc.h Looking for 6 include files io.h, ..., sys/proc.h - not found Looking for 6 include files io.h, ..., sys/resource.h Looking for 6 include files io.h, ..., sys/resource.h - not found Looking for 6 include files io.h, ..., sys/socket.h Looking for 6 include files io.h, ..., sys/socket.h - not found Looking for 7 include files io.h, ..., sys/time.h Looking for 7 include files io.h, ..., sys/time.h - not found Looking for 7 include files io.h, ..., time.h Looking for 7 include files io.h, ..., time.h - found Looking for 10 include files io.h, ..., unistd.h Looking for 10 include files io.h, ..., unistd.h - not found Looking for 10 include files io.h, ..., stdlib.h Looking for 10 include files io.h, ..., stdlib.h - found Looking for 11 include files io.h, ..., memory.h Looking for 11 include files io.h, ..., memory.h - found Looking for 12 include files io.h, ..., dlfcn.h Looking for 12 include files io.h, ..., dlfcn.h - not found Looking for 12 include files io.h, ..., features.h Looking for 12 include files io.h, ..., features.h - not found Looking for 12 include files io.h, ..., inttypes.h Looking for 12 include files io.h, ..., inttypes.h - found Looking for 14 include files io.h, ..., netinet/in.h Looking for 14 include files io.h, ..., netinet/in.h - not found Looking for C++ include stdint.h Looking for C++ include stdint.h - found Check size of char Check size of char - done Check size of short Check size of short - done Check size of int Check size of int - done Check size of unsigned Check size of unsigned - done Check size of long Check size of long - done Check size of long long Check size of long long - done Check size of __int64 Check size of __int64 - done Check size of float Check size of float - done Check size of double Check size of double - done Check size of long double Check size of long double - done Check size of int8_t Check size of int8_t - done Check size of uint8_t Check size of uint8_t - done Check size of int_least8_t Check size of int_least8_t - done Check size of uint_least8_t Check size of uint_least8_t - done Check size of int_fast8_t Check size of int_fast8_t - done Check size of uint_fast8_t Check size of uint_fast8_t - done Check size of int16_t Check size of int16_t - done Check size of uint16_t Check size of uint16_t - done Check size of int_least16_t Check size of int_least16_t - done Check size of uint_least16_t Check size of uint_least16_t - done Check size of int_fast16_t Check size of int_fast16_t - done Check size of uint_fast16_t Check size of uint_fast16_t - done Check size of int32_t Check size of int32_t - done Check size of uint32_t Check size of uint32_t - done Check size of int_least32_t Check size of int_least32_t - done Check size of uint_least32_t Check size of uint_least32_t - done Check size of int_fast32_t Check size of int_fast32_t - done Check size of uint_fast32_t Check size of uint_fast32_t - done Check size of int64_t Check size of int64_t - done Check size of uint64_t Check size of uint64_t - done Check size of int_least64_t Check size of int_least64_t - done Check size of uint_least64_t Check size of uint_least64_t - done Check size of int_fast64_t Check size of int_fast64_t - done Check size of uint_fast64_t Check size of uint_fast64_t - done Check size of size_t Check size of size_t - done Check size of ssize_t Check size of ssize_t - failed Check size of off_t Check size of off_t - done Check size of off64_t Check size of off64_t - failed Looking for alarm Looking for alarm - not found Looking for fork Looking for fork - not found Looking for frexpf Looking for frexpf - not found Looking for frexpl Looking for frexpl - not found Looking for getpwuid Looking for getpwuid - not found Looking for getrusage Looking for getrusage - not found Looking for lstat Looking for lstat - not found Looking for rand_r Looking for rand_r - not found Looking for random Looking for random - not found Looking for setsysinfo Looking for setsysinfo - not found Looking for signal Looking for signal - found Looking for setjmp Looking for setjmp - not found Looking for siglongjmp Looking for siglongjmp - not found Looking for sigsetjmp Looking for sigsetjmp - not found Looking for sigaction Looking for sigaction - not found Looking for sigprocmask Looking for sigprocmask - not found Looking for snprintf Looking for snprintf - not found Looking for srandom Looking for srandom - not found Looking for symlink Looking for symlink - not found Looking for vasprintf Looking for vasprintf - not found Looking for waitpid Looking for waitpid - not found Looking for vsnprintf Looking for vsnprintf - found Looking for ioctl Looking for ioctl - not found Looking for fseeko Looking for fseeko - not found Looking for ftello Looking for ftello - not found Looking for fstat64 Looking for fstat64 - not found Looking for stat64 Looking for stat64 - not found Looking for tzname Looking for tzname - found CMake Warning (dev) at ThirdParty/hdf5/vtkhdf5/ConfigureChecks.cmake:450 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "H5_HAVE_SYS_TIME_H" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): ThirdParty/hdf5/vtkhdf5/ConfigureChecks.cmake:533 (HDF5_FUNCTION_TEST) ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:182 (INCLUDE) This warning is for project developers. Use -Wno-dev to suppress it. Performing Other Test INLINE_TEST_inline - Failed Performing Other Test INLINE_TEST___inline__ - Failed Performing Other Test INLINE_TEST___inline - Success Checking for appropriate format for 64 bit long: Checking for apropriate format for 64 bit long: not found checking IF converting from long double to integers is accurate... yes Checking IF converting from long double to integers works... no checking IF accurately converting from integers to long double... yes Checking IF accurately converting unsigned long to float values... no Checking IF accurately converting unsigned long long to floating-point values... no Checking IF accurately roundup converting floating-point to unsigned long long values... no Checking IF right maximum converting floating-point to unsigned long long values... no Checking IF correctly converting long double to unsigned int values... no Checking IF compiling unsigned long long to floating-point typecasts work... yes Checking IF compiling long long to floating-point typecasts work... yes Checking IF converting unsigned long long to long double with precision... no Checking IF overflows normally converting floating-point to integer values... no Checking IF correctly converting long double to (unsigned) long long values... no Checking IF correctly converting (unsigned) long long to long double values... no Checking IF alignment restrictions are strictly enforced... no CMake Warning (dev) at ThirdParty/hdf5/vtkhdf5/CMakeLists.txt:283 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at ThirdParty/hdf5/vtkhdf5/src/CMakeLists.txt:607 (ADD_CUSTOM_COMMAND): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "C:/Users/project-elbrus-win7/jenkins/jobs/elbrus-win32-ci-third-party/workspace/Elbrus/external/vtk/vtk-6.1.0/build/ThirdParty/hdf5/vtkhdf5/H5Edefin.h" is unknown in this context. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at ThirdParty/hdf5/vtkhdf5/src/CMakeLists.txt:614 (ADD_CUSTOM_COMMAND): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "C:/Users/project-elbrus-win7/jenkins/jobs/elbrus-win32-ci-third-party/workspace/Elbrus/external/vtk/vtk-6.1.0/build/ThirdParty/hdf5/vtkhdf5/H5version.h" is unknown in this context. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at ThirdParty/hdf5/vtkhdf5/src/CMakeLists.txt:621 (ADD_CUSTOM_COMMAND): Policy CMP0040 is not set: The target in the TARGET signature of add_custom_command() must exist. Run "cmake --help-policy CMP0040" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The target name "C:/Users/project-elbrus-win7/jenkins/jobs/elbrus-win32-ci-third-party/workspace/Elbrus/external/vtk/vtk-6.1.0/build/ThirdParty/hdf5/vtkhdf5/H5overflow.h" is unknown in this context. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/AMR/CMakeLists.txt:25 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/AMR/CMakeLists.txt:25 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/EnSight/CMakeLists.txt:16 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/EnSight/CMakeLists.txt:16 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Looking for 4 include files stdlib.h, ..., float.h Looking for 4 include files stdlib.h, ..., float.h - found Looking for include file alloca.h Looking for include file alloca.h - not found Looking for 5 include files stdlib.h, ..., stdio.h Looking for 5 include files stdlib.h, ..., stdio.h - found Looking for 10 include files stdlib.h, ..., stdbool.h Looking for 10 include files stdlib.h, ..., stdbool.h - found Looking for alloca Looking for alloca - not found Looking for strerror Looking for strerror - found Check size of size_t Check size of size_t - done Check size of ssize_t Check size of ssize_t - failed Check size of ptrdiff_t Check size of ptrdiff_t - done Check size of off_t Check size of off_t - done Check size of double Check size of double - done Check size of float Check size of float - done Check size of short Check size of short - done Check size of uchar Check size of uchar - failed Check size of _Bool Check size of _Bool - done Performing NetCDF Test HAVE_ST_BLKSIZE Performing NetCDF Test HAVE_ST_BLKSIZE - Failed Performing NetCDF Test HAVE_FTRUNCATE Performing NetCDF Test HAVE_FTRUNCATE - Failed Looking for malloc.h Looking for malloc.h - found CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Exodus/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Exodus/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/GL2PS/CMakeLists.txt:8 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/GL2PS/CMakeLists.txt:8 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Label/CMakeLists.txt:24 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Label/CMakeLists.txt:24 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Export/CMakeLists.txt:33 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Export/CMakeLists.txt:33 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Import/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Import/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Looking for dlopen in dl; Looking for dlopen in dl; - not found Looking for shl_load in dld; Looking for shl_load in dld; - not found Looking for dlopen in Looking for dlopen in - not found Looking for 8 include files stdio.h, ..., netdb.h Looking for 8 include files stdio.h, ..., netdb.h - not found Looking for 9 include files stdio.h, ..., sys/socket.h Looking for 9 include files stdio.h, ..., sys/socket.h - not found Looking for 9 include files stdio.h, ..., netinet/in.h Looking for 9 include files stdio.h, ..., netinet/in.h - not found Looking for 9 include files stdio.h, ..., sys/select.h Looking for 9 include files stdio.h, ..., sys/select.h - not found Looking for 13 include files stdio.h, ..., time.h Looking for 13 include files stdio.h, ..., time.h - found Looking for 14 include files stdio.h, ..., signal.h Looking for 14 include files stdio.h, ..., signal.h - found Looking for 15 include files stdio.h, ..., errno.h Looking for 15 include files stdio.h, ..., errno.h - found Looking for 16 include files stdio.h, ..., ansidecl.h Looking for 16 include files stdio.h, ..., ansidecl.h - not found Looking for 16 include files stdio.h, ..., arpa/inet.h Looking for 16 include files stdio.h, ..., arpa/inet.h - not found Looking for 16 include files stdio.h, ..., arpa/nameser.h Looking for 16 include files stdio.h, ..., arpa/nameser.h - not found Looking for 16 include files stdio.h, ..., ctype.h Looking for 16 include files stdio.h, ..., ctype.h - found Looking for 17 include files stdio.h, ..., dirent.h Looking for 17 include files stdio.h, ..., dirent.h - not found Looking for 17 include files stdio.h, ..., dl.h Looking for 17 include files stdio.h, ..., dl.h - not found Looking for 17 include files stdio.h, ..., float.h Looking for 17 include files stdio.h, ..., float.h - found Looking for 18 include files stdio.h, ..., fp_class.h Looking for 18 include files stdio.h, ..., fp_class.h - not found Looking for 18 include files stdio.h, ..., math.h Looking for 18 include files stdio.h, ..., math.h - found Looking for 19 include files stdio.h, ..., nan.h Looking for 19 include files stdio.h, ..., nan.h - not found Looking for 19 include files stdio.h, ..., ndir.h Looking for 19 include files stdio.h, ..., ndir.h - not found Looking for 19 include files stdio.h, ..., pthread.h Looking for 19 include files stdio.h, ..., pthread.h - not found Looking for 19 include files stdio.h, ..., resolv.h Looking for 19 include files stdio.h, ..., resolv.h - not found Looking for 19 include files stdio.h, ..., stdarg.h Looking for 19 include files stdio.h, ..., stdarg.h - found Looking for 20 include files stdio.h, ..., sys/mman.h Looking for 20 include files stdio.h, ..., sys/mman.h - not found Looking for 20 include files stdio.h, ..., sys/timeb.h Looking for 20 include files stdio.h, ..., sys/timeb.h - found Looking for finite Looking for finite - not found Looking for fpclass Looking for fpclass - not found Looking for fp_class Looking for fp_class - not found Looking for fprintf Looking for fprintf - found Looking for ftime Looking for ftime - found Looking for gettimeofday Looking for gettimeofday - not found Looking for localtime Looking for localtime - found Looking for printf Looking for printf - found Looking for sscanf Looking for sscanf - found Looking for sprintf Looking for sprintf - found Looking for snprintf Looking for snprintf - not found Looking for signal Looking for signal - found Looking for strdup Looking for strdup - found Looking for strndup Looking for strndup - not found Looking for strftime Looking for strftime - found Looking for stat Looking for stat - found Looking for _stat Looking for _stat - found Looking for vfprintf Looking for vfprintf - found Looking for vsnprintf Looking for vsnprintf - found Looking for vsprintf Looking for vsprintf - found Checking for getaddrinfo. Checking for getaddrinfo. - no Checking for socklen_t Checking for socklen_t - no Checking for DIR in sys/dir.h Checking for DIR in sys/dir.h - no Checking for DIR in sys/ndir.h Checking for DIR in sys/ndir.h - no Checking for va_copy Checking for va_copy - no Checking for __va_copy Checking for __va_copy - no Checking for ipv6 support. Checking for ipv6 support. - no CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Infovis/CMakeLists.txt:18 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Infovis/CMakeLists.txt:18 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/LSDyna/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/LSDyna/CMakeLists.txt:28 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/MINC/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/MINC/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at ThirdParty/oggtheora/module.cmake:1 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/vtkModuleMacros.cmake:134 (include) CMake/vtkModuleMacros.cmake:744 (vtk_module_impl) ThirdParty/oggtheora/CMakeLists.txt:1 (vtk_module_third_party) This warning is for project developers. Use -Wno-dev to suppress it. Check size of int16_t Check size of int16_t - done Check size of int32_t Check size of int32_t - done Check size of uint32_t Check size of uint32_t - done Check size of uint16_t Check size of uint16_t - done Check size of u_int32_t Check size of u_int32_t - failed Check size of u_int16_t Check size of u_int16_t - failed Check size of int64_t Check size of int64_t - done Check size of short Check size of short - done Check size of int Check size of int - done Check size of long Check size of long - done Check size of long long Check size of long long - done Checking if vfw32 is available Checking if vfw32 is available -- yes Checking if vfw32 supports video capture Checking if vfw32 supports video capture -- yes CMake Warning (dev) at IO/Movie/module.cmake:1 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/vtkModuleMacros.cmake:134 (include) CMake/vtkModuleMacros.cmake:480 (vtk_module_impl) IO/Movie/CMakeLists.txt:37 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Movie/CMakeLists.txt:37 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Movie/CMakeLists.txt:37 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/NetCDF/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/NetCDF/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/PLY/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/PLY/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Parallel/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Parallel/CMakeLists.txt:15 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/SQL/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/SQL/CMakeLists.txt:30 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/vtkTestVideoForWindows.cmake:2 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "VTK_USE_VIDEO_FOR_WINDOWS" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): IO/Video/CMakeLists.txt:6 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/vtkTestVideoForWindows.cmake:29 (IF): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "VTK_VFW_SUPPORTS_CAPTURE" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): IO/Video/CMakeLists.txt:6 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Video/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) IO/Video/CMakeLists.txt:17 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Math/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Math/CMakeLists.txt:12 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Morphological/CMakeLists.txt:14 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Morphological/CMakeLists.txt:14 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Statistics/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Statistics/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Stencil/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Imaging/Stencil/CMakeLists.txt:11 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Image/CMakeLists.txt:8 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Interaction/Image/CMakeLists.txt:8 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/FreeTypeOpenGL/CMakeLists.txt:35 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/FreeTypeOpenGL/CMakeLists.txt:35 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Image/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/Image/CMakeLists.txt:7 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/LIC/CMakeLists.txt:64 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/LIC/CMakeLists.txt:64 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/LOD/CMakeLists.txt:5 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/LOD/CMakeLists.txt:5 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/VolumeAMR/CMakeLists.txt:5 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/VolumeAMR/CMakeLists.txt:5 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/VolumeOpenGL/CMakeLists.txt:120 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Rendering/VolumeOpenGL/CMakeLists.txt:120 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Context2D/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Context2D/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Infovis/CMakeLists.txt:31 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Infovis/CMakeLists.txt:31 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:199 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:354 (_test_compiler_hidden_visibility) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Geovis/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMake/GenerateExportHeader.cmake:216 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMake/GenerateExportHeader.cmake:355 (_test_compiler_has_deprecated) CMake/vtkModuleMacros.cmake:590 (generate_export_header) Views/Geovis/CMakeLists.txt:6 (vtk_module_library) This warning is for project developers. Use -Wno-dev to suppress it. Configuring done Generating done //------------------------------------------------------------------------------------------------ //------------------------------------VS2013 Errors------------------------------------------- ------ Build started: Project: vtksys, Configuration: Debug Win32 ------ ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/ios/iostream(26): fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory DynamicLoader.cxx EncodingCXX.cxx ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/ios/iostream(26): fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory Glob.cxx ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/ios/iostream(26): fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory vtkGarbageCollectorManager.cxx vtkGaussianRandomSequence.cxx vtkIdListCollection.cxx vtkIdList.cxx Generating Code... Compiling... vtkIdTypeArray.cxx vtkIndent.cxx vtkInformation.cxx ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/hashtable.hxx(341): error C2146: syntax error : missing ';' before identifier 'iterator_category' ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/hashtable.hxx(362) : see reference to class template instantiation 'vtksys::_Hashtable_iterator<_Val,_Key,_HashFcn,_ExtractKey,_EqualKey,_Alloc>' being compiled ...\vtk\vtk-6.1.0\build\Utilities\KWSys\vtksys/hashtable.hxx(341): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int //------------------------------------------------------------------------------------------------ -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-6-1-and-Visual-Studio-2013-on-VirtualBox-tp5731233.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 ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- From joao.henrique.pinto at hotmail.com Thu Apr 2 11:57:46 2015 From: joao.henrique.pinto at hotmail.com (=?iso-8859-1?B?Sm/jbw==?=) Date: Thu, 2 Apr 2015 16:57:46 +0100 Subject: [vtkusers] IterativeClosestPointsTransform Example error Message-ID: I can run the example fine if I don't print anything to the console, but printing the matrix gives me a "First-chance exception at 0x000000005F435B7C (msvcp100.dll) in Example.exe: 0xC0000005: Access violation reading location 0x0000000000000000." I'm using Visual Studio 2013, 64 bit project. Anyone have any idea what's going on? Link to the example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/IterativeClosestPointsTransform -------------- next part -------------- An HTML attachment was scrubbed... URL: From sankhesh.jhaveri at kitware.com Thu Apr 2 12:48:22 2015 From: sankhesh.jhaveri at kitware.com (Sankhesh Jhaveri) Date: Thu, 2 Apr 2015 12:48:22 -0400 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: Hello Sergio, A couple of things: 1. If you look at the vtkPolyDataMapper::Render() method, it calls RenderPiece only if there is input information set on the mapper. I guess your code does not provide an input to the mapper, and hence, RenderPiece (and Draw) is not called. 2. The vtkRenderer::Render() method clears the color and depth buffers by default. You'll have to work around that to make sure the GL objects are preserved. Hope that helps. Best Regards, Sankhesh Jhaveri Research & Development Engineer Kitware, Inc. *Phone*: (518) 881 4417 *Fax*: (518) 371 4573 On Wed, Apr 1, 2015 at 11:01 AM, Sergio Vera wrote: > Dear Aashish, > > thanks for your time. At the moment it is kinda difficult to switch to > OpenGL2 backend, manily because the VTK (5.10) we use is pulled by the CTK > superbuild. I could try to switch to the experimental branch of CTK with > support for vtk 6 and try to modifly the superbuild so VTK uses the OpenGL2 > backend. > > Currently I'm testing stuff using this toy example (based on a VTK example) > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include // For export macro > #include > #include > #include > #include > #include > > #include > > class myMapper : public vtkOpenGLPolyDataMapper > { > public: > static myMapper *New(); > vtkTypeMacro(myMapper, vtkOpenGLPolyDataMapper); > > virtual void RenderPiece(vtkRenderer *aren, vtkActor *act); > virtual int Draw(vtkRenderer *aren, vtkActor *act); > > protected: > > private: > > }; > > vtkStandardNewMacro(myMapper); > > void > myMapper::RenderPiece(vtkRenderer* a_ren, vtkActor* a_act) > { > std::cout << "RenderPiece" << std::endl; > glDisable( GL_LIGHTING); > glBegin(GL_LINES); > glVertex3f(0, 1, 0); > glVertex3f(1, 1., 0.); > glEnd(); > } > > int > myMapper::Draw(vtkRenderer* a_ren, vtkActor* a_act) > { > std::cout << "Draw" << std::endl; > > glDisable( GL_LIGHTING); > glBegin(GL_LINES); > glVertex3f(0, 1, 0); > glVertex3f(1, 1., 0.); > glEnd();} > > > int main(int, char *[]) > { > std::cout << "Main" << std::endl; > // Create three points. Join (Origin and P0) with a red line and > // (Origin and P1) with a green line > double origin[3] = {0.0, 0.0, 0.0}; > double p0[3] = {1.0, 0.0, 0.0}; > double p1[3] = {0.0, 1.0, 0.0}; > > // Create a vtkPoints object and store the points in it > vtkSmartPointer pts = > vtkSmartPointer::New(); > pts->InsertNextPoint(origin); > pts->InsertNextPoint(p0); > pts->InsertNextPoint(p1); > > // Setup two colors - one for each line > unsigned char red[3] = {255, 0, 0}; > unsigned char green[3] = {0, 255, 0}; > > // Setup the colors array > vtkSmartPointer colors = > vtkSmartPointer::New(); > colors->SetNumberOfComponents(3); > colors->SetName("Colors"); > > // Add the colors we created to the colors array > colors->InsertNextTupleValue(red); > colors->InsertNextTupleValue(green); > > // Create the first line (between Origin and P0) > vtkSmartPointer line0 = > vtkSmartPointer::New(); > line0->GetPointIds()->SetId(0,0); //the second 0 is the index of the > Origin in the vtkPoints > line0->GetPointIds()->SetId(1,1); //the second 1 is the index of P0 in > the vtkPoints > > // Create the second line (between Origin and P1) > vtkSmartPointer line1 = > vtkSmartPointer::New(); > line1->GetPointIds()->SetId(0,0); //the second 0 is the index of the > Origin in the vtkPoints > line1->GetPointIds()->SetId(1,2); //2 is the index of P1 in the vtkPoints > > // Create a cell array to store the lines in and add the lines to it > vtkSmartPointer lines = > vtkSmartPointer::New(); > lines->InsertNextCell(line0); > lines->InsertNextCell(line1); > > // Create a polydata to store everything in > vtkSmartPointer linesPolyData = > vtkSmartPointer::New(); > > // Add the points to the dataset > linesPolyData->SetPoints(pts); > > // Add the lines to the dataset > linesPolyData->SetLines(lines); > > // Color the lines - associate the first component (red) of the > // colors array with the first component of the cell array (line 0) > // and the second component (green) of the colors array with the > // second component of the cell array (line 1) > linesPolyData->GetCellData()->SetScalars(colors); > > // Visualize > vtkSmartPointer mapper = > vtkSmartPointer::New(); > #if VTK_MAJOR_VERSION <= 5 > mapper->SetInput(linesPolyData); > #else > mapper->SetInputData(linesPolyData); > #endif > > vtkSmartPointer actor = > vtkSmartPointer::New(); > actor->SetMapper(mapper); > > vtkSmartPointer mapperGL = > vtkSmartPointer::New(); > > > vtkSmartPointer actorGL = > vtkSmartPointer::New(); > actorGL->SetMapper(mapperGL); > > vtkSmartPointer renderer = > vtkSmartPointer::New(); > vtkSmartPointer renderWindow = > vtkSmartPointer::New(); > renderWindow->AddRenderer(renderer); > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > renderWindowInteractor->SetRenderWindow(renderWindow); > renderer->AddActor(actor); > renderer->AddActor(actorGL); > > renderWindow->Render(); > renderWindowInteractor->Start(); > > return EXIT_SUCCESS; > } > > > > when I run the above code, I see the vtk lines but the OpenGL lines are > missing and no output is printed in the console signaling that the code is > being called. > > > thanks for your time > > > > > On Wed, Apr 1, 2015 at 3:23 PM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> It's much harder In OpenGL backend because of the architecture. If you >> can provide more detail on exactly what you did, we could probably help. I >> would suggest switching to OpenGL2 backend. >> >> - Aashish >> >> On Wed, Apr 1, 2015 at 4:33 AM, Sergio Vera >> wrote: >> >>> >>> I'm using the OpenGL backend since I'm using vtk5.10 (CTK compatibility) >>> >>> On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> >>>> Are using OpenGL2 or OpenGL backend? >>>> >>>> On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera >>>> wrote: >>>> >>>>> Thanks, >>>>> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >>>>> ordinary actor and added the actor to the renderer. >>>>> It seems that neigher Draw() nor RenderPiece() methods of the mapper >>>>> are being called and my simple gl code snipped is not being rendered. >>>>> >>>>> Any additional hints? >>>>> >>>>> Thanks in advance >>>>> >>>>> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >>>>> aashish.chaudhary at kitware.com> wrote: >>>>> >>>>>> there is no easy way. You will have to write your own >>>>>> mapper. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> Hello vtk Users >>>>>>> >>>>>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>>>>> examples of the opposite, insert vtk into opengl. >>>>>>> >>>>>>> There is the suggestion somewhere on the list of using the render >>>>>>> methods of vtkMapper or vtkprops but no definite example >>>>>>> >>>>>>> Where is the best way to do it? >>>>>>> >>>>>>> thanks in advance >>>>>>> -- >>>>>>> Sergio Vera >>>>>>> >>>>>>> Alma IT Systems >>>>>>> C/ Vilana, 4B, 4? 1? >>>>>>> 08022 Barcelona >>>>>>> T. (+34) 932 380 592 >>>>>>> www.alma3d.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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>>> * >>>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>>> * >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sergio Vera >>>>> >>>>> Alma IT Systems >>>>> C/ Vilana, 4B, 4? 1? >>>>> 08022 Barcelona >>>>> T. (+34) 932 380 592 >>>>> www.alma3d.com >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>> * >>>> *| http://www.kitware.com/company/team/chaudhary.html >>>> * >>>> >>> >>> >>> >>> -- >>> Sergio Vera >>> >>> Alma IT Systems >>> C/ Vilana, 4B, 4? 1? >>> 08022 Barcelona >>> T. (+34) 932 380 592 >>> www.alma3d.com >>> >> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > > > -- > Sergio Vera > > Alma IT Systems > C/ Vilana, 4B, 4? 1? > 08022 Barcelona > T. (+34) 932 380 592 > www.alma3d.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 david.gobbi at gmail.com Thu Apr 2 14:50:10 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 2 Apr 2015 12:50:10 -0600 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> Message-ID: Hi Philippe, Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) with Visual Studio 2013 Express on Win7-64 running on VirtualBox. I didn't run into any errors like the one you describe above. I suspect that all the errors are related to this: CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 (CONFIGURE_FILE): configure_file called with unknown argument(s): COPY_ONLY You're using a version of CMake 3.x that expects cmake files to use COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, and I bet the problem will disappear. Does anyone else know why CMake 3 would be giving this error? It seems like a nasty bit of backwards-incompatibility. - David On Thu, Apr 2, 2015 at 9:56 AM, Philippe Bouttefroy wrote: > Trying to ping again. Is there anyone who has encountered this issue as > well? Also, I did not specify that this is an issue I face only when > building for VS2013. I have a VM with Ubuntu on the same machine and build > with GCC, with no problem at all. > > -----Original Message----- > From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Philippe > Bouttefroy > Sent: Monday, March 30, 2015 12:08 PM > To: vtkusers at vtk.org > Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox > > Hi everyone, > > I have an issue building VTK-6.1 with Visual Studio 2013 on my VirtualBox > (Win7 64 bits). I have had no issues with building VTK-6.1 with VS2013 on a > non-virtualized machine. > > It looks to me that the CMake configuration provides an invalid state for > the .sln. CMake configures and generates a solution without any problem > (see > below). However, VS2013 will complain about not finding iostream.h (for > example), which does not exist since the VC folder contains the new ANSI > format (iostream). > > Digging a little, I find that #vtksys_IOS_USE_ANSI is set to 0 in the > Configure.hxx file. On a non-virtualized machine it is set to 1 (which is > the value that I expected). > > Below are: (i) the cmake output; (ii) the first few compilation errors from > VS 2013 (formatted). > > Any help or pointers to a solution would be greatly appreciated. > > Thanks, > Philippe > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Thu Apr 2 15:37:40 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Thu, 2 Apr 2015 12:37:40 -0700 Subject: [vtkusers] ANN: New RenderMan support Message-ID: Folks, The vtkRIBExporter has been updated to work with the recently released, free for non-commercial use RenderMan. https://renderman.pixar.com/view/renderman There is an example here: http://www.vtk.org/Wiki/VTK/Examples/Cxx/RenderMan/PolyDataRIB and sample results here: http://www.vtk.org/Wiki/images/1/14/VTK_Examples_RenderMan1.png http://www.vtk.org/Wiki/images/3/3c/VTK_Examples_RenderMan2.png To try it out, you will need to pull the latest head from the vtk repo. Enjoy, Bill FYI: All of the color plates in the original VTK books were rendered with BMRT, a free RenderMan clone that is no longer available. From vtk.user.12 at gmail.com Thu Apr 2 16:02:42 2015 From: vtk.user.12 at gmail.com (Tom MacAdam) Date: Thu, 2 Apr 2015 17:02:42 -0300 Subject: [vtkusers] Activiz.NET 6.2.0? Message-ID: Listening just now to the recent webinar on VTK 6.2.0 release, it sounded like Activiz for VTK 6.2.0 is now done... is this available through the git link? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Apr 2 16:49:07 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 2 Apr 2015 16:49:07 -0400 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> Message-ID: <20150402204907.GA13407@megas.kitware.com> On Thu, Apr 02, 2015 at 12:50:10 -0600, David Gobbi wrote: > Hi Philippe, > > Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) with > Visual Studio 2013 Express on Win7-64 running on VirtualBox. I didn't > run into any errors like the one you describe above. > > > I suspect that all the errors are related to this: > > CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 > (CONFIGURE_FILE): > configure_file called with unknown argument(s): COPY_ONLY > > You're using a version of CMake 3.x that expects cmake files to use > COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, > and I bet the problem will disappear. This isn't an error but a warning. CMake 3 is informing that COPY_ONLY is no longer supported. > Does anyone else know why CMake 3 would be giving this error? It > seems like a nasty bit of backwards-incompatibility. The real problems are probably pointed out by CMP0054. Places which check: set(compiler "MSVC") if (compiler STREQUAL "MSVC") turn into: if (MSVC STREQUAL 1) and are therefore *false* because MSVC is defined as "1" with it and not defined otherwise and "if" automatically dereferences. The new behavior is that quoted strings are not considered for automatic expansion thereby pointing out probable errors in the previous code. My guess is that MSVC detection needed is being skipped somewhere because of the bugs pointed out (*not* caused) by CMP0054. --Ben From pbouttefroy at nvidia.com Thu Apr 2 16:54:26 2015 From: pbouttefroy at nvidia.com (Philippe Bouttefroy) Date: Thu, 2 Apr 2015 20:54:26 +0000 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: <20150402204907.GA13407@megas.kitware.com> References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> <20150402204907.GA13407@megas.kitware.com> Message-ID: Hi David, hi Ben, Thanks for looking into the issue! Unfortunately, CMake 2.8.12 did not resolve my issue. I can send the CMake output, if you would like. However, what I observed is that the first errors that I get with VS2013 is that it is looking for instead of (in /build/Utilities/KWSys/ios/iostream) because vtksys_IOS_USE_ANSI is not set. Furthermore, CMake outputs: ?Checking whether ANSI stream headers are available ? no?. I would have expected ?yes? instead. I tried to dig into how the value was determined but could not figure it out. Do you have any clue on whether this is the root cause of my issue? Any idea on how to debug this? Again, thanks for your time! Best, Philippe -----Original Message----- From: Ben Boeckel [mailto:ben.boeckel at kitware.com] Sent: Thursday, April 02, 2015 1:49 PM To: David Gobbi Cc: Philippe Bouttefroy; vtkusers at vtk.org Subject: Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox On Thu, Apr 02, 2015 at 12:50:10 -0600, David Gobbi wrote: > Hi Philippe, > > Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) > with Visual Studio 2013 Express on Win7-64 running on VirtualBox. I > didn't run into any errors like the one you describe above. > > > I suspect that all the errors are related to this: > > CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 > (CONFIGURE_FILE): > configure_file called with unknown argument(s): COPY_ONLY > > You're using a version of CMake 3.x that expects cmake files to use > COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, and I bet > the problem will disappear. This isn't an error but a warning. CMake 3 is informing that COPY_ONLY is no longer supported. > Does anyone else know why CMake 3 would be giving this error? It > seems like a nasty bit of backwards-incompatibility. The real problems are probably pointed out by CMP0054. Places which check: set(compiler "MSVC") if (compiler STREQUAL "MSVC") turn into: if (MSVC STREQUAL 1) and are therefore *false* because MSVC is defined as "1" with it and not defined otherwise and "if" automatically dereferences. The new behavior is that quoted strings are not considered for automatic expansion thereby pointing out probable errors in the previous code. My guess is that MSVC detection needed is being skipped somewhere because of the bugs pointed out (*not* caused) by CMP0054. --Ben ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- From david.gobbi at gmail.com Thu Apr 2 17:35:07 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 2 Apr 2015 15:35:07 -0600 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> <20150402204907.GA13407@megas.kitware.com> Message-ID: This might be a silly question, but has this VS2013 installation built anything other than VTK? Check the file CMakeFiles/CMakeError.log, it might provide some clues (e.g. maybe a TryCompile failed when it shouldn't have.) - David On Thu, Apr 2, 2015 at 2:54 PM, Philippe Bouttefroy wrote: > Hi David, hi Ben, > > Thanks for looking into the issue! Unfortunately, CMake 2.8.12 did not > resolve my issue. I can send the CMake output, if you would like. > > However, what I observed is that the first errors that I get with VS2013 > is that it is looking for instead of (in > /build/Utilities/KWSys/ios/iostream) because vtksys_IOS_USE_ANSI is not > set. Furthermore, CMake outputs: > "Checking whether ANSI stream headers are available - no". I would have > expected "yes" instead. I tried to dig into how the value was determined > but could not figure it out. > > Do you have any clue on whether this is the root cause of my issue? Any > idea on how to debug this? > > Again, thanks for your time! > > Best, > Philippe > > -----Original Message----- > From: Ben Boeckel [mailto:ben.boeckel at kitware.com] > Sent: Thursday, April 02, 2015 1:49 PM > To: David Gobbi > Cc: Philippe Bouttefroy; vtkusers at vtk.org > Subject: Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox > > On Thu, Apr 02, 2015 at 12:50:10 -0600, David Gobbi wrote: > > Hi Philippe, > > > > Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) > > with Visual Studio 2013 Express on Win7-64 running on VirtualBox. I > > didn't run into any errors like the one you describe above. > > > > > > I suspect that all the errors are related to this: > > > > CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 > > (CONFIGURE_FILE): > > configure_file called with unknown argument(s): COPY_ONLY > > > > You're using a version of CMake 3.x that expects cmake files to use > > COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, and I bet > > the problem will disappear. > > This isn't an error but a warning. CMake 3 is informing that COPY_ONLY is > no longer supported. > > > Does anyone else know why CMake 3 would be giving this error? It > > seems like a nasty bit of backwards-incompatibility. > > The real problems are probably pointed out by CMP0054. Places which > check: > > set(compiler "MSVC") > if (compiler STREQUAL "MSVC") > > turn into: > > if (MSVC STREQUAL 1) > > and are therefore *false* because MSVC is defined as "1" with it and not > defined otherwise and "if" automatically dereferences. The new behavior is > that quoted strings are not considered for automatic expansion thereby > pointing out probable errors in the previous code. My guess is that MSVC > detection needed is being skipped somewhere because of the bugs pointed out > (*not* caused) by CMP0054. > > --Ben > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pbouttefroy at nvidia.com Thu Apr 2 18:52:11 2015 From: pbouttefroy at nvidia.com (Philippe Bouttefroy) Date: Thu, 2 Apr 2015 22:52:11 +0000 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> <20150402204907.GA13407@megas.kitware.com> Message-ID: <536213eab9c140aa96bd8ff88d7708e0@HQMAIL106.nvidia.com> Hi David, Thank you so much! This put me on the right track. I have built other libraries successfully. So, here we go - don't laugh ;) because I've spend about 2 days trying to figure out what's going on (and I could have spent more time without your help): C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(308,5): error MSB3491: Could not write lines to file "cmTryCompileExec1051036387.dir\Debug\cmTryCom.F2889911.tlog\cmTryCompileExec1051036387.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. This had nothing to do with my VM at all. I was thinking: is there a way to detect this kind of issues in CMake? But I assume that CMake only gets the result of compilation, and does not care too much about the cause. In any case, thank you so much! Best, Philippe From: David Gobbi [mailto:david.gobbi at gmail.com] Sent: Thursday, April 02, 2015 2:35 PM To: Philippe Bouttefroy Cc: vtkusers at vtk.org Subject: Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox This might be a silly question, but has this VS2013 installation built anything other than VTK? Check the file CMakeFiles/CMakeError.log, it might provide some clues (e.g. maybe a TryCompile failed when it shouldn't have.) - David On Thu, Apr 2, 2015 at 2:54 PM, Philippe Bouttefroy > wrote: Hi David, hi Ben, Thanks for looking into the issue! Unfortunately, CMake 2.8.12 did not resolve my issue. I can send the CMake output, if you would like. However, what I observed is that the first errors that I get with VS2013 is that it is looking for instead of (in /build/Utilities/KWSys/ios/iostream) because vtksys_IOS_USE_ANSI is not set. Furthermore, CMake outputs: "Checking whether ANSI stream headers are available - no". I would have expected "yes" instead. I tried to dig into how the value was determined but could not figure it out. Do you have any clue on whether this is the root cause of my issue? Any idea on how to debug this? Again, thanks for your time! Best, Philippe -----Original Message----- From: Ben Boeckel [mailto:ben.boeckel at kitware.com] Sent: Thursday, April 02, 2015 1:49 PM To: David Gobbi Cc: Philippe Bouttefroy; vtkusers at vtk.org Subject: Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox On Thu, Apr 02, 2015 at 12:50:10 -0600, David Gobbi wrote: > Hi Philippe, > > Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) > with Visual Studio 2013 Express on Win7-64 running on VirtualBox. I > didn't run into any errors like the one you describe above. > > > I suspect that all the errors are related to this: > > CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 > (CONFIGURE_FILE): > configure_file called with unknown argument(s): COPY_ONLY > > You're using a version of CMake 3.x that expects cmake files to use > COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, and I bet > the problem will disappear. This isn't an error but a warning. CMake 3 is informing that COPY_ONLY is no longer supported. > Does anyone else know why CMake 3 would be giving this error? It > seems like a nasty bit of backwards-incompatibility. The real problems are probably pointed out by CMP0054. Places which check: set(compiler "MSVC") if (compiler STREQUAL "MSVC") turn into: if (MSVC STREQUAL 1) and are therefore *false* because MSVC is defined as "1" with it and not defined otherwise and "if" automatically dereferences. The new behavior is that quoted strings are not considered for automatic expansion thereby pointing out probable errors in the previous code. My guess is that MSVC detection needed is being skipped somewhere because of the bugs pointed out (*not* caused) by CMP0054. --Ben ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Apr 2 19:16:54 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 2 Apr 2015 17:16:54 -0600 Subject: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox In-Reply-To: <0ae53501b22d4acc828d86d5cc61f296@HQMAIL106.nvidia.com> References: <1427742481277-5731233.post@n5.nabble.com> <697b798f747f41518646e6ffd3256fd3@HQMAIL106.nvidia.com> <20150402204907.GA13407@megas.kitware.com> <0ae53501b22d4acc828d86d5cc61f296@HQMAIL106.nvidia.com> Message-ID: Hi Philippe, I suppose my advantage is that I've used cmake enough that I trust it, so when I get a massive build failure, I suspect the compiler ;) For example, I've run into situations very similar to yours on linux because I forgot to install some devel package. No, cmake doesn't check anything except whether the TryCompile failed or succeeded (unfortunately). I can see that if it fails for silly reasons like path length, it would be nice if it said so! As an aside, I've switched to using ninja for all my MSVC builds, because it really cuts down on the build time. Especially for my Win7 machine, which is just an old VM on a really, really old linux box. - David On Thu, Apr 2, 2015 at 4:50 PM, Philippe Bouttefroy wrote: > Hi David, > > > > Thank you so much! This put me on the right track. So, here we go - don't > laugh ;) because I've spend about 2 days trying to figure out what's going > on (and I could have spent more time without your help): > > > > C:\Program Files > (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(308,5): > error MSB3491: Could not write lines to file > "cmTryCompileExec1051036387.dir\Debug\cmTryCom.F2889911.tlog\cmTryCompileExec1051036387.lastbuildstate". > The specified path, file name, or both are too long. The fully qualified > file name must be less than 260 characters, and the directory name must be > less than 248 characters. > > > > This had nothing to do with my VM at all. I was thinking: is there a way > to detect this kind of issues in CMake? But I assume that CMake only gets > the result of compilation, and does not care too much about the cause. > > > > In any case, thank you so much! > > > > Best, > > Philippe > > > > *From:* David Gobbi [mailto:david.gobbi at gmail.com] > *Sent:* Thursday, April 02, 2015 2:35 PM > *To:* Philippe Bouttefroy > *Cc:* vtkusers at vtk.org > > *Subject:* Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox > > > > This might be a silly question, but has this VS2013 installation built > anything > > other than VTK? Check the file CMakeFiles/CMakeError.log, it might provide > > some clues (e.g. maybe a TryCompile failed when it shouldn't have.) > > > > - David > > > > On Thu, Apr 2, 2015 at 2:54 PM, Philippe Bouttefroy < > pbouttefroy at nvidia.com> wrote: > > Hi David, hi Ben, > > Thanks for looking into the issue! Unfortunately, CMake 2.8.12 did not > resolve my issue. I can send the CMake output, if you would like. > > However, what I observed is that the first errors that I get with VS2013 > is that it is looking for instead of (in > /build/Utilities/KWSys/ios/iostream) because vtksys_IOS_USE_ANSI is not > set. Furthermore, CMake outputs: > "Checking whether ANSI stream headers are available - no". I would have > expected "yes" instead. I tried to dig into how the value was determined > but could not figure it out. > > Do you have any clue on whether this is the root cause of my issue? Any > idea on how to debug this? > > Again, thanks for your time! > > Best, > Philippe > > > -----Original Message----- > From: Ben Boeckel [mailto:ben.boeckel at kitware.com] > Sent: Thursday, April 02, 2015 1:49 PM > To: David Gobbi > Cc: Philippe Bouttefroy; vtkusers at vtk.org > Subject: Re: [vtkusers] VTK-6.1 and Visual Studio 2013 on VirtualBox > > On Thu, Apr 02, 2015 at 12:50:10 -0600, David Gobbi wrote: > > Hi Philippe, > > > > Around a year ago, I did a 64-bit build of VTK 6.1 (or thereabouts) > > with Visual Studio 2013 Express on Win7-64 running on VirtualBox. I > > didn't run into any errors like the one you describe above. > > > > > > I suspect that all the errors are related to this: > > > > CMake Warning (dev) at Utilities/KWSys/vtksys/CMakeLists.txt:264 > > (CONFIGURE_FILE): > > configure_file called with unknown argument(s): COPY_ONLY > > > > You're using a version of CMake 3.x that expects cmake files to use > > COPYONLY instead of the older COPY_ONLY. Try cmake 2.8.12, and I bet > > the problem will disappear. > > This isn't an error but a warning. CMake 3 is informing that COPY_ONLY is > no longer supported. > > > Does anyone else know why CMake 3 would be giving this error? It > > seems like a nasty bit of backwards-incompatibility. > > The real problems are probably pointed out by CMP0054. Places which > check: > > set(compiler "MSVC") > if (compiler STREQUAL "MSVC") > > turn into: > > if (MSVC STREQUAL 1) > > and are therefore *false* because MSVC is defined as "1" with it and not > defined otherwise and "if" automatically dereferences. The new behavior is > that quoted strings are not considered for automatic expansion thereby > pointing out probable errors in the previous code. My guess is that MSVC > detection needed is being skipped somewhere because of the bugs pointed out > (*not* caused) by CMP0054. > > --Ben > > ------------------------------ > This email message is for the sole use of the intended recipient(s) and > may contain confidential information. Any unauthorized review, use, > disclosure or distribution is prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all copies > of the original message. > ------------------------------ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.j.brown at live.co.uk Fri Apr 3 05:36:10 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Fri, 3 Apr 2015 02:36:10 -0700 (MST) Subject: [vtkusers] Problems with massProperties at getting area from ContourWidget In-Reply-To: References: Message-ID: <1428053770774-5731332.post@n5.nabble.com> David, Sorry for dragging up an old thread, but from your example code, I'm still not sure how to convert the lines created by vtkIntersectionPolyDataFilter to closed polygons. Any pointers? Regards -- View this message in context: http://vtk.1045678.n5.nabble.com/Problems-with-massProperties-at-getting-area-from-ContourWidget-tp5717390p5731332.html Sent from the VTK - Users mailing list archive at Nabble.com. From richard.j.brown at live.co.uk Fri Apr 3 11:22:01 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Fri, 3 Apr 2015 08:22:01 -0700 (MST) Subject: [vtkusers] Problems with massProperties at getting area from ContourWidget In-Reply-To: <1428053770774-5731332.post@n5.nabble.com> References: <1428053770774-5731332.post@n5.nabble.com> Message-ID: <1428074521070-5731334.post@n5.nabble.com> Specifically, I used vtkIntersectionPolyDataFilter to get the intersection between a cylinder and cuboid. I successfully generate numbers from GetVolume(), so clearly I have created triangles with my intersection data. However, when I move the two objects, such that the intersection changes, the volume jumps all over the place. When I render it the cylinder, cuboid and intersection, everything looks normal. Below, I have put a small working example (without rendering), then the results they yield. Thanks for any help. Richard #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { // create cylinder and rotate it by 90 degrees (just so that it automatically faces camera when rendered) vtkSmartPointer cylinder = vtkSmartPointer::New(); cylinder->SetCenter(-10,0,0); cylinder->SetHeight(1); cylinder->SetRadius(5); cylinder->SetResolution(50); cylinder->Update(); // create cuboid vtkSmartPointer cuboid = vtkSmartPointer::New(); cuboid->SetCenter(0,0,0); cuboid->SetXLength(10); cuboid->SetYLength(1); cuboid->SetZLength(10); cuboid->Update(); // triangulate cylinder and cuboid vtkSmartPointer triangulatedCylinder = vtkSmartPointer::New(); triangulatedCylinder->SetInputConnection(cylinder->GetOutputPort()); vtkSmartPointer triangulatedSquare = vtkSmartPointer::New(); triangulatedSquare->SetInputConnection(cuboid->GetOutputPort()); // move cylinder from left of cuboid, pass through it, then out the other side again. // logically, volume will increase, reach maximum then decrease until zero again for (int i=-10; i<=10; i++) { // move cylinder cylinder->SetCenter(i, 0, 0); // get intersection vtkSmartPointer intersect = vtkSmartPointer::New(); intersect->SetInputConnection( 0, triangulatedCylinder->GetOutputPort() ); intersect->SetInputConnection( 1, triangulatedSquare->GetOutputPort() ); intersect->Update(); // heres where I trip up - converting lines from vtkIntersectinoPolyDataFilter to polygons for GetVolume() function vtkSmartPointer polyData = vtkSmartPointer::New(); vtkSmartPointer points = vtkSmartPointer::New(); vtkSmartPointer cellArray = vtkSmartPointer::New(); vtkSmartPointer polygon = vtkSmartPointer::New(); polygon->GetPointIds()->SetNumberOfIds(intersect->GetOutput()->GetNumberOfPoints()); for (vtkIdType i=0; iGetOutput()->GetNumberOfPoints(); i++) { polygon->GetPointIds()->SetId(i,i); points->InsertNextPoint(intersect->GetOutput()->GetPoint(i)); } cellArray->InsertNextCell(polygon); polyData->SetPoints(points); polyData->SetPolys(cellArray); vtkSmartPointer triangles = vtkSmartPointer::New(); triangles->SetInputData(polyData); triangles->Update(); vtkSmartPointer mass = vtkSmartPointer::New(); mass->SetInputConnection(triangles->GetOutputPort()); mass->Update(); cout << mass->GetVolume() << endl; } } x volume -10 0 -9 4.05796 -8 4.26821 -7 2.90052 -6 2.02402 -5 2.31203 -4 5.97756 -3 0.0123537 -2 0.448455 -1 2.58317 0 1.40225 1 1.43162 2 1.50087 3 0.502383 4 0.0582565 5 0.729436 6 0.658901 7 0.414777 8 3.20074 9 1.39525 10 0 -- View this message in context: http://vtk.1045678.n5.nabble.com/Problems-with-massProperties-at-getting-area-from-ContourWidget-tp5717390p5731334.html Sent from the VTK - Users mailing list archive at Nabble.com. From corrieallen at gmail.com Fri Apr 3 12:02:55 2015 From: corrieallen at gmail.com (Corrie Allen) Date: Fri, 3 Apr 2015 09:02:55 -0700 Subject: [vtkusers] Mac MarchingCubes App Message-ID: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. From bill.lorensen at gmail.com Fri Apr 3 14:48:13 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Fri, 3 Apr 2015 11:48:13 -0700 Subject: [vtkusers] Mac MarchingCubes App In-Reply-To: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> References: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> Message-ID: Which example? On Fri, Apr 3, 2015 at 9:02 AM, Corrie Allen wrote: > I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. > _______________________________________________ > 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 corrieallen at gmail.com Fri Apr 3 19:17:09 2015 From: corrieallen at gmail.com (Corrie Allen) Date: Fri, 3 Apr 2015 16:17:09 -0700 Subject: [vtkusers] Mac MarchingCubes App In-Reply-To: References: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> Message-ID: <7ACBD5A0-E0FF-4FC9-A3FE-F7201F324C9C@gmail.com> I tried the example at: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/MarchingCubes On Apr 3, 2015, at 11:48 AM, Bill Lorensen wrote: Which example? On Fri, Apr 3, 2015 at 9:02 AM, Corrie Allen wrote: > I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. > _______________________________________________ > 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 bill.lorensen at gmail.com Sat Apr 4 02:08:29 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Fri, 3 Apr 2015 23:08:29 -0700 Subject: [vtkusers] Mac MarchingCubes App In-Reply-To: <7ACBD5A0-E0FF-4FC9-A3FE-F7201F324C9C@gmail.com> References: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> <7ACBD5A0-E0FF-4FC9-A3FE-F7201F324C9C@gmail.com> Message-ID: There is an error in the example. Replace if (argc < 3) with if (argc < 2) On Fri, Apr 3, 2015 at 4:17 PM, Corrie Allen wrote: > I tried the example at: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/MarchingCubes > > On Apr 3, 2015, at 11:48 AM, Bill Lorensen wrote: > > Which example? > > > On Fri, Apr 3, 2015 at 9:02 AM, Corrie Allen wrote: >> I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. >> _______________________________________________ >> 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 Sat Apr 4 02:12:34 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Fri, 3 Apr 2015 23:12:34 -0700 Subject: [vtkusers] Mac MarchingCubes App In-Reply-To: References: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> <7ACBD5A0-E0FF-4FC9-A3FE-F7201F324C9C@gmail.com> Message-ID: Oops. The example is OK. It takes two arguments, a filename and an isovalue. On Fri, Apr 3, 2015 at 11:08 PM, Bill Lorensen wrote: > There is an error in the example. > > Replace > if (argc < 3) > with > if (argc < 2) > > > On Fri, Apr 3, 2015 at 4:17 PM, Corrie Allen wrote: >> I tried the example at: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/MarchingCubes >> >> On Apr 3, 2015, at 11:48 AM, Bill Lorensen wrote: >> >> Which example? >> >> >> On Fri, Apr 3, 2015 at 9:02 AM, Corrie Allen wrote: >>> I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. >>> _______________________________________________ >>> 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 corrieallen at gmail.com Sat Apr 4 03:34:48 2015 From: corrieallen at gmail.com (Corrie Allen) Date: Sat, 4 Apr 2015 00:34:48 -0700 Subject: [vtkusers] Mac MarchingCubes App In-Reply-To: References: <82CEA072-F471-47F3-88A7-0A278CF45F5E@gmail.com> <7ACBD5A0-E0FF-4FC9-A3FE-F7201F324C9C@gmail.com> Message-ID: <0659C5FF-33C0-45BE-984A-D9BA81A4A296@gmail.com> Ok, got it figured out. I had to burrow down into the MarchingCubes app package to call the Unix executable MarchingCubes file at the bottom in the MacOS folder. Then it worked with the arguments. Thanks. On Apr 3, 2015, at 11:12 PM, Bill Lorensen wrote: Oops. The example is OK. It takes two arguments, a filename and an isovalue. On Fri, Apr 3, 2015 at 11:08 PM, Bill Lorensen wrote: > There is an error in the example. > > Replace > if (argc < 3) > with > if (argc < 2) > > > On Fri, Apr 3, 2015 at 4:17 PM, Corrie Allen wrote: >> I tried the example at: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/MarchingCubes >> >> On Apr 3, 2015, at 11:48 AM, Bill Lorensen wrote: >> >> Which example? >> >> >> On Fri, Apr 3, 2015 at 9:02 AM, Corrie Allen wrote: >>> I?m just trying to build and run VTK?s example of MarchingCubes. When I make the example, I get a MarchingCubes app that doesn?t seem to accept command lines as the program suggests it should. What am I doing wrong? I?m working on a Mac running OS X10.9.5 so the compiler is the one that comes with Xcode. >>> _______________________________________________ >>> 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 fdefreitas6 at gmail.com Sat Apr 4 17:46:53 2015 From: fdefreitas6 at gmail.com (Fernando De Freitas) Date: Sat, 4 Apr 2015 17:16:53 -0430 Subject: [vtkusers] IterativeClosestPoints SIGSEV Message-ID: Hi, we are trying to run the IterativeClosestPoints Algorythm using Android NDK. And we are having trouble with a SIGSEV when we execute icp->Update(); We are using the following parameters: iteration = 15, landmarks = 40, maxMeanDistance = 0.001 And I'm attaching the source and target as *.vtp* files The error is the following, as shown by android's logcat: 04-04 17:04:52.477: A/libc(15134): Fatal signal 11 (SIGSEGV) at 0xfffffffc > (code=1), thread 15613 (AsyncTask #1) Following is the gist of our native class https://gist.github.com/fdefreitas/ee8f6f93272927111356 We are working based on the following example http://www.paraview.org/Wiki/VTK/Examples/Cxx/Filtering/IterativeClosestPointsTransform Any thoughts or help woul be appreciated. Thanks in advance. -- Fernando De Freitas +584142802235 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MADN3SController_source_ascii.vtp Type: application/octet-stream Size: 2864 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MADN3SController_target_ascii.vtp Type: application/octet-stream Size: 2958 bytes Desc: not available URL: From alextsui05 at gmail.com Sat Apr 4 22:59:11 2015 From: alextsui05 at gmail.com (Alex Tsui) Date: Sat, 4 Apr 2015 19:59:11 -0700 Subject: [vtkusers] Embed VTK in PyQt5 example? Message-ID: Hi, There is an example on the wiki to embed VTK in PyQt4: http://www.paraview.org/Wiki/VTK/Examples/Python/Widgets/EmbedPyQt2 However, I would like to use PyQt5. Is anyone aware if there is a corresponding example, or if this is even currently possible? Thanks, --Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roland.Richter2 at gmx.de Sun Apr 5 11:21:56 2015 From: Roland.Richter2 at gmx.de (Roland Richter) Date: Sun, 05 Apr 2015 17:21:56 +0200 Subject: [vtkusers] Fwd: Makefile generation errors after installing the latest VTK In-Reply-To: <552150E8.5030207@gmx.de> References: <552150E8.5030207@gmx.de> Message-ID: <55215314.40504@gmx.de> Hi, I worked with VTK-6.2, but I wanted to use the QT-5-support, and therefore I reinstalled everything (now I am on 6.3). Now I have the problem that I can not compile the examples anymore. When I try to compile f.e. the Cylinder-example, I get the following error after running "cmake .." : CMake Error at /usr/local/lib/cmake/vtk-6.3/VTKTargets-release debug.cmake:10 (set_target_properties): set_target_properties called with incorrect number of arguments. Call Stack (most recent call first): /usr/local/lib/cmake/vtk-6.3/VTKTargets. cmake:813 (include) /usr/local/lib/cmake/vtk-6.3/VTKConfig. cmake:60 (include) /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package) CMakeLists.txt:6 (find_package) CMake Error at /usr/local/lib/cmake/vtk-6.3/VTKTargets-release debug. cmake:51 (set_target_properties): set_target_properties called with incorrect number of arguments. Call Stack (most recent call first): /usr/local/lib/cmake/vtk-6.3/VTKTargets. cmake:813 (include) /usr/local/lib/cmake/vtk-6.3/VTKConfig. cmake:60 (include) /usr/share/cmake-2.8/Modules/FindVTK. cmake:73 (find_package) CMakeLists.txt:6 (find_package) CMake Error at /usr/local/lib/cmake/vtk-6.3/VTKTargets-release debug. cmake:72 (set_target_properties): set_target_properties called with incorrect number of arguments. Call Stack (most recent call first): /usr/local/lib/cmake/vtk-6.3/VTKTargets. cmake:813 (include) /usr/local/lib/cmake/vtk-6.3/VTKConfig. cmake:60 (include) /usr/share/cmake-2.8/Modules/FindVTK. cmake:73 (find_package) CMakeLists.txt:6 (find_package) And so on (for every set_target_properties). How can I fix that? Did I miss something? Thank you! Regards, Roland Richter From ben.boeckel at kitware.com Mon Apr 6 12:42:59 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 6 Apr 2015 12:42:59 -0400 Subject: [vtkusers] IterativeClosestPointsTransform Example error In-Reply-To: References: Message-ID: <20150406164259.GA26403@megas.kitware.com> On Thu, Apr 02, 2015 at 16:57:46 +0100, Jo?o wrote: > I can run the example fine if I don't print anything to the console, > but printing the matrix gives me a "First-chance exception at > 0x000000005F435B7C (msvcp100.dll) in Example.exe: 0xC0000005: Access > violation reading location 0x0000000000000000." > I'm using Visual Studio 2013, 64 bit project. Anyone have any idea > what's going on? > Link to the example: > http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/IterativeClosestPointsTransform Looks like it is reading from NULL. I assume the line you're referring to for "print anything" is: std::cout << "The resulting matrix is: "... What is printed if you change it to (void*)m instead of *m? Does it print a pointer value or "(null)" (or similar[1])? --Ben [1]I forget exactly what msvcrt prints for null pointers here. From danieldaf2000 at gmail.com Mon Apr 6 15:05:54 2015 From: danieldaf2000 at gmail.com (Daniel Alejandro Fuentes) Date: Mon, 6 Apr 2015 16:05:54 -0300 Subject: [vtkusers] Android Build Questions Message-ID: Hi, I'm trying to build VTK for android using cmake on Linux. I download the source from https://gitlab.kitware.com/vtk/vtk.git and made a branch based on v6.2.0 tag. First, I build VTK for linux without problmes. I verify and the .so are generated ok. I wish the same results, for Android. So, I rebuild (on another build directory) for androd. My first problem, was that the installation process of 'vtl-compile-tools' was failed. Because I don't have rights for write on /usr/local For resolv that, I replaced the macro: # Compile a minimal VTK for its compile tools macro(compile_vtk_tools) ExternalProject_Add( vtk-compile-tools SOURCE_DIR ${CMAKE_SOURCE_DIR} PREFIX ${PREFIX_DIR}/vtk-compile-tools BINARY_DIR ${BUILD_DIR}/vtk-compile-tools ${VTK_BUILD_COMMAND} vtkCompileTools CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=Release -DVTK_BUILD_ALL_MODULES:BOOL=OFF -DVTK_Group_Rendering:BOOL=OFF -DVTK_Group_StandAlone:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF ) endmacro() with: # Compile a minimal VTK for its compile tools macro(compile_vtk_tools) ExternalProject_Add( vtk-compile-tools SOURCE_DIR ${CMAKE_SOURCE_DIR} PREFIX ${PREFIX_DIR}/vtk-compile-tools BINARY_DIR ${BUILD_DIR}/vtk-compile-tools ${VTK_BUILD_COMMAND} vtkCompileTools CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR}/vtk-compile-tools -DVTK_BUILD_ALL_MODULES:BOOL=OFF -DVTK_Group_Rendering:BOOL=OFF -DVTK_Group_StandAlone:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_EXAMPLES:BOOL=OFF -DBUILD_TESTING:BOOL=OFF ) endmacro() on the file: CMake/vtkAndroid.cmake I try run make again, and all process finish successful. But only static libraries were generated!! (.a). So I change the file 'CMake/vtkAndroid.cmake' to force to build vtk-android with var BUILD_SHARED_LIBS activated. Again, I try to run make but I found many errors. Some of them are concerned with NDK, so I'm investigate now how resolv. Meanawhile, I want to make the next questions: a) It shuld be possible buildt shared VTK libraries for Android right now? b) I see that some .cxx files are explicitly excluded for compilation when OpenGL ES 2.0 are used. For what reason? Thanks, and sorry by my poor english. Daniel F. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Mon Apr 6 15:54:12 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Mon, 6 Apr 2015 12:54:12 -0700 (MST) Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com> References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com> Message-ID: <1428350052776-5731368.post@n5.nabble.com> You could use VTK with Windows Forms? -- View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731368.html Sent from the VTK - Users mailing list archive at Nabble.com. From totte at dunescientific.com Mon Apr 6 17:51:17 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Mon, 06 Apr 2015 14:51:17 -0700 Subject: [vtkusers] Picking actor and move others Message-ID: <5522FFD5.8050902@dunescientific.com> Hello, I have code using a subject/observer pattern, where the observer is basically a vtk actor. Some subjects may be rendered using several independent actors (I do not combine them into a vtkAssembly). I am currently trying to interactively move a subject, by picking an actor, tracing it back to corresponding subject, and then move all corresponding actors from the obtained coordinates. However, this gets a little messy, cause one of the observers is the picked actor itself, and keeping track of that seem a little difficult. So I am looking for a simpler way. Is it possible in a MouseDown event to 'switch' out a picked actor, with another "proxy" actor, and then use the position/movement of the proxy actor to set the position of my subject? Something on the lines of using a seedwidget, that get created and picked when another actor is picked. However, I don't see how it can be done easily or even if it make sense. Cheers, tk From Grant.Windes at smith-nephew.com Mon Apr 6 18:22:49 2015 From: Grant.Windes at smith-nephew.com (Windes, Grant) Date: Mon, 6 Apr 2015 22:22:49 +0000 Subject: [vtkusers] Python no vtkVolumeTextureMapper3D Message-ID: I've been converting our software from vtk 5.10 to vtk 6.2 and ran into an interesting bug where it's saying the AttributeError: 'module' object has no attribute 'vtkVolumeTextureMapper3D' Anyone have any idea on why this would be? My research shows that vtkVolumeTextureMapper3D is still in the vtk library and hasn't been removed. Maybe something in my build of vtk messed it up? Any insight to this would be great. Thanks, -Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Mon Apr 6 21:59:28 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 6 Apr 2015 19:59:28 -0600 Subject: [vtkusers] Python no vtkVolumeTextureMapper3D In-Reply-To: References: Message-ID: Hi Grant, The vtkVolumeTextureMapper3D is still there, it's still part of the default VTK build, and it's still usable through the python wrappers. However, it is disabled if you set VTK_RENDERING_BACKEND:STRING=OpenGL2. - David On Mon, Apr 6, 2015 at 4:22 PM, Windes, Grant wrote: > I've been converting our software from vtk 5.10 to vtk 6.2 and ran into > an interesting bug where it's saying the AttributeError: 'module' object > has no attribute 'vtkVolumeTextureMapper3D' > > > > Anyone have any idea on why this would be? My research shows that > vtkVolumeTextureMapper3D is still in the vtk library and hasn't been > removed. Maybe something in my build of vtk messed it up? > > > > Any insight to this would be great. > > > > Thanks, > > -Grant > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfaisal.ali91 at gmail.com Tue Apr 7 02:15:57 2015 From: sfaisal.ali91 at gmail.com (sfaisalali91) Date: Mon, 6 Apr 2015 23:15:57 -0700 (MST) Subject: [vtkusers] ImageTracerWidget Transform Message-ID: <1428387357782-5731378.post@n5.nabble.com> hi all, I have been working on clipping ROI using ExtractVoi. I am able to clip the volume using ImageTracerWidget but i am unable to clip the data inside the widget! It is clipping the volume data away from the widget(as shown in the attached image). i searched for solution online and found many are facing the same problem and the closet approach to overcome this was to implement Transform and do the required scaling. I tried implementing the same but i am missing something! code snippet! //Initial Implementation vtkImageTracerWidget->GetPath(PolyData); Imcast->GetOutput()->GetOrigin(origin); Imcast->GetOutput()->GetSpacing(spacing); PolyData->GetPoints()->GetBounds(bounds); int xmin = (int)((bounds[0] ? origin[0])/spacing[0] + 0.5); int xmax = (int)((bounds[1] ? origin[0])/spacing[0] + 0.5); int ymin = (int)((bounds[2] ? origin[1])/spacing[1] + 0.5); int ymax = (int)((bounds[3] ? origin[1])/spacing[1] + 0.5); int zmin = (int)((bounds[4] ? origin[2])/spacing[2] + 0.5); int zmax = (int)((bounds[5] ? origin[2])/spacing[2] + 0.5); this->EXvoI->SetVOI(xmin,xmax,ymin,ymax,zmin,zmax); I made use of the transform callback from ( http://vtk.1045678.n5.nabble.com/Difficulty-keeping-volume-within-vtkBoxWidget-td1240361.html ). I am facing a problem getting the ImagetracerWidget transform(as it is protected). Can some one please help me restrict the volume inside the widget!. Thank you in advance. Much appreciate you're help :) -- View this message in context: http://vtk.1045678.n5.nabble.com/ImageTracerWidget-Transform-tp5731378.html Sent from the VTK - Users mailing list archive at Nabble.com. From kumar.gr at teleradtech.com Tue Apr 7 05:22:23 2015 From: kumar.gr at teleradtech.com (kumar) Date: Tue, 7 Apr 2015 02:22:23 -0700 (MST) Subject: [vtkusers] Drawing 2D Annotations Circle, Rectangle, Arrow, etc Dynamically In-Reply-To: <1428051292133-5731331.post@n5.nabble.com> References: <1427980936120-5731315.post@n5.nabble.com> <1428051292133-5731331.post@n5.nabble.com> Message-ID: <1428398543949-5731379.post@n5.nabble.com> Hi, AM able to draw the line, in case of Circle and rectangle am facing issue. bool myVtkInteractorStyleImage :: RectangleDraw2(double x, double y) { /* vtkSmartPointer picker2 = vtkSmartPointer::New(); picker2->SetTolerance(0.0005); // Pick from this location. picker2->Pick(x, y, 0, _ImageViewer->GetRenderer()); double* worldPosition = picker2->GetPickPosition(); x_rb = worldPosition[0]; y_rb = worldPosition[1];*/ x_rb = x; y_rb = y; vtkImageData* image = _ImageViewer->GetInput(); //points->SetPoint(1,x_lt,y_rb,0); //points->SetPoint(2,x_rb,y_rb,0); //points->SetPoint(3,x_rb,y_lt,0); points->InsertPoint(1,x_lt,y_rb,0); points->InsertPoint(2,x_rb,y_rb,0); points->InsertPoint(3,x_rb,y_lt,0); //vtkSmartPointer lines = vtkSmartPointer::New(); //lines->InsertNextCell(5); lines->InsertCellPoint(0); lines->InsertCellPoint(1); lines->InsertCellPoint(2); lines->InsertCellPoint(3); lines->InsertCellPoint(0); //vtkSmartPointer polyData = vtkSmartPointer::New(); polyData->SetPoints(points); polyData->SetLines(lines); //vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInput(polyData); //vtkSmartPointer rectActor = vtkSmartPointer::New(); //rectActor->SetMapper(mapper); actor->SetMapper(mapper); vtkSmartPointer renderer = _ImageViewer->GetRenderer(); renderer->AddActor(actor); vtkSmartPointer renderWindow = _ImageViewer->GetRenderWindow(); vtkSmartPointer renderWindowInteractor = _ImageViewer->GetRenderWindow()->GetInteractor(); renderWindowInteractor->SetRenderWindow(renderWindow); renderWindow->Render(); renderWindowInteractor->Start(); return true; } -- View this message in context: http://vtk.1045678.n5.nabble.com/Drawing-2D-Annotations-Circle-Rectangle-Arrow-etc-Dynamically-tp5731315p5731379.html Sent from the VTK - Users mailing list archive at Nabble.com. From sfaisal.ali91 at gmail.com Tue Apr 7 05:34:30 2015 From: sfaisal.ali91 at gmail.com (sfaisalali91) Date: Tue, 7 Apr 2015 02:34:30 -0700 (MST) Subject: [vtkusers] Drawing 2D Annotations Circle, Rectangle, Arrow, etc Dynamically In-Reply-To: <1428398543949-5731379.post@n5.nabble.com> References: <1427980936120-5731315.post@n5.nabble.com> <1428051292133-5731331.post@n5.nabble.com> <1428398543949-5731379.post@n5.nabble.com> Message-ID: <1428399270390-5731380.post@n5.nabble.com> Hey, You can try ContourWidget ( http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget ). -- View this message in context: http://vtk.1045678.n5.nabble.com/Drawing-2D-Annotations-Circle-Rectangle-Arrow-etc-Dynamically-tp5731315p5731380.html Sent from the VTK - Users mailing list archive at Nabble.com. From julien.jomier at kitware.com Tue Apr 7 05:56:10 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Tue, 7 Apr 2015 11:56:10 +0200 Subject: [vtkusers] Activiz.NET 6.2.0? In-Reply-To: References: Message-ID: <5523A9BA.2050000@kitware.com> Hi Tom, We will be pushing the 6.2.0 fixes soon to the git repository. Julien On 02/04/2015 22:02, Tom MacAdam wrote: > Listening just now to the recent webinar on VTK 6.2.0 release, it > sounded like Activiz for VTK 6.2.0 is now done... is this available > through the git link? > > > _______________________________________________ > 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 arnaudgelas at gmail.com Tue Apr 7 07:39:29 2015 From: arnaudgelas at gmail.com (Arnaud Gelas) Date: Tue, 7 Apr 2015 13:39:29 +0200 Subject: [vtkusers] VTK 6.2.0 Bug in vtkVRMLImporter, example crashes if there are more than one instance of vtkVRMLImporter Message-ID: <03B9B7BC-A486-484F-BE6A-7EF21143EBDF@gmail.com> Hi all, We have slightly modified the following wiki example: http://www.itk.org/Wiki/VTK/Examples/Cxx/IO/VRML As follows: #include #include #include #include #include #include #include int main ( int argc, char *argv[]) { if(argc != 2) { std::cout << "Required arguments: Filename" << std::endl; return EXIT_FAILURE; } std::string filename = argv[1]; std::cout << "Reading " << filename << std::endl; vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); // VRML Import vtkSmartPointer importer = vtkSmartPointer::New(); importer->SetFileName ( filename.c_str() ); importer->SetRenderWindow(renderWindow); importer->Update(); renderWindow->Render(); renderWindowInteractor->Start(); vtkSmartPointer renderer2 = vtkSmartPointer::New(); vtkSmartPointer renderWindow2 = vtkSmartPointer::New(); renderWindow2->AddRenderer(renderer2); vtkSmartPointer renderWindowInteractor2 = vtkSmartPointer::New(); renderWindowInteractor2->SetRenderWindow(renderWindow2); // VRML Import vtkSmartPointer importer2 = vtkSmartPointer::New(); importer2->SetFileName ( filename.c_str() ); importer2->SetRenderWindow(renderWindow2); importer2->Update(); renderWindow2->Render(); renderWindowInteractor2->Start(); return EXIT_SUCCESS; } As you can see the modification is quite simple, we have just created 2 instances of every objects? This naive example crashes when exiting (trying to delete the second importer, i.e. importer2). Any idea what could go wrong? and how to fix this bug? Thanks in advance, Best regards Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: From JMelnyk at pile.com Tue Apr 7 08:38:58 2015 From: JMelnyk at pile.com (Joseph Melnyk) Date: Tue, 7 Apr 2015 12:38:58 +0000 Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: <1428350052776-5731368.post@n5.nabble.com> References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com> <1428350052776-5731368.post@n5.nabble.com> Message-ID: <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local> Yes. You would use a vtkWin32OpenGLRenderWindow as your render window. Put something like a Panel or a PictureBox Control in your form, then pass SetParentId the handle for that Control: myRenderWindow->SetParentId(myPictureBox->Handle.ToPointer()); It's more complicated to interface with VTK via C#, but you can do it very easily with C++/CLI (which is what the example above is). Joe -----Original Message----- From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of JoseBarretoT Sent: Monday, April 6, 2015 3:54 PM To: vtkusers at vtk.org Subject: Re: [vtkusers] Is vtk usable with windows form? You could use VTK with Windows Forms? -- View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731368.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 jose.de.paula at live.com Tue Apr 7 09:18:58 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Tue, 7 Apr 2015 06:18:58 -0700 (MST) Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local> References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com> <1428350052776-5731368.post@n5.nabble.com> <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local> Message-ID: <1428412738107-5731384.post@n5.nabble.com> Thank U! Just out of curiosity, can tell me how it would be if you wanted to use c ++ and c # -- View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731384.html Sent from the VTK - Users mailing list archive at Nabble.com. From sankhesh.jhaveri at kitware.com Tue Apr 7 10:55:38 2015 From: sankhesh.jhaveri at kitware.com (Sankhesh Jhaveri) Date: Tue, 7 Apr 2015 10:55:38 -0400 Subject: [vtkusers] Mixing OpenGL and VTK In-Reply-To: References: Message-ID: Hi Ram, Seems like a bug. What you are doing is right. Following your email, I too tested the external renderer in the QGLWidget. We'll have to look deeper to find out what's going on. I'll update here once I have a fix. Best Regards, Sankhesh Jhaveri Research & Development Engineer Kitware, Inc. *Phone*: (518) 881 4417 *Fax*: (518) 371 4573 On Tue, Mar 31, 2015 at 3:28 AM, Ram Sampath wrote: > Hello everyone, > > I tried the ExternalVTK calls as instructed by the blog page and I am > doing the following but for some reason VTK doesn't seem to render. > > I am using Qt 5.4 as well. If someone could throw some light on how to mix > native OpenGL calls with VTK renders I would really appreciate it. > > ?Thank you very much > Ram.? > > > > VisWidget::VisWidget( QWidget* parent, const GLWidget* shareWidget, > Qt::WindowFlags f ): NEGLWidget( parent, shareWidget, f ) > > { > #if WIN32 > this->m_externalVTKWidget = vtkSmartPointer::New(); > this->m_renWin = > ? ? > vtkSmartPointer::New(); > this->m_externalVTKWidget->SetRenderWindow( m_renWin.GetPointer() ); > this->m_ren = vtkSmartPointer( > this->m_externalVTKWidget->AddRenderer() ); > this->m_cam = vtkSmartPointer::New(); > m_ren->SetActiveCamera( this->m_cam ); > #endif > > m_VTK = false; > > } > > >> > _______________________________________________ > 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 mattkramers at gmail.com Tue Apr 7 11:47:48 2015 From: mattkramers at gmail.com (Matt Kramers) Date: Tue, 7 Apr 2015 11:47:48 -0400 Subject: [vtkusers] Disable Anchor Picking/Dragging in vtkCaptionWidget Message-ID: I am trying to prevent the anchor in the vtkCaptionWidget from being interacted with by the user ( http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/CaptionWidget). It seems straight forward to just call something like: captionRepresentation->GetAnchorRepresentation()->SetPickable(0); or captionRepresentation->GetAnchorRepresentation()->SetDragable(0); however these do not appear to do anything. I have tried a number of different combinations of disable calls on the widget, representation and anchor representation. I think I am missing something. Thank you, -------------- next part -------------- An HTML attachment was scrubbed... URL: From Grant.Windes at smith-nephew.com Tue Apr 7 14:22:56 2015 From: Grant.Windes at smith-nephew.com (Windes, Grant) Date: Tue, 7 Apr 2015 18:22:56 +0000 Subject: [vtkusers] Python no vtkVolumeTextureMapper3D In-Reply-To: References: Message-ID: Thanks for the reply David. I found vtkSmartVolumeMapper to work in place of the vtkVolumeTextureMapper3D. Oddly, I had enabled the rendering_backend to opengl2 but I reverted that back to opengl. Not sure why it still caused it to not build the textureMapper3D. Is there a way to see which rendering engine is actually being used via python? Thanks, Grant From: David Gobbi [mailto:david.gobbi at gmail.com] Sent: Monday, April 06, 2015 6:59 PM To: Windes, Grant Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Python no vtkVolumeTextureMapper3D Hi Grant, The vtkVolumeTextureMapper3D is still there, it's still part of the default VTK build, and it's still usable through the python wrappers. However, it is disabled if you set VTK_RENDERING_BACKEND:STRING=OpenGL2. - David On Mon, Apr 6, 2015 at 4:22 PM, Windes, Grant > wrote: I've been converting our software from vtk 5.10 to vtk 6.2 and ran into an interesting bug where it's saying the AttributeError: 'module' object has no attribute 'vtkVolumeTextureMapper3D' Anyone have any idea on why this would be? My research shows that vtkVolumeTextureMapper3D is still in the vtk library and hasn't been removed. Maybe something in my build of vtk messed it up? Any insight to this would be great. Thanks, -Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From leodelcarpio at hotmail.com Tue Apr 7 23:23:33 2015 From: leodelcarpio at hotmail.com (Jota Manrique Del Carpio) Date: Wed, 8 Apr 2015 05:23:33 +0200 Subject: [vtkusers] from: Jota Manrique Del Carpio Message-ID: Good afternoon vtkusers http://web-design-cluj.ro/command.php?cause=71vb0xqnb8mhsc Jota Manrique Del Carpio Sent from my iPhone From ram at centroidpic.com Wed Apr 8 00:22:13 2015 From: ram at centroidpic.com (Ram Sampath) Date: Wed, 8 Apr 2015 13:22:13 +0900 Subject: [vtkusers] Mixing OpenGL and VTK In-Reply-To: References: Message-ID: Thank you so much for your response and looking into this. Please let me know if you need a specific complete code example which illustrates this interaction between QGLWidget and VTK. Thank you again Ram. On Tue, Apr 7, 2015 at 11:55 PM, Sankhesh Jhaveri < sankhesh.jhaveri at kitware.com> wrote: > Hi Ram, > > Seems like a bug. What you are doing is right. > > Following your email, I too tested the external renderer in the QGLWidget. > We'll have to look deeper to find out what's going on. > > I'll update here once I have a fix. > > > > Best Regards, > > Sankhesh Jhaveri > Research & Development Engineer > Kitware, Inc. > *Phone*: (518) 881 4417 > *Fax*: (518) 371 4573 > > > > On Tue, Mar 31, 2015 at 3:28 AM, Ram Sampath wrote: > >> Hello everyone, >> >> I tried the ExternalVTK calls as instructed by the blog page and I am >> doing the following but for some reason VTK doesn't seem to render. >> >> I am using Qt 5.4 as well. If someone could throw some light on how to >> mix native OpenGL calls with VTK renders I would really appreciate it. >> >> ?Thank you very much >> Ram.? >> >> >> >> VisWidget::VisWidget( QWidget* parent, const GLWidget* shareWidget, >> Qt::WindowFlags f ): NEGLWidget( parent, shareWidget, f ) >> >> { >> #if WIN32 >> this->m_externalVTKWidget = vtkSmartPointer::New(); >> this->m_renWin = >> ? ? >> vtkSmartPointer::New(); >> this->m_externalVTKWidget->SetRenderWindow( m_renWin.GetPointer() ); >> this->m_ren = vtkSmartPointer( >> this->m_externalVTKWidget->AddRenderer() ); >> this->m_cam = vtkSmartPointer::New(); >> m_ren->SetActiveCamera( this->m_cam ); >> #endif >> >> m_VTK = false; >> >> } >> >> >>> >> _______________________________________________ >> 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 luxiaohua at outlook.com Wed Apr 8 04:09:41 2015 From: luxiaohua at outlook.com (luxiaohua at outlook.com) Date: Wed, 8 Apr 2015 16:09:41 +0800 Subject: [vtkusers] problems in using vtkInteractorStyleImage Message-ID: Dear VTKrs: I am trying to use mouse to change Slice Orientation of the dicom image sequences. So I use the vtkInteractorStyleImage. But when I press X or Y ,the Slice Orientation not set to yz or xz. This confuses me. The vtkInteractorStyleImage functions like below, but I cant change the slices through the image; // If SetInteractionModeToImageSlicing() is called, then some of the mouse // events are changed as follows: // - CTRL Left Mouse slices through the image // - SHIFT Middle Mouse slices through the image // - CTRL Right Mouse spins the camera // // If SetInteractionModeToImage3D() is called, then some of the mouse // events are changed as follows: // - SHIFT Left Mouse rotates the camera for oblique slicing // - SHIFT Middle Mouse slices through the image // - CTRL Right Mouse also slices through the image // // In all modes, the following key bindings are in effect: // - R Reset the Window/Level // - X Reset to a sagittal view // - Y Reset to a coronal view // - Z Reset to an axial view Someone can help me for my confusion ! Many thanks, Lu int main(int argc, char* argv[]) { vtkSmartPointer imageViewer = vtkSmartPointer::New(); //Read the image vtkSmartPointer reader = vtkSmartPointer::New(); reader->SetDirectoryName("c:\\s20"); reader->Update(); imageViewer->SetInput( reader->GetOutput() ); vtkSmartPointer imageStyle = vtkSmartPointer::New(); imageStyle->SetInteractionModeToImage3D(); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); imageViewer->GetRenderWindow()->SetInteractor( renderWindowInteractor ); renderWindowInteractor->SetInteractorStyle( imageStyle ); imageViewer->Render(); renderWindowInteractor->Initialize(); renderWindowInteractor->Start(); return EXIT_SUCCESS; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.lonie at kitware.com Wed Apr 8 09:32:08 2015 From: david.lonie at kitware.com (David Lonie) Date: Wed, 8 Apr 2015 09:32:08 -0400 Subject: [vtkusers] Python no vtkVolumeTextureMapper3D In-Reply-To: References: Message-ID: On Tue, Apr 7, 2015 at 2:22 PM, Windes, Grant wrote: > Oddly, I had enabled the rendering_backend to opengl2 but I reverted > that back to opengl. Not sure why it still caused it to not build the > textureMapper3D. Is there a way to see which rendering engine is actually > being used via python? > I've noticed something similar regarding modules and the wrapping code. The wrappers don't always seem to update when modules are enabled/disabled between incremental builds. For instance, I have a branch that removes the vtkRenderingFreeTypeOpenGL module here: https://gitlab.kitware.com/paraview/paraview/merge_requests/1 and it's spawning a lot of errors like: https://open.cdash.org/testDetails.php?test=320681415&build=3756410 Even though the module is disabled (removed, actually), the wrapper initialization still tries to load it. Looks like some of the init scripts are missing dependencies? Might be related to switching between the OpenGL backend modules. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.waldon at kitware.com Wed Apr 8 10:14:40 2015 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 8 Apr 2015 10:14:40 -0400 Subject: [vtkusers] Python no vtkVolumeTextureMapper3D In-Reply-To: References: Message-ID: I have always found it safest when switching rendering backends to have separate build trees. The wrappers will get confused otherwise. Even make clean doesn't really help with this. Shawn On Wed, Apr 8, 2015 at 9:32 AM, David Lonie wrote: > On Tue, Apr 7, 2015 at 2:22 PM, Windes, Grant < > Grant.Windes at smith-nephew.com> wrote: > >> Oddly, I had enabled the rendering_backend to opengl2 but I reverted >> that back to opengl. Not sure why it still caused it to not build the >> textureMapper3D. Is there a way to see which rendering engine is actually >> being used via python? >> > > I've noticed something similar regarding modules and the wrapping code. > The wrappers don't always seem to update when modules are enabled/disabled > between incremental builds. For instance, I have a branch that removes the > vtkRenderingFreeTypeOpenGL module here: > > https://gitlab.kitware.com/paraview/paraview/merge_requests/1 > > and it's spawning a lot of errors like: > > https://open.cdash.org/testDetails.php?test=320681415&build=3756410 > > Even though the module is disabled (removed, actually), the wrapper > initialization still tries to load it. Looks like some of the init scripts > are missing dependencies? > > Might be related to switching between the OpenGL backend modules. > > Dave > > _______________________________________________ > 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 Apr 8 12:33:27 2015 From: serge at infolytica.com (Serge Lalonde) Date: Wed, 08 Apr 2015 12:33:27 -0400 Subject: [vtkusers] How to set a global transformation Message-ID: <55255857.5030709@infolytica.com> An HTML attachment was scrubbed... URL: From arianna.forneris at ucalgary.ca Wed Apr 8 13:15:30 2015 From: arianna.forneris at ucalgary.ca (Arianna Forneris) Date: Wed, 8 Apr 2015 10:15:30 -0700 (MST) Subject: [vtkusers] vtkDistanceWidget Message-ID: <1428513330932-5731402.post@n5.nabble.com> Hi everyone, I'm trying to use the vtk Distance Widget in order to make some measurements on a DICOM image?I can use the widget but the measure that I get is completely wrong with respect to the image?I got measures like 0.00162 mm (I guess it is in mm)?it doesn't make sense since that the image spacing is 0.75 mm?does anyone have any suggestions about it or have the same problem??? tahnks! -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDistanceWidget-tp5731402.html Sent from the VTK - Users mailing list archive at Nabble.com. From arianna.forneris at ucalgary.ca Wed Apr 8 13:24:05 2015 From: arianna.forneris at ucalgary.ca (Arianna Forneris) Date: Wed, 8 Apr 2015 10:24:05 -0700 (MST) Subject: [vtkusers] real distance with diantance widget In-Reply-To: References: Message-ID: <1428513845694-5731403.post@n5.nabble.com> Hi amal, did you find a solution to the distance widget problem? I'm trying to measure a dicom and i'm having the same problem?would really appreciate your help if you have a solution. -- View this message in context: http://vtk.1045678.n5.nabble.com/real-distance-with-diantance-widget-tp5723760p5731403.html Sent from the VTK - Users mailing list archive at Nabble.com. From totte at dunescientific.com Wed Apr 8 14:56:46 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Wed, 08 Apr 2015 11:56:46 -0700 Subject: [vtkusers] How to get 'proper' coordinates from 2dwidget Message-ID: <552579EE.8010502@dunescientific.com> Hello, I want to use a seedwidget (using the cross) to allow a user to translate (drag) a vtk actor in a scene, in the xy dimension. In short, I do want the translation, dragging action to be the same as the interaction you have when using a vtkInteractorStyleTrackballActor interactor. The code below does the job, except it moves, resets the position, of the actor in the direction of projection. The coordinates are obtained in the widgets interaction Event: double pos[3]; this->SeedRepresentation->GetSeedDisplayPosition(0, pos); if(mMyActor) { vtkSmartPointer coordinate = vtkSmartPointer::New(); coordinate->SetCoordinateSystemToDisplay(); coordinate->SetValue(pos[0], pos[1], pos[2]); double *pos2 = coordinate->GetComputedWorldValue(ren); mMyActor->setPosition(pos2[0], pos2[1], pos2[2]); } How can one mask out the translation in the 'depth', direction of projection dimension?? Reason for not using InteractorStyleTrackballActor is that I may want to move several actors based on the seeds position, not just one. -totte -- ......................... Totte Karlsson, Ph.D. Dune Scientific, LLC 425-780 9648 (cell) www.dunescientific.com ......................... From mnour.ai at hotmail.com Wed Apr 8 16:09:10 2015 From: mnour.ai at hotmail.com (Muhammad Nour) Date: Wed, 8 Apr 2015 20:09:10 +0000 Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: <1428412738107-5731384.post@n5.nabble.com> References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com>, <1428350052776-5731368.post@n5.nabble.com>, <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local>, <1428412738107-5731384.post@n5.nabble.com> Message-ID: For .net framework (C# and VB) you can easily use ActiViz .NET I think it is very simple and more productive :)http://www.kitware.com/opensource/avdownload.php Below is some samples:http://www.itk.org/Wiki/VTK/Examples/CSharp > Date: Tue, 7 Apr 2015 06:18:58 -0700 > From: jose.de.paula at live.com > To: vtkusers at vtk.org > Subject: Re: [vtkusers] Is vtk usable with windows form? > > Thank U! > Just out of curiosity, can tell me how it would be if you wanted to use c ++ > and c # > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731384.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnour.ai at hotmail.com Wed Apr 8 16:09:41 2015 From: mnour.ai at hotmail.com (Muhammad Nour) Date: Wed, 8 Apr 2015 20:09:41 +0000 Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: <1428412738107-5731384.post@n5.nabble.com> References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com>, <1428350052776-5731368.post@n5.nabble.com>, <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local>, <1428412738107-5731384.post@n5.nabble.com> Message-ID: For .net framework (C# and VB) you can easily use ActiViz .NET I think it is very simple and more productive :)http://www.kitware.com/opensource/avdownload.php Below is some samples:http://www.itk.org/Wiki/VTK/Examples/CSharp > Date: Tue, 7 Apr 2015 06:18:58 -0700 > From: jose.de.paula at live.com > To: vtkusers at vtk.org > Subject: Re: [vtkusers] Is vtk usable with windows form? > > Thank U! > Just out of curiosity, can tell me how it would be if you wanted to use c ++ > and c # > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731384.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From 2130220212 at email.szu.edu.cn Thu Apr 9 03:33:11 2015 From: 2130220212 at email.szu.edu.cn (Jason) Date: Thu, 9 Apr 2015 00:33:11 -0700 (MST) Subject: [vtkusers] memory leak by vtkImageViewer2 and vtkImageFlip Message-ID: <1428564791288-5731414.post@n5.nabble.com> Does anyone notice about the memory leak caused by vtkImageViewer2 and vtkImageFlip ? We can use the vtkImageActor and vtkRenderer to take the place of vtkImageViewer2 , but what about the vtkImageFlip? Does any other way to flip the image? -- View this message in context: http://vtk.1045678.n5.nabble.com/memory-leak-by-vtkImageViewer2-and-vtkImageFlip-tp5731414.html Sent from the VTK - Users mailing list archive at Nabble.com. From 2130220212 at email.szu.edu.cn Thu Apr 9 04:33:32 2015 From: 2130220212 at email.szu.edu.cn (Jason) Date: Thu, 9 Apr 2015 01:33:32 -0700 (MST) Subject: [vtkusers] memory leak by vtkImageViewer2 and vtkImageFlip In-Reply-To: <1428564791288-5731414.post@n5.nabble.com> References: <1428564791288-5731414.post@n5.nabble.com> Message-ID: <1428568412555-5731415.post@n5.nabble.com> I have already solve it by imageActor->SetOrientation(180,0,0); flip the image by 180 degreen along Y. if you want to flip the data instead of the render window , you can take a look at this: vtkSmartPointer result = vtkSmartPointer::New(); result->DeepCopy(YourImage); //DeepCopy your image to result rImage->Update(); double val; int i = 0; for(vtkIdType f = result->GetNumberOfPoints()-1; f > -1; f--) { val = YourImage->GetPointData()->GetScalars()->GetTuple1(f); result->GetPointData()->GetScalars->SetTuple1(i,val); i++; } result->Update(); Ofcourse,you need to correct the position of f and i to fix your need. -- View this message in context: http://vtk.1045678.n5.nabble.com/memory-leak-by-vtkImageViewer2-and-vtkImageFlip-tp5731414p5731415.html Sent from the VTK - Users mailing list archive at Nabble.com. From victorsv at gmail.com Thu Apr 9 05:51:10 2015 From: victorsv at gmail.com (victor sv) Date: Thu, 9 Apr 2015 11:51:10 +0200 Subject: [vtkusers] File formats: Whats the difference between PVTK and VTM? Message-ID: Hello all, i know that it can be a stupid question, but I wonder about the implications of use both formats (PVTK and VTM). It's only a logical decision about how to order the different parts of a mesh? or has implications for the performance of the parallel IO? Any help or comment will be appeciated. Thanks. V?ctor. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ali.hadimogullari at netcad.com.tr Thu Apr 9 07:18:18 2015 From: ali.hadimogullari at netcad.com.tr (alihadim) Date: Thu, 9 Apr 2015 04:18:18 -0700 (MST) Subject: [vtkusers] Error with vtkPolyDataToImageStencil ! Help Please !! In-Reply-To: <004901c722a4$e8cf0210$aa7290c8@Guidoval> References: <004901c722a4$e8cf0210$aa7290c8@Guidoval> Message-ID: <1428578298615-5731417.post@n5.nabble.com> Hi, do you find answer your ask. -- View this message in context: http://vtk.1045678.n5.nabble.com/Error-with-vtkPolyDataToImageStencil-Help-Please-tp1230388p5731417.html Sent from the VTK - Users mailing list archive at Nabble.com. From jose.de.paula at live.com Thu Apr 9 10:30:19 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Thu, 9 Apr 2015 07:30:19 -0700 (MST) Subject: [vtkusers] Is vtk usable with windows form? In-Reply-To: References: <369e9e6b0803040612k205e7a21j231550e950040a11@mail.gmail.com> <1428350052776-5731368.post@n5.nabble.com> <8841579C9694CA4196BE4138B6E2B4BF18342D91@pdi-mail1.pdi.local> <1428412738107-5731384.post@n5.nabble.com> Message-ID: <1428589819742-5731419.post@n5.nabble.com> The bad version of Activia is that they are DLLs, not sources in c ++ = / -- View this message in context: http://vtk.1045678.n5.nabble.com/Is-vtk-usable-with-windows-form-tp1238071p5731419.html Sent from the VTK - Users mailing list archive at Nabble.com. From totte at dunescientific.com Thu Apr 9 13:25:54 2015 From: totte at dunescientific.com (Totte Karlsson) Date: Thu, 09 Apr 2015 10:25:54 -0700 Subject: [vtkusers] moving actor when interactorstyleTrackBallCamera Message-ID: <5526B622.8090307@dunescientific.com> Hello, Anyone knowing how to implement movement of a picked actor when the interactor style is set to vtkInteractorStyleTrackballCamera? -tk From dmitrievko at gmail.com Thu Apr 9 13:44:51 2015 From: dmitrievko at gmail.com (Konstantin) Date: Thu, 9 Apr 2015 10:44:51 -0700 (MST) Subject: [vtkusers] vtkImageDilateErode3D Message-ID: <1428601491641-5731422.post@n5.nabble.com> Hi, everyone, I have a problem with vtkImageDilateErode3D filter. For some reasons it doesn't return the processed volume. Here is the information about the input volume: /vtkImageData (0x7fa15adf57d0) Debug: Off Modified Time: 1042 Reference Count: 3 Registered Events: (none) Information: 0x7fa15e60f5e0 Data Released: False Global Release Data: Off UpdateTime: 1043 Field Data: Debug: Off Modified Time: 1000 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 165937152 Number Of Cells: 165028472 Cell Data: Debug: Off Modified Time: 1008 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 1029 Reference Count: 1 Registered Events: (none) Number Of Arrays: 1 Array 0 name = scalars Number Of Components: 1 Number Of Tuples: 165937152 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 1029 Reference Count: 1 Registered Events: (none) Name: scalars Data type: double Size: 165937152 MaxId: 165937151 NumberOfComponents: 1 Information: 0x0 Name: scalars Number Of Components: 1 Number Of Tuples: 165937152 Size: 165937152 MaxId: 165937151 LookupTable: (none) Array: 0x1cba4a000 Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (-165.66, 181.66) Ymin,Ymax: (-341.16, 6.16016) Zmin,Zmax: (-1425, -1109) Compute Time: 1056 Spacing: (0.679688, 0.679688, 0.5) Origin: (-165.66, -341.16, -1425) Dimensions: (512, 512, 633) Increments: (0, 0, 0) Extent: (0, 511, 0, 511, 0, 632)/ Here is what I got as the output: /vtkImageData (0x7fa15ec99280) Debug: Off Modified Time: 1336 Reference Count: 1 Registered Events: (none) Information: 0x7fa15e73ac90 Data Released: False Global Release Data: Off UpdateTime: 0 Field Data: Debug: Off Modified Time: 1333 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 0 Number Of Cells: 0 Cell Data: Debug: Off Modified Time: 1336 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 1335 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (1, -1) Ymin,Ymax: (1, -1) Zmin,Zmax: (1, -1) Compute Time: 1365 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (0, 0, 0) Increments: (0, 0, 0) Extent: (0, -1, 0, -1, 0, -1)/ Here is the code: / connector->GetOutput()->Print(std::cout); //before vtkSmartPointer dilateErode = vtkSmartPointer::New(); dilateErode->SetInputData(connector->GetOutput()); dilateErode->SetDilateValue(0); dilateErode->SetErodeValue(255); dilateErode->SetKernelSize(5, 5, 3); dilateErode->GetOutput()->Print(std::cout); //after/ Could you point me in the right direction? -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageDilateErode3D-tp5731422.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Thu Apr 9 13:51:19 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 9 Apr 2015 11:51:19 -0600 Subject: [vtkusers] vtkImageDilateErode3D In-Reply-To: <1428601491641-5731422.post@n5.nabble.com> References: <1428601491641-5731422.post@n5.nabble.com> Message-ID: On Thu, Apr 9, 2015 at 11:44 AM, Konstantin wrote: > Hi, everyone, > > I have a problem with vtkImageDilateErode3D filter. For some reasons it > doesn't return the processed volume. > > connector->GetOutput()->Print(std::cout); //before > vtkSmartPointer dilateErode = > vtkSmartPointer::New(); > dilateErode->SetInputData(connector->GetOutput()); > dilateErode->SetDilateValue(0); > dilateErode->SetErodeValue(255); > dilateErode->SetKernelSize(5, 5, 3); > dilateErode->GetOutput()->Print(std::cout); //after/ > > Could you point me in the right direction? > You have to call dilateErode->Update(); before you print the output. - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergio.vera at alma3d.com Fri Apr 10 03:42:59 2015 From: sergio.vera at alma3d.com (Sergio Vera) Date: Fri, 10 Apr 2015 09:42:59 +0200 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: Dear Sankhesh and Aashish many thanks for your heping advices. I've finally made it work (more or less) I did it by giving the opengl mapper a faked input as you suggested. My opengl stuff is being actually drawn to the screen although it seems to be heavily clipped and/or dissapearing depending on the polydata that I provide as a "fake" input to my rawGLMapper.I guess is some part of the vtk pipeline confused about having an actor with bogus bounds (the bounds of a completely different polydata). Or perhaps something related to the depth / color buffers or frustum clipping planes perhaps (i have to dig a little more at it) Many thanks On Thu, Apr 2, 2015 at 6:48 PM, Sankhesh Jhaveri < sankhesh.jhaveri at kitware.com> wrote: > Hello Sergio, > > A couple of things: > > 1. If you look at the vtkPolyDataMapper::Render() method, it calls > RenderPiece only if there is input information set on the mapper. I guess > your code does not provide an input to the mapper, and hence, RenderPiece > (and Draw) is not called. > > 2. The vtkRenderer::Render() method clears the color and depth buffers by > default. You'll have to work around that to make sure the GL objects are > preserved. > > Hope that helps. > > > > Best Regards, > > Sankhesh Jhaveri > Research & Development Engineer > Kitware, Inc. > *Phone*: (518) 881 4417 > *Fax*: (518) 371 4573 > > > > On Wed, Apr 1, 2015 at 11:01 AM, Sergio Vera > wrote: > >> Dear Aashish, >> >> thanks for your time. At the moment it is kinda difficult to switch to >> OpenGL2 backend, manily because the VTK (5.10) we use is pulled by the CTK >> superbuild. I could try to switch to the experimental branch of CTK with >> support for vtk 6 and try to modifly the superbuild so VTK uses the OpenGL2 >> backend. >> >> Currently I'm testing stuff using this toy example (based on a VTK >> example) >> >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include // For export macro >> #include >> #include >> #include >> #include >> #include >> >> #include >> >> class myMapper : public vtkOpenGLPolyDataMapper >> { >> public: >> static myMapper *New(); >> vtkTypeMacro(myMapper, vtkOpenGLPolyDataMapper); >> >> virtual void RenderPiece(vtkRenderer *aren, vtkActor *act); >> virtual int Draw(vtkRenderer *aren, vtkActor *act); >> >> protected: >> >> private: >> >> }; >> >> vtkStandardNewMacro(myMapper); >> >> void >> myMapper::RenderPiece(vtkRenderer* a_ren, vtkActor* a_act) >> { >> std::cout << "RenderPiece" << std::endl; >> glDisable( GL_LIGHTING); >> glBegin(GL_LINES); >> glVertex3f(0, 1, 0); >> glVertex3f(1, 1., 0.); >> glEnd(); >> } >> >> int >> myMapper::Draw(vtkRenderer* a_ren, vtkActor* a_act) >> { >> std::cout << "Draw" << std::endl; >> >> glDisable( GL_LIGHTING); >> glBegin(GL_LINES); >> glVertex3f(0, 1, 0); >> glVertex3f(1, 1., 0.); >> glEnd();} >> >> >> int main(int, char *[]) >> { >> std::cout << "Main" << std::endl; >> // Create three points. Join (Origin and P0) with a red line and >> // (Origin and P1) with a green line >> double origin[3] = {0.0, 0.0, 0.0}; >> double p0[3] = {1.0, 0.0, 0.0}; >> double p1[3] = {0.0, 1.0, 0.0}; >> >> // Create a vtkPoints object and store the points in it >> vtkSmartPointer pts = >> vtkSmartPointer::New(); >> pts->InsertNextPoint(origin); >> pts->InsertNextPoint(p0); >> pts->InsertNextPoint(p1); >> >> // Setup two colors - one for each line >> unsigned char red[3] = {255, 0, 0}; >> unsigned char green[3] = {0, 255, 0}; >> >> // Setup the colors array >> vtkSmartPointer colors = >> vtkSmartPointer::New(); >> colors->SetNumberOfComponents(3); >> colors->SetName("Colors"); >> >> // Add the colors we created to the colors array >> colors->InsertNextTupleValue(red); >> colors->InsertNextTupleValue(green); >> >> // Create the first line (between Origin and P0) >> vtkSmartPointer line0 = >> vtkSmartPointer::New(); >> line0->GetPointIds()->SetId(0,0); //the second 0 is the index of the >> Origin in the vtkPoints >> line0->GetPointIds()->SetId(1,1); //the second 1 is the index of P0 in >> the vtkPoints >> >> // Create the second line (between Origin and P1) >> vtkSmartPointer line1 = >> vtkSmartPointer::New(); >> line1->GetPointIds()->SetId(0,0); //the second 0 is the index of the >> Origin in the vtkPoints >> line1->GetPointIds()->SetId(1,2); //2 is the index of P1 in the >> vtkPoints >> >> // Create a cell array to store the lines in and add the lines to it >> vtkSmartPointer lines = >> vtkSmartPointer::New(); >> lines->InsertNextCell(line0); >> lines->InsertNextCell(line1); >> >> // Create a polydata to store everything in >> vtkSmartPointer linesPolyData = >> vtkSmartPointer::New(); >> >> // Add the points to the dataset >> linesPolyData->SetPoints(pts); >> >> // Add the lines to the dataset >> linesPolyData->SetLines(lines); >> >> // Color the lines - associate the first component (red) of the >> // colors array with the first component of the cell array (line 0) >> // and the second component (green) of the colors array with the >> // second component of the cell array (line 1) >> linesPolyData->GetCellData()->SetScalars(colors); >> >> // Visualize >> vtkSmartPointer mapper = >> vtkSmartPointer::New(); >> #if VTK_MAJOR_VERSION <= 5 >> mapper->SetInput(linesPolyData); >> #else >> mapper->SetInputData(linesPolyData); >> #endif >> >> vtkSmartPointer actor = >> vtkSmartPointer::New(); >> actor->SetMapper(mapper); >> >> vtkSmartPointer mapperGL = >> vtkSmartPointer::New(); >> >> >> vtkSmartPointer actorGL = >> vtkSmartPointer::New(); >> actorGL->SetMapper(mapperGL); >> >> vtkSmartPointer renderer = >> vtkSmartPointer::New(); >> vtkSmartPointer renderWindow = >> vtkSmartPointer::New(); >> renderWindow->AddRenderer(renderer); >> vtkSmartPointer renderWindowInteractor = >> vtkSmartPointer::New(); >> renderWindowInteractor->SetRenderWindow(renderWindow); >> renderer->AddActor(actor); >> renderer->AddActor(actorGL); >> >> renderWindow->Render(); >> renderWindowInteractor->Start(); >> >> return EXIT_SUCCESS; >> } >> >> >> >> when I run the above code, I see the vtk lines but the OpenGL lines are >> missing and no output is printed in the console signaling that the code is >> being called. >> >> >> thanks for your time >> >> >> >> >> On Wed, Apr 1, 2015 at 3:23 PM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> It's much harder In OpenGL backend because of the architecture. If you >>> can provide more detail on exactly what you did, we could probably help. I >>> would suggest switching to OpenGL2 backend. >>> >>> - Aashish >>> >>> On Wed, Apr 1, 2015 at 4:33 AM, Sergio Vera >>> wrote: >>> >>>> >>>> I'm using the OpenGL backend since I'm using vtk5.10 (CTK compatibility) >>>> >>>> On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < >>>> aashish.chaudhary at kitware.com> wrote: >>>> >>>>> Are using OpenGL2 or OpenGL backend? >>>>> >>>>> On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera >>>>> wrote: >>>>> >>>>>> Thanks, >>>>>> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >>>>>> ordinary actor and added the actor to the renderer. >>>>>> It seems that neigher Draw() nor RenderPiece() methods of the mapper >>>>>> are being called and my simple gl code snipped is not being rendered. >>>>>> >>>>>> Any additional hints? >>>>>> >>>>>> Thanks in advance >>>>>> >>>>>> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >>>>>> aashish.chaudhary at kitware.com> wrote: >>>>>> >>>>>>> there is no easy way. You will have to write your own >>>>>>> mapper. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera >>>>>> > wrote: >>>>>>> >>>>>>>> >>>>>>>> Hello vtk Users >>>>>>>> >>>>>>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>>>>>> examples of the opposite, insert vtk into opengl. >>>>>>>> >>>>>>>> There is the suggestion somewhere on the list of using the render >>>>>>>> methods of vtkMapper or vtkprops but no definite example >>>>>>>> >>>>>>>> Where is the best way to do it? >>>>>>>> >>>>>>>> thanks in advance >>>>>>>> -- >>>>>>>> Sergio Vera >>>>>>>> >>>>>>>> Alma IT Systems >>>>>>>> C/ Vilana, 4B, 4? 1? >>>>>>>> 08022 Barcelona >>>>>>>> T. (+34) 932 380 592 >>>>>>>> www.alma3d.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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> >>>>>>> >>>>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>>>> * >>>>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>>>> * >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sergio Vera >>>>>> >>>>>> Alma IT Systems >>>>>> C/ Vilana, 4B, 4? 1? >>>>>> 08022 Barcelona >>>>>> T. (+34) 932 380 592 >>>>>> www.alma3d.com >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>> * >>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>> * >>>>> >>>> >>>> >>>> >>>> -- >>>> Sergio Vera >>>> >>>> Alma IT Systems >>>> C/ Vilana, 4B, 4? 1? >>>> 08022 Barcelona >>>> T. (+34) 932 380 592 >>>> www.alma3d.com >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>> * >>> *| http://www.kitware.com/company/team/chaudhary.html >>> * >>> >> >> >> >> -- >> Sergio Vera >> >> Alma IT Systems >> C/ Vilana, 4B, 4? 1? >> 08022 Barcelona >> T. (+34) 932 380 592 >> www.alma3d.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 >> >> > -- 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 l.paul at uclouvain.be Fri Apr 10 05:03:27 2015 From: l.paul at uclouvain.be (Laurent) Date: Fri, 10 Apr 2015 02:03:27 -0700 (MST) Subject: [vtkusers] Running vtk into blender Message-ID: <1428656607314-5731429.post@n5.nabble.com> Hi folks, I'm trying to import vtk into Blender to use specific filters. I'm facing some difficulties since Blender is not able to find, and subsequently, to use any filter. Here is the situation: I've built VTK including the python wrapping. I have DLLs and *.py libraries. I have created PYTHONPATH and added both Wrapping\python and VTK\Release directories. Python 2.7 has been used to generate *.py VTK libraries. The python 3.4 interpreter (and blender since my blender version is using a python V3.4 distribution) is able to import the vtk library but gives me an error "Import error: Dynamic module does not define init function(PyInit_vtkCommonCorePython)" I'm very pessimistic because VTK has been built using python 2.7 and blender uses python 3.4. Python 3.4 cannot find the suitable DLL corresponding to the .py since VTK dlls are named "vtkLIBxxx27D-6.1.dll" and specifically dedicated for python 2.7. Is there a way to force a backward compatibility to blender and its python interpreter to import a python 2.7 library? Do we have any chance to make vtk (python 2.7) working into blender (python 3.4)? Thanks for your help. Laurent. -- View this message in context: http://vtk.1045678.n5.nabble.com/Running-vtk-into-blender-tp5731429.html Sent from the VTK - Users mailing list archive at Nabble.com. From ali.hadimogullari at netcad.com.tr Fri Apr 10 07:25:06 2015 From: ali.hadimogullari at netcad.com.tr (alihadim) Date: Fri, 10 Apr 2015 04:25:06 -0700 (MST) Subject: [vtkusers] GlobalWarningDisplayOn and Error handling Message-ID: <1428665106826-5731430.post@n5.nabble.com> Hi All, I'm using vtk 5.6. I have been set "vtk.vtkObject.GlobalWarningDisplayOn();" The window form open while this settig but Is it possible getting(catch) messages on warning window form? For example I have been taken "vtkMath::Jacobi: Error extracting eigenfunctions" message on window. Thanks. -- View this message in context: http://vtk.1045678.n5.nabble.com/GlobalWarningDisplayOn-and-Error-handling-tp5731430.html Sent from the VTK - Users mailing list archive at Nabble.com. From sur.chiranjib at gmail.com Fri Apr 10 08:06:08 2015 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Fri, 10 Apr 2015 17:36:08 +0530 Subject: [vtkusers] Creating custom tag for VTK points in vtkriter Message-ID: Hi All, The vtkpoint information in vtkpolydata (.vtp) is displayed as From DLRdave at aol.com Fri Apr 10 08:27:31 2015 From: DLRdave at aol.com (David Cole) Date: Fri, 10 Apr 2015 08:27:31 -0400 Subject: [vtkusers] Insert raw openGL calls in vtk In-Reply-To: References: Message-ID: The clipping planes are automatically set when you call ResetCameraClippingRange based on the sum total of the bounds of the visible actors in the scene. If you need different clipping planes, you'll have to add an actor with the appropriate bounds, or figure out how to intercept and override VTK's setting of the clipping planes. If you are calling code within VTK, there are many built-in callers to ResetCameraClippingRange, so I would recommend having all of your actors participate in the bounds computation by reporting their correct bounds in VTK world coordinates. HTH, David C. On Friday, April 10, 2015, Sergio Vera wrote: > Dear Sankhesh and Aashish > > many thanks for your heping advices. > > I've finally made it work (more or less) > I did it by giving the opengl mapper a faked input as you suggested. > My opengl stuff is being actually drawn to the screen although it seems to > be heavily clipped and/or dissapearing depending on the polydata that I > provide as a "fake" input to my rawGLMapper.I guess is some part of the vtk > pipeline confused about having an actor with bogus bounds (the bounds of a > completely different polydata). Or perhaps something related to the depth / > color buffers or frustum clipping planes perhaps (i have to dig a little > more at it) > > > Many thanks > > On Thu, Apr 2, 2015 at 6:48 PM, Sankhesh Jhaveri < > sankhesh.jhaveri at kitware.com> wrote: > >> Hello Sergio, >> >> A couple of things: >> >> 1. If you look at the vtkPolyDataMapper::Render() method, it calls >> RenderPiece only if there is input information set on the mapper. I guess >> your code does not provide an input to the mapper, and hence, RenderPiece >> (and Draw) is not called. >> >> 2. The vtkRenderer::Render() method clears the color and depth buffers by >> default. You'll have to work around that to make sure the GL objects are >> preserved. >> >> Hope that helps. >> >> >> >> Best Regards, >> >> Sankhesh Jhaveri >> Research & Development Engineer >> Kitware, Inc. >> *Phone*: (518) 881 4417 >> *Fax*: (518) 371 4573 >> >> >> >> On Wed, Apr 1, 2015 at 11:01 AM, Sergio Vera >> wrote: >> >>> Dear Aashish, >>> >>> thanks for your time. At the moment it is kinda difficult to switch to >>> OpenGL2 backend, manily because the VTK (5.10) we use is pulled by the CTK >>> superbuild. I could try to switch to the experimental branch of CTK with >>> support for vtk 6 and try to modifly the superbuild so VTK uses the OpenGL2 >>> backend. >>> >>> Currently I'm testing stuff using this toy example (based on a VTK >>> example) >>> >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include >>> #include // For export macro >>> #include >>> #include >>> #include >>> #include >>> #include >>> >>> #include >>> >>> class myMapper : public vtkOpenGLPolyDataMapper >>> { >>> public: >>> static myMapper *New(); >>> vtkTypeMacro(myMapper, vtkOpenGLPolyDataMapper); >>> >>> virtual void RenderPiece(vtkRenderer *aren, vtkActor *act); >>> virtual int Draw(vtkRenderer *aren, vtkActor *act); >>> >>> protected: >>> >>> private: >>> >>> }; >>> >>> vtkStandardNewMacro(myMapper); >>> >>> void >>> myMapper::RenderPiece(vtkRenderer* a_ren, vtkActor* a_act) >>> { >>> std::cout << "RenderPiece" << std::endl; >>> glDisable( GL_LIGHTING); >>> glBegin(GL_LINES); >>> glVertex3f(0, 1, 0); >>> glVertex3f(1, 1., 0.); >>> glEnd(); >>> } >>> >>> int >>> myMapper::Draw(vtkRenderer* a_ren, vtkActor* a_act) >>> { >>> std::cout << "Draw" << std::endl; >>> >>> glDisable( GL_LIGHTING); >>> glBegin(GL_LINES); >>> glVertex3f(0, 1, 0); >>> glVertex3f(1, 1., 0.); >>> glEnd();} >>> >>> >>> int main(int, char *[]) >>> { >>> std::cout << "Main" << std::endl; >>> // Create three points. Join (Origin and P0) with a red line and >>> // (Origin and P1) with a green line >>> double origin[3] = {0.0, 0.0, 0.0}; >>> double p0[3] = {1.0, 0.0, 0.0}; >>> double p1[3] = {0.0, 1.0, 0.0}; >>> >>> // Create a vtkPoints object and store the points in it >>> vtkSmartPointer pts = >>> vtkSmartPointer::New(); >>> pts->InsertNextPoint(origin); >>> pts->InsertNextPoint(p0); >>> pts->InsertNextPoint(p1); >>> >>> // Setup two colors - one for each line >>> unsigned char red[3] = {255, 0, 0}; >>> unsigned char green[3] = {0, 255, 0}; >>> >>> // Setup the colors array >>> vtkSmartPointer colors = >>> vtkSmartPointer::New(); >>> colors->SetNumberOfComponents(3); >>> colors->SetName("Colors"); >>> >>> // Add the colors we created to the colors array >>> colors->InsertNextTupleValue(red); >>> colors->InsertNextTupleValue(green); >>> >>> // Create the first line (between Origin and P0) >>> vtkSmartPointer line0 = >>> vtkSmartPointer::New(); >>> line0->GetPointIds()->SetId(0,0); //the second 0 is the index of the >>> Origin in the vtkPoints >>> line0->GetPointIds()->SetId(1,1); //the second 1 is the index of P0 in >>> the vtkPoints >>> >>> // Create the second line (between Origin and P1) >>> vtkSmartPointer line1 = >>> vtkSmartPointer::New(); >>> line1->GetPointIds()->SetId(0,0); //the second 0 is the index of the >>> Origin in the vtkPoints >>> line1->GetPointIds()->SetId(1,2); //2 is the index of P1 in the >>> vtkPoints >>> >>> // Create a cell array to store the lines in and add the lines to it >>> vtkSmartPointer lines = >>> vtkSmartPointer::New(); >>> lines->InsertNextCell(line0); >>> lines->InsertNextCell(line1); >>> >>> // Create a polydata to store everything in >>> vtkSmartPointer linesPolyData = >>> vtkSmartPointer::New(); >>> >>> // Add the points to the dataset >>> linesPolyData->SetPoints(pts); >>> >>> // Add the lines to the dataset >>> linesPolyData->SetLines(lines); >>> >>> // Color the lines - associate the first component (red) of the >>> // colors array with the first component of the cell array (line 0) >>> // and the second component (green) of the colors array with the >>> // second component of the cell array (line 1) >>> linesPolyData->GetCellData()->SetScalars(colors); >>> >>> // Visualize >>> vtkSmartPointer mapper = >>> vtkSmartPointer::New(); >>> #if VTK_MAJOR_VERSION <= 5 >>> mapper->SetInput(linesPolyData); >>> #else >>> mapper->SetInputData(linesPolyData); >>> #endif >>> >>> vtkSmartPointer actor = >>> vtkSmartPointer::New(); >>> actor->SetMapper(mapper); >>> >>> vtkSmartPointer mapperGL = >>> vtkSmartPointer::New(); >>> >>> >>> vtkSmartPointer actorGL = >>> vtkSmartPointer::New(); >>> actorGL->SetMapper(mapperGL); >>> >>> vtkSmartPointer renderer = >>> vtkSmartPointer::New(); >>> vtkSmartPointer renderWindow = >>> vtkSmartPointer::New(); >>> renderWindow->AddRenderer(renderer); >>> vtkSmartPointer renderWindowInteractor = >>> vtkSmartPointer::New(); >>> renderWindowInteractor->SetRenderWindow(renderWindow); >>> renderer->AddActor(actor); >>> renderer->AddActor(actorGL); >>> >>> renderWindow->Render(); >>> renderWindowInteractor->Start(); >>> >>> return EXIT_SUCCESS; >>> } >>> >>> >>> >>> when I run the above code, I see the vtk lines but the OpenGL lines are >>> missing and no output is printed in the console signaling that the code is >>> being called. >>> >>> >>> thanks for your time >>> >>> >>> >>> >>> On Wed, Apr 1, 2015 at 3:23 PM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> >>>> It's much harder In OpenGL backend because of the architecture. If you >>>> can provide more detail on exactly what you did, we could probably help. I >>>> would suggest switching to OpenGL2 backend. >>>> >>>> - Aashish >>>> >>>> On Wed, Apr 1, 2015 at 4:33 AM, Sergio Vera >>>> wrote: >>>> >>>>> >>>>> I'm using the OpenGL backend since I'm using vtk5.10 (CTK >>>>> compatibility) >>>>> >>>>> On Tue, Mar 31, 2015 at 6:38 PM, Aashish Chaudhary < >>>>> aashish.chaudhary at kitware.com> wrote: >>>>> >>>>>> Are using OpenGL2 or OpenGL backend? >>>>>> >>>>>> On Tue, Mar 31, 2015 at 12:13 PM, Sergio Vera >>>>> > wrote: >>>>>> >>>>>>> Thanks, >>>>>>> I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an >>>>>>> ordinary actor and added the actor to the renderer. >>>>>>> It seems that neigher Draw() nor RenderPiece() methods of the mapper >>>>>>> are being called and my simple gl code snipped is not being rendered. >>>>>>> >>>>>>> Any additional hints? >>>>>>> >>>>>>> Thanks in advance >>>>>>> >>>>>>> On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary < >>>>>>> aashish.chaudhary at kitware.com> wrote: >>>>>>> >>>>>>>> there is no easy way. You will have to write your own >>>>>>>> mapper. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera < >>>>>>>> sergio.vera at alma3d.com> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> Hello vtk Users >>>>>>>>> >>>>>>>>> I'm trying to insert opengl calls inside vtk. So far I have seen >>>>>>>>> examples of the opposite, insert vtk into opengl. >>>>>>>>> >>>>>>>>> There is the suggestion somewhere on the list of using the render >>>>>>>>> methods of vtkMapper or vtkprops but no definite example >>>>>>>>> >>>>>>>>> Where is the best way to do it? >>>>>>>>> >>>>>>>>> thanks in advance >>>>>>>>> -- >>>>>>>>> Sergio Vera >>>>>>>>> >>>>>>>>> Alma IT Systems >>>>>>>>> C/ Vilana, 4B, 4? 1? >>>>>>>>> 08022 Barcelona >>>>>>>>> T. (+34) 932 380 592 >>>>>>>>> www.alma3d.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 >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>>>>> * >>>>>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>>>>> * >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sergio Vera >>>>>>> >>>>>>> Alma IT Systems >>>>>>> C/ Vilana, 4B, 4? 1? >>>>>>> 08022 Barcelona >>>>>>> T. (+34) 932 380 592 >>>>>>> www.alma3d.com >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>>>> * >>>>>> *| http://www.kitware.com/company/team/chaudhary.html >>>>>> * >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sergio Vera >>>>> >>>>> Alma IT Systems >>>>> C/ Vilana, 4B, 4? 1? >>>>> 08022 Barcelona >>>>> T. (+34) 932 380 592 >>>>> www.alma3d.com >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>> * >>>> *| http://www.kitware.com/company/team/chaudhary.html >>>> * >>>> >>> >>> >>> >>> -- >>> Sergio Vera >>> >>> Alma IT Systems >>> C/ Vilana, 4B, 4? 1? >>> 08022 Barcelona >>> T. (+34) 932 380 592 >>> www.alma3d.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 >>> >>> >> > > > -- > 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 jose.de.paula at live.com Fri Apr 10 11:08:24 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Fri, 10 Apr 2015 08:08:24 -0700 (MST) Subject: [vtkusers] vtkSplineDrivenImageSlicer Message-ID: <1428678504302-5731433.post@n5.nabble.com> Hello users, I'm having trouble implementing the vtkSplineDrivenImageSlicer class. ? The problem is actually my way out, I should get a dental panoramic. I do not understand why imageAppend returns blank. Can you help me? private: void CriarPano(){ vtkSmartPointer imgReader = vtkSmartPointer::New(); vtkSmartPointer pathReader = vtkSmartPointer::New(); vtkSmartPointer append = vtkSmartPointer::New(); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); vtkSmartPointer imageViewer = vtkSmartPointer< vtkImageViewer2>::New(); imgReader->SetDirectoryName("C:\\Users\\jose.barreto.EX_DENTAL\\Desktop\\Dentascan"); pathReader->SetFileName("C:\\Users\\jose.barreto.EX_DENTAL\\Desktop\\git exemplo\\src\\Documentation\\Resources\\closed_curve.vtp"); pathReader->Update(); imgReader->Update(); reslicerGlobal->SetInputConnection(0, imgReader->GetOutputPort()); reslicerGlobal->SetInputConnection(1, pathReader->GetOutputPort()); reslicerGlobal->SetSliceExtent(512, 512); reslicerGlobal->SetSliceSpacing(0.75, 0.75); //reslicerGlobal->SetSliceThickness(0.4); reslicerGlobal->Update(); int nbPoints = pathReader->GetOutput()->GetNumberOfPoints(); for (int ptId = 0; ptId < nbPoints; ptId++) { reslicerGlobal->SetOffsetPoint(ptId); reslicerGlobal->Update(); vtkSmartPointer tempSlice = vtkSmartPointer::New(); tempSlice->DeepCopy(reslicerGlobal->GetOutput(0)); append->AddInputData(tempSlice); } append->SetAppendAxis(2); append->Update(); imageViewer->SetInputConnection(append->GetOutputPort()); //adicionar a visualiza??o ao panel imageViewer->SetParentId(panel1->Handle.ToPointer()); imageViewer->SetSize(panel1->Width, panel1->Height); imageViewer->SetupInteractor(renderWindowInteractor); imageViewer->Render(); imageViewer->GetRenderer()->ResetCamera(); imageViewer->Render(); renderWindowInteractor->Start(); } -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkSplineDrivenImageSlicer-tp5731433.html Sent from the VTK - Users mailing list archive at Nabble.com. From ben.boeckel at kitware.com Fri Apr 10 11:39:54 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 10 Apr 2015 11:39:54 -0400 Subject: [vtkusers] Running vtk into blender In-Reply-To: <1428656607314-5731429.post@n5.nabble.com> References: <1428656607314-5731429.post@n5.nabble.com> Message-ID: <20150410153954.GB23313@megas.kitware.com> On Fri, Apr 10, 2015 at 02:03:27 -0700, Laurent wrote: > Is there a way to force a backward compatibility to blender and its python > interpreter to import a python 2.7 library? Sorry, I really doubt there is. Using a Python2-based version of Blender would be the simplest solution right now. > Do we have any chance to make vtk (python 2.7) working into blender (python > 3.4)? Porting VTK to Python3 is non-trivial. David Gobbi has a list of things that must be done to support it, but mixing Python3 and Python2 from C code is not possible (pure Python can use the six module to be ambi-versioned). --Ben From jose.de.paula at live.com Fri Apr 10 13:24:50 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Fri, 10 Apr 2015 10:24:50 -0700 (MST) Subject: [vtkusers] Creating a 3DImageData from slices In-Reply-To: <12791027.2230761211986221419.JavaMail.www@wwinf2214> References: <33180705.247281211466337818.JavaMail.www@wwinf1a10> <12791027.2230761211986221419.JavaMail.www@wwinf2214> Message-ID: <1428686690359-5731435.post@n5.nabble.com> You could exibit the image? my remains black -- View this message in context: http://vtk.1045678.n5.nabble.com/Creating-a-3DImageData-from-slices-tp1239514p5731435.html Sent from the VTK - Users mailing list archive at Nabble.com. From serge at infolytica.com Fri Apr 10 15:35:23 2015 From: serge at infolytica.com (Serge Lalonde) Date: Fri, 10 Apr 2015 15:35:23 -0400 Subject: [vtkusers] [MASSMAIL] How to set a global transformation In-Reply-To: <55255857.5030709@infolytica.com> References: <55255857.5030709@infolytica.com> Message-ID: <552825FB.2090901@infolytica.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Rendering.zip Type: application/x-zip-compressed Size: 58097 bytes Desc: not available URL: From rahulsoni at immt.res.in Sat Apr 11 04:44:00 2015 From: rahulsoni at immt.res.in (Rahul Kumar Soni) Date: Sat, 11 Apr 2015 14:14:00 +0530 Subject: [vtkusers] libvtk5-dev alternative for cygwin in windows Message-ID: Hi vtk users I am trying to install LIGGGHTS - an open source package with the vtk support. When I installed LIGGGHTS in ubuntu, I had to install libvtk5-dev with the command sudo apt-get install libvtk5-dev (see step 1 in http://www.cfdem.com/forums/liggghts-installation-guide-ubuntu-1204-lts-and-1304 ). Now, I am trying to install LIGGGHTS in windows through cygwin terminal. I have successfully installed cmake and compiled vtk-5.10.1. However, while compiling LIGGGHTS, it throws following message: ltering -lvtkIO -lstdc++ -o ../lmp_ubuntuVTK /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkCommon /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkFiltering /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkIO collect2: error: ld returned 1 exit status Makefile:96: recipe for target '../lmp_ubuntuVTK' failed make[1]: *** [../lmp_ubuntuVTK] Error 1 make[1]: Leaving directory '/cygdrive/c/cygwin64/home/RahulKumar/LIGGGHTS-PUBLIC310/src/Obj_ubuntuVTK' Makefile:77: recipe for target 'ubuntuVTK' failed make: *** [ubuntuVTK] Error 2 I believe that like in ubuntu I installed libvtk5-dev in ubuntu, I haven't found any alternative for cygwin in windows. Please help me to solve the issue. -- Sincerely Rahul Kumar Soni Scientist, Institute of Minerals & Materials Technology Council of Scientific & Industrial Research, Govt. of India -------------- next part -------------- An HTML attachment was scrubbed... URL: From rahul at ismu.ac.in Sat Apr 11 04:45:13 2015 From: rahul at ismu.ac.in (Rahul Kumar Soni) Date: Sat, 11 Apr 2015 14:15:13 +0530 Subject: [vtkusers] libvtk5-dev alternative for cygwin in windows Message-ID: -- SincereHi vtk users I am trying to install LIGGGHTS - an open source package with the vtk support. When I installed LIGGGHTS in ubuntu, I had to install libvtk5-dev with the command sudo apt-get install libvtk5-dev (see step 1 in http://www.cfdem.com/forums/liggghts-installation-guide-ubuntu-1204-lts-and-1304 ). Now, I am trying to install LIGGGHTS in windows through cygwin terminal. I have successfully installed cmake and compiled vtk-5.10.1. However, while compiling LIGGGHTS, it throws following message: ltering -lvtkIO -lstdc++ -o ../lmp_ubuntuVTK /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkCommon /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkFiltering /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lvtkIO collect2: error: ld returned 1 exit status Makefile:96: recipe for target '../lmp_ubuntuVTK' failed make[1]: *** [../lmp_ubuntuVTK] Error 1 make[1]: Leaving directory '/cygdrive/c/cygwin64/home/RahulKumar/LIGGGHTS-PUBLIC310/src/Obj_ubuntuVTK' Makefile:77: recipe for target 'ubuntuVTK' failed make: *** [ubuntuVTK] Error 2 I believe that like in ubuntu I installed libvtk5-dev in ubuntu, I haven't found any alternative for cygwin in windows. Please help me to solve the issue. ly Rahul Kumar Soni Scientist, Institute of Minerals & Materials Technology Council of Scientific & Industrial Research, Govt. of India -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.lasson at institutmaupertuis.fr Mon Apr 13 10:21:02 2015 From: francois.lasson at institutmaupertuis.fr (Francois Lasson) Date: Mon, 13 Apr 2015 16:21:02 +0200 Subject: [vtkusers] VTK wrong normal detection In-Reply-To: <552BCB5E.902@institutmaupertuis.fr> References: <552BCB5E.902@institutmaupertuis.fr> Message-ID: <552BD0CE.1080104@institutmaupertuis.fr> Hello, I'm working on a project in which I need to make a normal detection on a vtkPolyData. I'm using a vtkPLYReader to fill the vtkPolyData, when the mesh is centered on (0,0,0) the normal detection works ( Image : Without translation ). However, as soon as I translate the mesh (1 meter on X, 1 meter on Y), the normal detection fails. (Image : With translation ) Please find PLY files and the code enclosed to this mail. Thank you, Fran?ois Lasson. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vtk_wrong_normal_estimation.zip Type: application/zip Size: 82514 bytes Desc: not available URL: From jim at jslengineeringsoftware.com Mon Apr 13 11:59:23 2015 From: jim at jslengineeringsoftware.com (James Labiak) Date: Mon, 13 Apr 2015 11:59:23 -0400 Subject: [vtkusers] 32 bit compiling In-Reply-To: References: Message-ID: <552BE7DB.1000007@jslengineeringsoftware.com> Thanks to everyone for the suggestions, but I'm still having trouble. To compile for 32 bit on a Win7 64 bit machine with VS 12 Express, I start with a clean tree in CMake 3.2.1 (via delete cache). I set compiler for VS 12 (32 bit version option) I check Java wrapper. Also, I add variable CMAKE_SIZE_OF_VOIDP with value=4. It seems that this variable is probably required(?). I have also tried a number of other entries from searching/replies such as below (and combinations), but VS build always fails with errors. Does anyone have a list of any (or other) variables required in order to make this work? Simply using default tree with Java wrapper and 32 bit VS 12 doesn't work either. Thanks, Jim CMAKE_SIZE_OF_VOIDP 4 IS_64_BIT 0 BIT_3264 32 BIT_64_ VS_3264 Win32 Date: Tue, 31 Mar 2015 03:52:42 -0700 From: Kenneth Porter To:vtkusers at vtk.org Subject: Re: [vtkusers] 32 bit compiling Message-ID:<838252650B262EFB23C7817A@[10.170.7.34]> Content-Type: text/plain; charset=us-ascii; format=flowed See my post from a few days ago with the script I'm using to build 32 and 64 bit variations on 3 compilers, both static and dynamic linking to the C++ runtime. From mdrahos at thinksurgical.com Mon Apr 13 15:53:21 2015 From: mdrahos at thinksurgical.com (Miroslav Drahos) Date: Mon, 13 Apr 2015 12:53:21 -0700 Subject: [vtkusers] picking widget behind vtkImageActor Message-ID: Hi VTK folks, I am rendering vtkImageActor and a bunch of vtkHandleWidget widgets in the scene. vtkImageActor (its mapper) is setup to slice at the focal point and always face camera, and Pickable is set to 1. The problem is that the handle widget is picked even when it is hidden beyond the vtkImageActor slice, which is not what I want -- I would like the picking to stop at the first prop encountered. I believe that the handle widget's picker is setup to pick from list, and the widget rep is the only prop in the list, so the picker ignores vtkImageActor completely. I am trying to come up with a solution so that when the picking ray hits the image actor, it stops and all other props behind it are ignored. I could add the imageactor to the handle rep's picker, and then check whether image was picked, but it seems like a heavy-handed solution, especially since I am using multiple different representations at the same time. Anyone has encountered this before or has an idea how to prevent the picking behind vtkImageActor? Thank you tons, Miro From gregthom992 at gmail.com Mon Apr 13 16:14:41 2015 From: gregthom992 at gmail.com (gregthom992) Date: Mon, 13 Apr 2015 13:14:41 -0700 (MST) Subject: [vtkusers] wxVTKRenderWindowInteractor outside of wxFrame Message-ID: <1428956081074-5731444.post@n5.nabble.com> Hi All, I am having trouble setting up a framework for use with wxVTKRenderWindowInteractor. Basically I use a aui.AuiManager with four panes which should each carry a window defined by wxVTKRenderWindowInteractor. Can someone help explain why my MWE below only shows the vtk render windows outside of the frame instead of within the four panes ? Thanks Greg Thom import vtk from vtk.wx.wxVTKRenderWindowInteractor import wxVTKRenderWindowInteractor import wx import wx.lib.agw.aui as aui class MyFrame(wx.Frame): """ Class of Frame. """ def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title) self.Show() self.__mgr = aui.AuiManager(self, agwFlags=aui.AUI_MGR_USE_NATIVE_MINIFRAMES|aui.AUI_MGR_ALLOW_ACTIVE_PANE) # create four views style = wx.WANTS_CHARS or wx.NO_FULL_REPAINT_ON_RESIZE self.__viewInteractor1 = wxVTKRenderWindowInteractor(self, wx.ID_ANY, style=style) self.__Renderer1 = vtk.vtkRenderer() self.__viewInteractor1.GetRenderWindow().AddRenderer(self.__Renderer1) self.__viewInteractor1.Enable(1) self.__viewInteractor2 = wxVTKRenderWindowInteractor(self, wx.ID_ANY, style=style) self.__Renderer2 = vtk.vtkRenderer() self.__viewInteractor2.GetRenderWindow().AddRenderer(self.__Renderer2) self.__viewInteractor2.Enable(1) self.__viewInteractor3 = wxVTKRenderWindowInteractor(self, wx.ID_ANY, style=style) self.__Renderer3 = vtk.vtkRenderer() self.__viewInteractor3.GetRenderWindow().AddRenderer(self.__Renderer3) self.__viewInteractor3.Enable(1) self.__viewInteractor4 = wxVTKRenderWindowInteractor(self, wx.ID_ANY, style=style) self.__Renderer4 = vtk.vtkRenderer() self.__viewInteractor4.GetRenderWindow().AddRenderer(self.__Renderer4) self.__viewInteractor4.Enable(1) self.viewpane1 = self.__mgr.AddPane(self.__viewInteractor1, aui.AuiPaneInfo().Name('View 1').Center().Row(0).CloseButton(False).MaximizeButton(True).DestroyOnClose(False) ) self.viewpane2 = self.__mgr.AddPane(self.__viewInteractor2, aui.AuiPaneInfo().Name('View 2').Center().Row(0).CloseButton(False).MaximizeButton(True).DestroyOnClose(False) ) self.viewpane3 = self.__mgr.AddPane(self.__viewInteractor3, aui.AuiPaneInfo().Name('View 3').Center().Row(1).CloseButton(False).MaximizeButton(True).DestroyOnClose(False) ) self.viewpane4 = self.__mgr.AddPane(self.__viewInteractor4, aui.AuiPaneInfo().Name('View 4').Center().Row(1).CloseButton(False).MaximizeButton(True).DestroyOnClose(False) ) self.__mgr.Update() # image data imagedata = vtk.vtkImageData() # View3D self.__view3D = vtk.vtkImageViewer2() self.__view3D.GlobalWarningDisplayOff() self.__view3D.SetInput(imagedata) self.__view3D.SetupInteractor(self.__viewInteractor4) self.__view3D.SetRenderWindow(self.__viewInteractor4.GetRenderWindow()) # View2D - XY plane self.__viewxy = vtk.vtkImageViewer2() self.__viewxy.GlobalWarningDisplayOff() self.__viewxy.SetInput(imagedata) self.__viewxy.SetupInteractor(self.__viewInteractor1) self.__viewxy.SetRenderWindow(self.__viewInteractor1.GetRenderWindow()) self.__viewxy.SetSliceOrientationToXY() # View2D - YZ plane self.__viewyz = vtk.vtkImageViewer2() self.__viewyz.GlobalWarningDisplayOff() self.__viewyz.SetInput(imagedata) self.__viewyz.SetupInteractor(self.__viewInteractor2) self.__viewyz.SetRenderWindow(self.__viewInteractor2.GetRenderWindow()) self.__viewyz.SetSliceOrientationToYZ() # View2D - XZ plane self.__viewxz = vtk.vtkImageViewer2() self.__viewxz.GlobalWarningDisplayOff() self.__viewxz.SetInput(imagedata) self.__viewxz.SetupInteractor(self.__viewInteractor3) self.__viewxz.SetRenderWindow(self.__viewInteractor3.GetRenderWindow()) self.__viewxz.SetSliceOrientationToXZ() app = wx.App(False) frame = MyFrame(None, 'MWE') app.MainLoop() -- View this message in context: http://vtk.1045678.n5.nabble.com/wxVTKRenderWindowInteractor-outside-of-wxFrame-tp5731444.html Sent from the VTK - Users mailing list archive at Nabble.com. From s.fowler at tecplot.com Mon Apr 13 16:39:40 2015 From: s.fowler at tecplot.com (Scott Fowler) Date: Mon, 13 Apr 2015 20:39:40 +0000 Subject: [vtkusers] Problem running H5make_libsettings.exe when building VTK 6.2 Message-ID: <57ff1ed9a6e84e828fe25c596dbf9288@TPS005.amtec.org> All, I'm trying to build VTK 6.2 for Windows 64-bit using Visual Studio 2008. When building vtkhdf5 I get an error when it tries to run H5make_libsettings.exe: Here's the error: 23>------ Rebuild All started: Project: vtkhdf5, Configuration: Debug x64 ------ 23>Deleting intermediate and output files for project 'vtkhdf5', configuration 'Debug|x64' 23>Generating ../H5lib_settings.c 23>The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. 23>Project : error PRJ0019: A tool returned an error code from "Generating ../H5lib_settings.c" And here's the message in the Event Viewer: Activation context generation failed for "e:\builds\vtk6.2.0_Qt4.8.6_vs2008\bin\Debug\H5make_libsettings.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.6161" could not be found. Please use sxstrace.exe for detailed diagnosis. I have the 32-bit debug version of this side-by-side assembly on my machine, but not 64-bit. I have the release versions for both 32- and 64-bit so my Release build works fine. Any idea how I can build the debug version of VTK 6.2 for x64 when I'm missing the debug side-by-side? I've tried Windows updates and searching MSDN for the side-by-side, but no luck so far. Thanks for the help. Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Tue Apr 14 14:26:33 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Tue, 14 Apr 2015 11:26:33 -0700 (MST) Subject: [vtkusers] vtkImageAppend is black Message-ID: <1429035993115-5731452.post@n5.nabble.com> Hello, I am using gtk Image Append, add a set of cuts made by vtkSplineDrivenImageSlicer, but to put on the screen, I get a black object. This is my code, I tried already changing in every way, both input when screen output. Also generated a .vti and open in ParaViewer even more yes objtive image data. Can anyone help me? private: vtkXMLImageDataReader* imgReader; private: vtkXMLPolyDataReader* pathReader; private: vtkSplineDrivenImageSlicer* reslicer; private: vtkImageAppend* append1 = vtkImageAppend::New(); private: System::Void vTIToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) { imgReader = vtkXMLImageDataReader::New(); pathReader = vtkXMLPolyDataReader::New(); reslicer = vtkSplineDrivenImageSlicer::New(); imgReader->SetFileName("C:\\Users\\jose.barreto.EX_DENTAL\\Desktop\\vtk.vti"); imgReader->Update(); pathReader->SetFileName("C:\\Users\\jose.barreto.EX_DENTAL\\Desktop\\git exemplo\\src\\Documentation\\Resources\\closed_curve.vtp"); pathReader->Update(); reslicer->SetInputConnection(imgReader->GetOutputPort()); reslicer->SetPathConnection(pathReader->GetOutputPort()); //reslicer->ProbeInputOn(); reslicer->SetSliceExtent(250, 200); reslicer->SetSliceSpacing(0.2, 0.1); reslicer->SetSliceThickness(0.4); reslicer->Update(); } private: System::Void toolStripMenuItem2_Click(System::Object^ sender, System::EventArgs^ e) { //TrocarCorte(20); //append1 = vtkSmartPointer::New(); int nbPoints = pathReader->GetOutput()->GetNumberOfPoints(); for (int ptId = 0; ptId < nbPoints; ptId++) { reslicer->SetOffsetPoint(ptId); reslicer->Update(); vtkSmartPointer tempSlice; tempSlice = vtkSmartPointer::New(); tempSlice->DeepCopy(reslicer->GetOutput(0)); append1->AddInputData(reslicer->GetOutput(0)); } append1->SetAppendAxis(2); append1->Update(); //vtkSmartPointer table = vtkSmartPointer::New(); //table->SetRange(0, 2000); // image intensity range //table->SetValueRange(0.0, 1.0); // from black to white //table->SetSaturationRange(0.0, 0.0); // no color saturation //table->SetRampToLinear(); //table->Build(); //// Map the image through the lookup table //vtkSmartPointer color = vtkSmartPointer::New(); //color->SetLookupTable(table); //color->SetInputConnection(reslicer->GetOutputPort()); //// Display the image //vtkSmartPointer actor = vtkSmartPointer::New(); //actor->GetMapper()->SetInputConnection(color->GetOutputPort()); vtkImageResliceMapper* im = vtkImageResliceMapper::New(); im->SetInputConnection(append1->GetOutputPort()); im->SliceFacesCameraOn(); im->SliceAtFocalPointOn(); im->BorderOff(); vtkImageProperty* ip = vtkImageProperty::New(); ip->SetColorWindow(2000); ip->SetColorLevel(1000); ip->SetAmbient(0.0); ip->SetDiffuse(1.0); ip->SetOpacity(1.0); ip->SetInterpolationTypeToLinear(); vtkImageSlice* ia = vtkImageSlice::New(); ia->SetMapper(im); ia->SetProperty(ip); vtkSmartPointer renderer = vtkSmartPointer::New(); renderer->AddViewProp(ia); vtkRenderWindow* window = vtkRenderWindow::New(); window->SetParentId(plVisualizacao->Handle.ToPointer()); window->SetSize(plVisualizacao->Width, plCorte1->Height); window->AddRenderer(renderer); // Set up the interaction vtkSmartPointer imageStyle = vtkSmartPointer::New(); imageStyle->SetInteractionModeToImage3D(); vtkSmartPointer interactor = vtkSmartPointer::New(); interactor->SetInteractorStyle(imageStyle); window->SetInteractor(interactor); /* vtkCamera* cam1 = renderer->GetActiveCamera(); cam1->ParallelProjectionOn();*/ window->Render(); interactor->Start(); } -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageAppend-is-black-tp5731452.html Sent from the VTK - Users mailing list archive at Nabble.com. From ich_daniel at habmalnefrage.de Wed Apr 15 10:25:52 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Wed, 15 Apr 2015 07:25:52 -0700 (MST) Subject: [vtkusers] Error by using of dicom images on 32bit windows In-Reply-To: <1427872334406-5731278.post@n5.nabble.com> References: <1427872334406-5731278.post@n5.nabble.com> Message-ID: <1429107952882-5731458.post@n5.nabble.com> The mentioned problem does not occur with vtk 6.1. In addition, no GDCM was used. It was possible to load DICOM data sets with more than 560 images. Why does not work with the combination of vtk 6.2 and GDCM (and vtkdicom)? -- View this message in context: http://vtk.1045678.n5.nabble.com/Error-by-using-of-dicom-images-on-32bit-windows-tp5731278p5731458.html Sent from the VTK - Users mailing list archive at Nabble.com. From ich_daniel at habmalnefrage.de Wed Apr 15 10:35:56 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Wed, 15 Apr 2015 07:35:56 -0700 (MST) Subject: [vtkusers] Help when using vtkLookupTable (above and below of a range) In-Reply-To: <1427887130955-5731282.post@n5.nabble.com> References: <1427887130955-5731282.post@n5.nabble.com> Message-ID: <1429108556790-5731459.post@n5.nabble.com> Hi, I want to specify a color range with only three colors. A color below my range, a color for above and one for inside. How can I implement it? Does anyone have a hint? -- View this message in context: http://vtk.1045678.n5.nabble.com/Help-when-using-vtkLookupTable-above-and-below-of-a-range-tp5731282p5731459.html Sent from the VTK - Users mailing list archive at Nabble.com. From godimarcovr at gmail.com Wed Apr 15 11:10:33 2015 From: godimarcovr at gmail.com (WeltMarco) Date: Wed, 15 Apr 2015 08:10:33 -0700 (MST) Subject: [vtkusers] Missing vtkShader2 and others on VTK 6.2 Message-ID: <1429110633277-5731460.post@n5.nabble.com> Hello, i was working on a project using VTK6.1, but i had some problems that hopefully should not occur on VTK6.2. Upon adding VTK 6.2 on my project i have problems on a class i have which uses vtkShader2.h, vtkgl.h, vtkShaderProgram2.h, vtkShader2Collection.h and vtkUniformVariables.h. All of these are missing from my include folder. Looking in my VTK source directory i found these files, but for reason they are not included in the INSTALL folder resulting from VTK compilation. Is there a reason for this? Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/Missing-vtkShader2-and-others-on-VTK-6-2-tp5731460.html Sent from the VTK - Users mailing list archive at Nabble.com. From bill.lorensen at gmail.com Wed Apr 15 17:06:02 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 15 Apr 2015 17:06:02 -0400 Subject: [vtkusers] VTK Wiki Examples migrating to gitlab Message-ID: Folks, The VTK WIki Examples code repo has been hosted on gitorious.org since the beginning. gitlab.com has purchased gitorious and will kill the site in the near future. In the next couple of weeks, I'll move the wiki examples to gitlab.com. I don't expect any problems, but a few hiccups may occur with web links. The gitorious site has always been flaky. I hope gitlab will be more robust! I'll keep you posted, Bill] From berk.geveci at kitware.com Wed Apr 15 18:32:33 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 15 Apr 2015 18:32:33 -0400 Subject: [vtkusers] VTK Wiki Examples migrating to gitlab In-Reply-To: References: Message-ID: Why not move it to gitlab.kitware.com? You can easily create a repo there. Or even better, someone can create a repo under the VTK group so the examples repo would be a sibling of the VTK repo... On Wed, Apr 15, 2015 at 5:06 PM, Bill Lorensen wrote: > Folks, > > The VTK WIki Examples code repo has been hosted on gitorious.org since > the beginning. gitlab.com has purchased gitorious and will kill the > site in the near future. In the next couple of weeks, I'll move the > wiki examples to gitlab.com. I don't expect any problems, but a few > hiccups may occur with web links. The gitorious site has always been > flaky. I hope gitlab will be more robust! > > I'll keep you posted, > > Bill] > _______________________________________________ > 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 Wed Apr 15 20:07:23 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Wed, 15 Apr 2015 20:07:23 -0400 Subject: [vtkusers] VTK Wiki Examples migrating to gitlab In-Reply-To: References: Message-ID: Will do. On Apr 15, 2015 6:33 PM, "Berk Geveci" wrote: > Why not move it to gitlab.kitware.com? You can easily create a repo > there. Or even better, someone can create a repo under the VTK group so the > examples repo would be a sibling of the VTK repo... > > On Wed, Apr 15, 2015 at 5:06 PM, Bill Lorensen > wrote: > >> Folks, >> >> The VTK WIki Examples code repo has been hosted on gitorious.org since >> the beginning. gitlab.com has purchased gitorious and will kill the >> site in the near future. In the next couple of weeks, I'll move the >> wiki examples to gitlab.com. I don't expect any problems, but a few >> hiccups may occur with web links. The gitorious site has always been >> flaky. I hope gitlab will be more robust! >> >> I'll keep you posted, >> >> Bill] >> _______________________________________________ >> 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 luoxiayizhi at 163.com Thu Apr 16 02:59:10 2015 From: luoxiayizhi at 163.com (luoxiayizhi) Date: Thu, 16 Apr 2015 14:59:10 +0800 Subject: [vtkusers] VTK4.0 in VTK6.1 Message-ID: <60fba5c9.3880.14cc1062bee.Coremail.luoxiayizhi@163.com> Hello, I have downloaded a VTK project online. It is building with VTK4.0 but I am using VTK6.1. When I cmake , there is an error---- CMake Error at CMakeCommon.txt:4 (VTK_MAKE_INSTANTIATOR3): Unknown CMake command "VTK_MAKE_INSTANTIATOR3". Call Stack (most recent call first): hierarchicalspatialhashing_vtk/CMakeLists.txt:54 (INCLUDE) I try to delete #SET(VTK_USE_INSTANTIATOR_NEW 1) VTK_MAKE_INSTANTIATOR3( "${LIBRARY_NAME}Instantiator" INSTANTIATOR_SOURCES "${SOURCES}" VTK_EXPORT ${PROJECT_BINARY_DIR} "" ) from camkecommon.txt in the package, after cmake ,I run the project in VS2012, but it failed again, and there are many errors like cannot find LINK : fatal error LNK1104: cannot open file?vtkFiltering.lib?. How can I solve this problem? Bests, Crystal -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill.lorensen at gmail.com Thu Apr 16 11:00:21 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Thu, 16 Apr 2015 11:00:21 -0400 Subject: [vtkusers] VTK Wiki Examples migrating to gitlab In-Reply-To: References: Message-ID: Berk, I have decided to use github. That is where the itk wiki examples reside. Also, I don't need all of the extra stuff that gitlab provides. Most commits to the examples' repo's are automated through scripting. Bill On Wed, Apr 15, 2015 at 8:07 PM, Bill Lorensen wrote: > Will do. > > On Apr 15, 2015 6:33 PM, "Berk Geveci" wrote: >> >> Why not move it to gitlab.kitware.com? You can easily create a repo there. >> Or even better, someone can create a repo under the VTK group so the >> examples repo would be a sibling of the VTK repo... >> >> On Wed, Apr 15, 2015 at 5:06 PM, Bill Lorensen >> wrote: >>> >>> Folks, >>> >>> The VTK WIki Examples code repo has been hosted on gitorious.org since >>> the beginning. gitlab.com has purchased gitorious and will kill the >>> site in the near future. In the next couple of weeks, I'll move the >>> wiki examples to gitlab.com. I don't expect any problems, but a few >>> hiccups may occur with web links. The gitorious site has always been >>> flaky. I hope gitlab will be more robust! >>> >>> I'll keep you posted, >>> >>> Bill] >>> _______________________________________________ >>> 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 richard.j.brown at live.co.uk Thu Apr 16 12:53:51 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Thu, 16 Apr 2015 09:53:51 -0700 (MST) Subject: [vtkusers] spheres creating a scalar field of absorbed dose (possibly using vtkStructuredGrid) Message-ID: <1429203231996-5731487.post@n5.nabble.com> Hello all, I have several spheres containing radiation placed in a tumour and I want to find out the absorbed dose in the tumour and the surrounding organs. I know the absorbed dose as a function of distance, so I was hoping to superimpose all these radiation points to create a scalar field containing the distribution of absorbed dose. After that I was hoping to intersect the scalar field with VOIs, which are stored as 3D contours, to get the DVH, maximum absorbed dose and average absorbed dose for each VOI. As a bonus, I would also like to be able to drag and drop radiation spheres and for the values to update in real time. If possible, I would like to be able to update the scalar field instantaneously after altering the position of the radiation spheres. That is, if I can avoid having to loop over every voxel in my scan to calculate the absorbed dose distribution, it would be preferable. I thought about creating a vtkStructuredGrid once, saving it then simply loading it and adding all the spheres to a blank vtkStructuredGrid in the relevant position. However, visualising the process below shows nothing. I'm also not sure on how to superimpose points or what the canvas should be that the vtkStructuredGrid for each sphere gets added to should be. I guess it should have the same dimensions and spacing as my DICOMs - so does that mean I should use vtkImageData? Any ideas? vtkSmartPointer points= vtkSmartPointer::New(); vtkSmartPointer absorbedDoses = vtkSmartPointer::New(); absorbedDoses->SetNumberOfComponents(1); // 1=scalar, 3=vector double absorbedDose; double rMax = 6.65; double x,y,z; for (double r=0; r<=rMax; r+=0.05) { // I know absorbed dose to precision of 0.05mm for (double theta=0; theta<2*vtkMath::Pi(); theta+=2*vtkMath::Pi()/18) { for (double phi=0; phiInsertNextPoint(x,y,z); absorbedDose = getAbsorbedDose(r); absorbedDoses->InsertNextValue(absorbedDose); } } } vtkSmartPointer grid = vtkSmartPointer::New(); grid->SetPoints(points); grid->GetPointData()->AddArray(absorbedDoses); // save to file vtkSmartPointer writer = vtkSmartPointer::New(); writer->SetFileName("output.vts"); writer->SetInputData(grid); writer->Write(); // render vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputData(grid); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); // Create a renderer, render window, and interactor vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); // Add the actor to the scene renderer->AddActor(actor); renderer->SetBackground(.3, .6, .3); // Background color green // Render and interact renderWindow->Render(); renderWindowInteractor->Start(); -- View this message in context: http://vtk.1045678.n5.nabble.com/spheres-creating-a-scalar-field-of-absorbed-dose-possibly-using-vtkStructuredGrid-tp5731487.html Sent from the VTK - Users mailing list archive at Nabble.com. From jim at jslengineeringsoftware.com Thu Apr 16 14:03:04 2015 From: jim at jslengineeringsoftware.com (James Labiak) Date: Thu, 16 Apr 2015 14:03:04 -0400 Subject: [vtkusers] 32 bit compiling In-Reply-To: <552BE7DB.1000007@jslengineeringsoftware.com> References: <552BE7DB.1000007@jslengineeringsoftware.com> Message-ID: <552FF958.1020903@jslengineeringsoftware.com> Solution: Gave up on vtk 6.0.0 and tried 6.2.0 with only CMAKE_SIZE_OF_VOID_P 4 set. Compiled ok. After changing paths etc. from 64 to 32 bit in Eclipse, it worked there too. On 4/13/2015 11:59 AM, James Labiak wrote: > Thanks to everyone for the suggestions, but I'm still having trouble. > To compile for 32 bit on a Win7 64 bit machine with VS 12 Express, I > start with a clean tree in CMake 3.2.1 (via delete cache). I set > compiler for VS 12 (32 bit version option) I check Java wrapper. Also, > I add variable CMAKE_SIZE_OF_VOIDP with value=4. It seems that this > variable is probably required(?). I have also tried a number of other > entries from searching/replies such as below (and combinations), but > VS build always fails with errors. Does anyone have a list of any (or > other) variables required in order to make this work? Simply using > default tree with Java wrapper and 32 bit VS 12 doesn't work either. > Thanks, > Jim > > CMAKE_SIZE_OF_VOID_P 4 > IS_64_BIT 0 > BIT_3264 32 > BIT_64_ > VS_3264 Win32 > > > Date: Tue, 31 Mar 2015 03:52:42 -0700 > From: Kenneth Porter > To:vtkusers at vtk.org > Subject: Re: [vtkusers] 32 bit compiling > Message-ID:<838252650B262EFB23C7817A@[10.170.7.34]> > Content-Type: text/plain; charset=us-ascii; format=flowed > > See my post from a few days ago with the script I'm using to build 32 and > 64 bit variations on 3 compilers, both static and dynamic linking to the > C++ runtime. > > > > From amir.khojaste at sunnybrook.ca Thu Apr 16 14:22:12 2015 From: amir.khojaste at sunnybrook.ca (Khojaste, Amir) Date: Thu, 16 Apr 2015 18:22:12 +0000 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 Message-ID: <639C0C4CF854594E920361562A5266BB30BC93AE@SBXNG01.sw.ca> Hi all, I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has been a nightmare for me so far! I get all types of error. Apparently I should have added "#include" to the header of some files and I have done that as well. I still get lots of other errors. Could someone give me the web address of the latest version of VTK 5.6.1 (the one that includes all the changes!)? Please also note that I have built the latest version of VTK with Visual Studio 2013 just fine. However, I need to use this specific version of VTK and cannot go further with it. Thank you so much, Amir This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amir.khojaste at sunnybrook.ca Thu Apr 16 14:27:13 2015 From: amir.khojaste at sunnybrook.ca (Khojaste, Amir) Date: Thu, 16 Apr 2015 18:27:13 +0000 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 Message-ID: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> Just for clarification, I meant the latest version of source code of the VTK 5.6.1 which includes all the necessary modifications. Cheers, Amir From: Khojaste, Amir Sent: April-16-15 2:22 PM To: 'vtkusers at vtk.org' Subject: Building VTK 5.6.1 for VS2013 Hi all, I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has been a nightmare for me so far! I get all types of error. Apparently I should have added "#include" to the header of some files and I have done that as well. I still get lots of other errors. Could someone give me the web address of the latest version of VTK 5.6.1 (the one that includes all the changes!)? Please also note that I have built the latest version of VTK with Visual Studio 2013 just fine. However, I need to use this specific version of VTK and cannot go further with it. Thank you so much, Amir This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Apr 16 14:43:15 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 16 Apr 2015 14:43:15 -0400 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 In-Reply-To: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> References: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> Message-ID: Amir, VTK 5.6.1 was released in September of 2010, several years before Visual Studio 2013 was available. Unfortunately, it is unlikely anyone has modified that particular release to compile on Visual Studio 2013. Could you perhaps use an older version of Visual Studio? - Cory On Thu, Apr 16, 2015 at 2:27 PM, Khojaste, Amir wrote: > Just for clarification, I meant the latest version of source code of the > VTK 5.6.1 which includes all the necessary modifications. > > > > Cheers, > > Amir > > > > *From:* Khojaste, Amir > *Sent:* April-16-15 2:22 PM > *To:* 'vtkusers at vtk.org' > *Subject:* Building VTK 5.6.1 for VS2013 > > > > Hi all, > > > > I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has > been a nightmare for me so far! I get all types of error. Apparently I > should have added ?#include? to the header of some files and I > have done that as well. I still get lots of other errors. > > > > Could someone give me the web address of the latest version of VTK 5.6.1 > (the one that includes all the changes!)? > > > > Please also note that I have built the latest version of VTK with Visual > Studio 2013 just fine. However, I need to use this specific version of VTK > and cannot go further with it. > > > > Thank you so much, > > Amir > > *This e-mail is intended only for the named recipient(s) and may contain > confidential, personal and/or health information (information which may be > subject to legal restrictions on use, retention and/or disclosure). No > waiver of confidence is intended by virtue of communication via the > internet. Any review or distribution by anyone other than the person(s) > for whom it was originally intended is strictly prohibited. If you have > received this e-mail in error, please contact the sender and destroy all > copies.* > > > > _______________________________________________ > 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 > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amir.khojaste at sunnybrook.ca Thu Apr 16 15:20:58 2015 From: amir.khojaste at sunnybrook.ca (Khojaste, Amir) Date: Thu, 16 Apr 2015 19:20:58 +0000 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 In-Reply-To: References: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> Message-ID: <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> Hi Cory and thanks for your quick response, I can try Visual Studio 2008 and see if that goes well. In the meantime, is this the correct source code for VTK 5.6.1? http://www.vtk.org/files/release/5.6/vtk-5.6.1.zip Thanks, Amir From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: April-16-15 2:43 PM To: Khojaste, Amir Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Building VTK 5.6.1 for VS2013 Amir, VTK 5.6.1 was released in September of 2010, several years before Visual Studio 2013 was available. Unfortunately, it is unlikely anyone has modified that particular release to compile on Visual Studio 2013. Could you perhaps use an older version of Visual Studio? - Cory On Thu, Apr 16, 2015 at 2:27 PM, Khojaste, Amir > wrote: Just for clarification, I meant the latest version of source code of the VTK 5.6.1 which includes all the necessary modifications. Cheers, Amir From: Khojaste, Amir Sent: April-16-15 2:22 PM To: 'vtkusers at vtk.org' Subject: Building VTK 5.6.1 for VS2013 Hi all, I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has been a nightmare for me so far! I get all types of error. Apparently I should have added ?#include? to the header of some files and I have done that as well. I still get lots of other errors. Could someone give me the web address of the latest version of VTK 5.6.1 (the one that includes all the changes!)? Please also note that I have built the latest version of VTK with Visual Studio 2013 just fine. However, I need to use this specific version of VTK and cannot go further with it. Thank you so much, Amir This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. _______________________________________________ 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 -- Cory Quammen R&D Engineer Kitware, Inc. This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Apr 16 15:27:50 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 16 Apr 2015 15:27:50 -0400 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 In-Reply-To: <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> References: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> Message-ID: Amir, Yes, that should be the correct link. I would expect Visual Studio 2008 to work. Thanks, Cory On Thu, Apr 16, 2015 at 3:20 PM, Khojaste, Amir wrote: > Hi Cory and thanks for your quick response, > > > > I can try Visual Studio 2008 and see if that goes well. In the meantime, > is this the correct source code for VTK 5.6.1? > > > > http://www.vtk.org/files/release/5.6/vtk-5.6.1.zip > > > > Thanks, > > Amir > > > > *From:* Cory Quammen [mailto:cory.quammen at kitware.com] > *Sent:* April-16-15 2:43 PM > *To:* Khojaste, Amir > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] Building VTK 5.6.1 for VS2013 > > > > Amir, > > > > VTK 5.6.1 was released in September of 2010, several years before Visual > Studio 2013 was available. Unfortunately, it is unlikely anyone has > modified that particular release to compile on Visual Studio 2013. Could > you perhaps use an older version of Visual Studio? > > > > - Cory > > > > > > > > On Thu, Apr 16, 2015 at 2:27 PM, Khojaste, Amir < > amir.khojaste at sunnybrook.ca> wrote: > > Just for clarification, I meant the latest version of source code of the > VTK 5.6.1 which includes all the necessary modifications. > > > > Cheers, > > Amir > > > > *From:* Khojaste, Amir > *Sent:* April-16-15 2:22 PM > *To:* 'vtkusers at vtk.org' > *Subject:* Building VTK 5.6.1 for VS2013 > > > > Hi all, > > > > I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has > been a nightmare for me so far! I get all types of error. Apparently I > should have added ?#include? to the header of some files and I > have done that as well. I still get lots of other errors. > > > > Could someone give me the web address of the latest version of VTK 5.6.1 > (the one that includes all the changes!)? > > > > Please also note that I have built the latest version of VTK with Visual > Studio 2013 just fine. However, I need to use this specific version of VTK > and cannot go further with it. > > > > Thank you so much, > > Amir > > *This e-mail is intended only for the named recipient(s) and may contain > confidential, personal and/or health information (information which may be > subject to legal restrictions on use, retention and/or disclosure). No > waiver of confidence is intended by virtue of communication via the > internet. Any review or distribution by anyone other than the person(s) > for whom it was originally intended is strictly prohibited. If you have > received this e-mail in error, please contact the sender and destroy all > copies.* > > > > > _______________________________________________ > 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 > > > > > > -- > > Cory Quammen > R&D Engineer > Kitware, Inc. > > *This e-mail is intended only for the named recipient(s) and may contain > confidential, personal and/or health information (information which may be > subject to legal restrictions on use, retention and/or disclosure). No > waiver of confidence is intended by virtue of communication via the > internet. Any review or distribution by anyone other than the person(s) > for whom it was originally intended is strictly prohibited. If you have > received this e-mail in error, please contact the sender and destroy all > copies.* > > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Apr 16 15:28:38 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 16 Apr 2015 15:28:38 -0400 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 In-Reply-To: <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> References: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> Message-ID: On Thu, Apr 16, 2015 at 3:20 PM, Khojaste, Amir wrote: > In the meantime, is this the correct source code for VTK 5.6.1? > > > > http://www.vtk.org/files/release/5.6/vtk-5.6.1.zip > Yes. You can also checkout any particular release via the appropriate tag in git. i.e. > git checkout -v r5.6.1 v5.6.1 The contents of that and the same named tar should be identical. 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: From amir.khojaste at sunnybrook.ca Thu Apr 16 16:08:28 2015 From: amir.khojaste at sunnybrook.ca (Khojaste, Amir) Date: Thu, 16 Apr 2015 20:08:28 +0000 Subject: [vtkusers] Building VTK 5.6.1 for VS2013 In-Reply-To: References: <639C0C4CF854594E920361562A5266BB30BC93D7@SBXNG01.sw.ca> <639C0C4CF854594E920361562A5266BB30BC960B@SBXNG01.sw.ca> Message-ID: <639C0C4CF854594E920361562A5266BB30BC9650@SBXNG01.sw.ca> Thanks Cory, Just finished the build successfully. Thanks a bunch ? From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: April-16-15 3:28 PM To: Khojaste, Amir Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Building VTK 5.6.1 for VS2013 Amir, Yes, that should be the correct link. I would expect Visual Studio 2008 to work. Thanks, Cory On Thu, Apr 16, 2015 at 3:20 PM, Khojaste, Amir > wrote: Hi Cory and thanks for your quick response, I can try Visual Studio 2008 and see if that goes well. In the meantime, is this the correct source code for VTK 5.6.1? http://www.vtk.org/files/release/5.6/vtk-5.6.1.zip Thanks, Amir From: Cory Quammen [mailto:cory.quammen at kitware.com] Sent: April-16-15 2:43 PM To: Khojaste, Amir Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Building VTK 5.6.1 for VS2013 Amir, VTK 5.6.1 was released in September of 2010, several years before Visual Studio 2013 was available. Unfortunately, it is unlikely anyone has modified that particular release to compile on Visual Studio 2013. Could you perhaps use an older version of Visual Studio? - Cory On Thu, Apr 16, 2015 at 2:27 PM, Khojaste, Amir > wrote: Just for clarification, I meant the latest version of source code of the VTK 5.6.1 which includes all the necessary modifications. Cheers, Amir From: Khojaste, Amir Sent: April-16-15 2:22 PM To: 'vtkusers at vtk.org' Subject: Building VTK 5.6.1 for VS2013 Hi all, I am trying to build VTK version 5.6.1 with Visual Studio 2013. This has been a nightmare for me so far! I get all types of error. Apparently I should have added ?#include? to the header of some files and I have done that as well. I still get lots of other errors. Could someone give me the web address of the latest version of VTK 5.6.1 (the one that includes all the changes!)? Please also note that I have built the latest version of VTK with Visual Studio 2013 just fine. However, I need to use this specific version of VTK and cannot go further with it. Thank you so much, Amir This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. _______________________________________________ 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 -- Cory Quammen R&D Engineer Kitware, Inc. This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. -- Cory Quammen R&D Engineer Kitware, Inc. This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and destroy all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.waldon at kitware.com Thu Apr 16 16:15:38 2015 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Thu, 16 Apr 2015 16:15:38 -0400 Subject: [vtkusers] VTK 6.2.0 Bug in vtkVRMLImporter, example crashes if there are more than one instance of vtkVRMLImporter In-Reply-To: <03B9B7BC-A486-484F-BE6A-7EF21143EBDF@gmail.com> References: <03B9B7BC-A486-484F-BE6A-7EF21143EBDF@gmail.com> Message-ID: Sorry it took so long to get to this. I fixed a similar bug in vtkVRMLImporter a while back. I can confirm that this is a bug and is reproducible on my machine, but I'm not sure when I'll have time to look at it in more detail. Please file a bug on the VTK bug tracker[1]. If you want to debug it yourself, I can tell you that the issue is in the vtkVRMLImporter destructor where it deletes this->Parser->useList. Look into what the value of useList is and how/where it is being set. HTH, Shawn [1]: http://www.vtk.org/Bug/my_view_page.php On Tue, Apr 7, 2015 at 7:39 AM, Arnaud Gelas wrote: > Hi all, > > We have slightly modified the following wiki example: > > http://www.itk.org/Wiki/VTK/Examples/Cxx/IO/VRML > > > As follows: > > #include > > #include #include #include #include #include #include > int main ( int argc, char *argv[]){ > if(argc != 2) > { > std::cout << "Required arguments: Filename" << std::endl; > return EXIT_FAILURE; > } > > std::string filename = argv[1]; > std::cout << "Reading " << filename << std::endl; > > vtkSmartPointer renderer = vtkSmartPointer::New(); > vtkSmartPointer renderWindow = vtkSmartPointer::New(); > renderWindow->AddRenderer(renderer); > > vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); > renderWindowInteractor->SetRenderWindow(renderWindow); > > // VRML Import > vtkSmartPointer importer = vtkSmartPointer::New(); > importer->SetFileName ( filename.c_str() ); > importer->SetRenderWindow(renderWindow); > importer->Update(); > > renderWindow->Render(); > renderWindowInteractor->Start(); > > > vtkSmartPointer renderer2 = vtkSmartPointer::New(); > > vtkSmartPointer renderWindow2 = vtkSmartPointer::New(); > renderWindow2->AddRenderer(renderer2); > > vtkSmartPointer renderWindowInteractor2 = vtkSmartPointer::New(); > renderWindowInteractor2->SetRenderWindow(renderWindow2); > > // VRML Import > vtkSmartPointer importer2 = vtkSmartPointer::New(); > importer2->SetFileName ( filename.c_str() ); > importer2->SetRenderWindow(renderWindow2); > importer2->Update(); > > renderWindow2->Render(); > renderWindowInteractor2->Start(); > > > return EXIT_SUCCESS; } > > > > > > As you can see the modification is quite simple, we have just created 2 > instances of every objects? > > This naive example crashes when exiting (trying to delete the second > importer, i.e. importer2). > > Any idea what could go wrong? and how to fix this bug? > > Thanks in advance, > Best regards > > Arnaud > > _______________________________________________ > 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 arianna.forneris at ucalgary.ca Thu Apr 16 17:39:06 2015 From: arianna.forneris at ucalgary.ca (Arianna Forneris) Date: Thu, 16 Apr 2015 14:39:06 -0700 (MST) Subject: [vtkusers] vtkDistanceWidget In-Reply-To: <1428513330932-5731402.post@n5.nabble.com> References: <1428513330932-5731402.post@n5.nabble.com> Message-ID: <1429220346569-5731497.post@n5.nabble.com> Hi everyone, I solved the problem that I had with the vtkDistanceWidget?I was getting wrong measurement since that the widget seemed to be related to the window but not to actual image where i was trying to measure. the problem turned out to be related to the actor: i was using a vtkActor2D in order to visualize the DICOM image and it didn't work correctly but now I'm using a vtkImageActor and it works perfectly. Hopefully this suggestion will help someone else! -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDistanceWidget-tp5731402p5731497.html Sent from the VTK - Users mailing list archive at Nabble.com. From berk.geveci at kitware.com Thu Apr 16 19:45:22 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Thu, 16 Apr 2015 19:45:22 -0400 Subject: [vtkusers] VTK Wiki Examples migrating to gitlab In-Reply-To: References: Message-ID: Sounds good. -berk On Thu, Apr 16, 2015 at 11:00 AM, Bill Lorensen wrote: > Berk, > > I have decided to use github. That is where the itk wiki examples > reside. Also, I don't need all of the extra stuff that gitlab > provides. > > Most commits to the examples' repo's are automated through scripting. > > Bill > > On Wed, Apr 15, 2015 at 8:07 PM, Bill Lorensen > wrote: > > Will do. > > > > On Apr 15, 2015 6:33 PM, "Berk Geveci" wrote: > >> > >> Why not move it to gitlab.kitware.com? You can easily create a repo > there. > >> Or even better, someone can create a repo under the VTK group so the > >> examples repo would be a sibling of the VTK repo... > >> > >> On Wed, Apr 15, 2015 at 5:06 PM, Bill Lorensen > > >> wrote: > >>> > >>> Folks, > >>> > >>> The VTK WIki Examples code repo has been hosted on gitorious.org since > >>> the beginning. gitlab.com has purchased gitorious and will kill the > >>> site in the near future. In the next couple of weeks, I'll move the > >>> wiki examples to gitlab.com. I don't expect any problems, but a few > >>> hiccups may occur with web links. The gitorious site has always been > >>> flaky. I hope gitlab will be more robust! > >>> > >>> I'll keep you posted, > >>> > >>> Bill] > >>> _______________________________________________ > >>> 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 arnaudgelas at gmail.com Fri Apr 17 02:49:03 2015 From: arnaudgelas at gmail.com (Arnaud Gelas) Date: Fri, 17 Apr 2015 08:49:03 +0200 Subject: [vtkusers] VTK 6.2.0 Bug in vtkVRMLImporter, example crashes if there are more than one instance of vtkVRMLImporter In-Reply-To: References: <03B9B7BC-A486-484F-BE6A-7EF21143EBDF@gmail.com> Message-ID: Hi Shawn, I have created the issue in Mantis [1]. I have tried debugging it, I also guessed the issue was linked to this->Parser->useList, but I did not have time to investigate more than that yet... Thanks Arnaud [1] http://www.vtk.org/Bug/view.php?id=15427 On Thu, Apr 16, 2015 at 10:15 PM, Shawn Waldon wrote: > Sorry it took so long to get to this. I fixed a similar bug in > vtkVRMLImporter a while back. I can confirm that this is a bug and is > reproducible on my machine, but I'm not sure when I'll have time to look at > it in more detail. Please file a bug on the VTK bug tracker[1]. If you > want to debug it yourself, I can tell you that the issue is in the > vtkVRMLImporter destructor where it deletes this->Parser->useList. Look > into what the value of useList is and how/where it is being set. > > HTH, > Shawn > > [1]: http://www.vtk.org/Bug/my_view_page.php > > On Tue, Apr 7, 2015 at 7:39 AM, Arnaud Gelas > wrote: > >> Hi all, >> >> We have slightly modified the following wiki example: >> >> http://www.itk.org/Wiki/VTK/Examples/Cxx/IO/VRML >> >> >> As follows: >> >> #include >> >> #include #include #include #include #include #include >> int main ( int argc, char *argv[]){ >> if(argc != 2) >> { >> std::cout << "Required arguments: Filename" << std::endl; >> return EXIT_FAILURE; >> } >> >> std::string filename = argv[1]; >> std::cout << "Reading " << filename << std::endl; >> >> vtkSmartPointer renderer = vtkSmartPointer::New(); >> vtkSmartPointer renderWindow = vtkSmartPointer::New(); >> renderWindow->AddRenderer(renderer); >> >> vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); >> renderWindowInteractor->SetRenderWindow(renderWindow); >> >> // VRML Import >> vtkSmartPointer importer = vtkSmartPointer::New(); >> importer->SetFileName ( filename.c_str() ); >> importer->SetRenderWindow(renderWindow); >> importer->Update(); >> >> renderWindow->Render(); >> renderWindowInteractor->Start(); >> >> >> vtkSmartPointer renderer2 = vtkSmartPointer::New(); >> >> vtkSmartPointer renderWindow2 = vtkSmartPointer::New(); >> renderWindow2->AddRenderer(renderer2); >> >> vtkSmartPointer renderWindowInteractor2 = vtkSmartPointer::New(); >> renderWindowInteractor2->SetRenderWindow(renderWindow2); >> >> // VRML Import >> vtkSmartPointer importer2 = vtkSmartPointer::New(); >> importer2->SetFileName ( filename.c_str() ); >> importer2->SetRenderWindow(renderWindow2); >> importer2->Update(); >> >> renderWindow2->Render(); >> renderWindowInteractor2->Start(); >> >> >> return EXIT_SUCCESS; } >> >> >> >> >> >> As you can see the modification is quite simple, we have just created 2 >> instances of every objects? >> >> This naive example crashes when exiting (trying to delete the second >> importer, i.e. importer2). >> >> Any idea what could go wrong? and how to fix this bug? >> >> Thanks in advance, >> Best regards >> >> Arnaud >> >> _______________________________________________ >> 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 ahmed.ayadi at carestream.com Fri Apr 17 03:14:37 2015 From: ahmed.ayadi at carestream.com (Ahmed Ayadi) Date: Fri, 17 Apr 2015 07:14:37 +0000 Subject: [vtkusers] vtk/boost crash filter Message-ID: Hi all, I identify a problem when I use a filter vtk inside boost thread. The function called by boost not contained a shared data. The crash is an unpredictable, because it not produced for each running Please find the source code & I hope that can help me to understand/solve this crash Best regards, Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vtkBoost.cpp Type: application/octet-stream Size: 1350 bytes Desc: not available URL: From DLRdave at aol.com Fri Apr 17 11:45:12 2015 From: DLRdave at aol.com (David Cole) Date: Fri, 17 Apr 2015 11:45:12 -0400 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <54ED74FE.30907@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> <1424822320190-5730517.post@n5.nabble.com> <54ED74FE.30907@kitware.com> Message-ID: The 5 most recent commits listed here all seem to refer to VTK 6.1 in the commit comments: http://public.kitware.com/gitweb?p=activizdotnet.git;a=shortlog;h=refs/heads/master Does it also work with VTK 6.2 now that it's released? Or are further changes to ActiViz required to build a VTK 6.2 version of it...? Thanks, David C. On Wed, Feb 25, 2015 at 2:08 AM, Julien Jomier wrote: > 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 >> > _______________________________________________ > 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 julien.jomier at kitware.com Fri Apr 17 11:47:10 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Fri, 17 Apr 2015 17:47:10 +0200 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: 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> <54ED74FE.30907@kitware.com> Message-ID: <55312AFE.7020109@kitware.com> I need to push some changes to make it work for 6.2. Julien On 17/04/2015 17:45, David Cole wrote: > The 5 most recent commits listed here all seem to refer to VTK 6.1 in > the commit comments: > > http://public.kitware.com/gitweb?p=activizdotnet.git;a=shortlog;h=refs/heads/master > > Does it also work with VTK 6.2 now that it's released? Or are further > changes to ActiViz required to build a VTK 6.2 version of it...? > > > Thanks, > David C. > > > > > On Wed, Feb 25, 2015 at 2:08 AM, Julien Jomier > wrote: >> 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 >>> >> _______________________________________________ >> 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 DLRdave at aol.com Fri Apr 17 12:14:53 2015 From: DLRdave at aol.com (David Cole) Date: Fri, 17 Apr 2015 12:14:53 -0400 Subject: [vtkusers] VTK 6.1 & C# wrappers for WPF Application. In-Reply-To: <55312AFE.7020109@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> <1424822320190-5730517.post@n5.nabble.com> <54ED74FE.30907@kitware.com> <55312AFE.7020109@kitware.com> Message-ID: Please consider adding the commit in this GitHub pull request when you push your changes, too... https://github.com/dlrdave/activizdotnet/pull/1/commits Thanks, David C. On Fri, Apr 17, 2015 at 11:47 AM, Julien Jomier wrote: > I need to push some changes to make it work for 6.2. > > Julien > > > On 17/04/2015 17:45, David Cole wrote: >> >> The 5 most recent commits listed here all seem to refer to VTK 6.1 in >> the commit comments: >> >> >> http://public.kitware.com/gitweb?p=activizdotnet.git;a=shortlog;h=refs/heads/master >> >> Does it also work with VTK 6.2 now that it's released? Or are further >> changes to ActiViz required to build a VTK 6.2 version of it...? >> >> >> Thanks, >> David C. >> >> >> >> >> On Wed, Feb 25, 2015 at 2:08 AM, Julien Jomier >> wrote: >>> >>> 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 >>>> >>> _______________________________________________ >>> 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 vtk.user.12 at gmail.com Fri Apr 17 12:39:38 2015 From: vtk.user.12 at gmail.com (Tom MacAdam) Date: Fri, 17 Apr 2015 13:39:38 -0300 Subject: [vtkusers] Debugging into VTK through Activiz .NET? Message-ID: Has anyone had any luck running debug builds of VTK (6.1) and Activiz .NET and stepping into the VTK code (C++) through the Activiz (C#) wrappers? For instance, for me, I cannot step into a call like vtkDataSetAttributes_SetActiveScalars_71 below: public int SetActiveScalars(string name) { int rv = vtkDataSetAttributes_SetActiveScalars_71(this.GetCppThis(), name); return rv; } (this example is in the vtkDataSetAttributes.cs file) I've built VTK and Activiz with VS2008, but using with an app being developed on VS2013 (i.e. that's where I'm doing the debugging). Could it be because Kitware.Mummy.Runtime.dll seems to be built without debug symbols? Thanks, Tom. -------------- next part -------------- An HTML attachment was scrubbed... URL: From qinyang_1980 at qq.com Mon Apr 20 02:31:01 2015 From: qinyang_1980 at qq.com (qinyang_1980) Date: Sun, 19 Apr 2015 23:31:01 -0700 (MST) Subject: [vtkusers] How to apply different light to frontface and backface in VTK Message-ID: <1429511461158-5731523.post@n5.nabble.com> Hello, For now, I need apply intense light to the frontface of mesh, and apply low light to the backface. Therefore, the user can see the frontface of mesh clearly. But I could not find a easy way to do this in VTK. In MeshLab, this behaviour is default. Can somebody tell me how to do this in VTK ? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-apply-different-light-to-frontface-and-backface-in-VTK-tp5731523.html Sent from the VTK - Users mailing list archive at Nabble.com. From 18610348075 at 163.com Mon Apr 20 02:17:57 2015 From: 18610348075 at 163.com (liuliu) Date: Mon, 20 Apr 2015 14:17:57 +0800 Subject: [vtkusers] vtk in iOS Message-ID: <69CEB4E1-19F0-442F-B50A-6217FD32C68E@163.com> hi?all i use make compile vtk.framework success?but i run 3d program in real device iPad air then?Xcode tip me not arm64 architecture of vtk. i can remove arm64 in build setting. but i?m worry that app store can?t auditing my app because it?s not support arm64 ?any body help please. From julien.jomier at kitware.com Mon Apr 20 05:24:15 2015 From: julien.jomier at kitware.com (Julien Jomier) Date: Mon, 20 Apr 2015 11:24:15 +0200 Subject: [vtkusers] ANN: CMake Course - June 1 in Lyon, France In-Reply-To: <53BD4650.6070909@kitware.com> References: <53BD4650.6070909@kitware.com> Message-ID: <5534C5BF.2020605@kitware.com> Kitware will be holding a CMake training course on June 1, 2015 at Kitware's office in Lyon, France. This one-day course will cover CMake, CTest, CPack and CDash. Visit our website for more information and registration details (early registration and student discounts available): http://training.kitware.fr/browse/79 Note that the course will be taught in English. If you have any questions, please contact us at training at kitware.fr. We are looking forward to seeing you in Lyon, Julien -- Kitware SAS 26 rue Louis Gu?rin 69100 Villeurbanne, France http://www.kitware.eu From bill.lorensen at gmail.com Mon Apr 20 08:36:27 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 20 Apr 2015 08:36:27 -0400 Subject: [vtkusers] How to apply different light to frontface and backface in VTK In-Reply-To: <1429511461158-5731523.post@n5.nabble.com> References: <1429511461158-5731523.post@n5.nabble.com> Message-ID: You can specify a Backface property for an Actor. In the property you can set the ambient, diffuse and specular color and intensity. On Mon, Apr 20, 2015 at 2:31 AM, qinyang_1980 wrote: > Hello, > > For now, > I need apply intense light to the frontface of mesh, > and apply low light to the backface. > > Therefore, the user can see the frontface of mesh clearly. > > But I could not find a easy way to do this in VTK. > In MeshLab, this behaviour is default. > > Can somebody tell me how to do this in VTK ? > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/How-to-apply-different-light-to-frontface-and-backface-in-VTK-tp5731523.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 -- Unpaid intern in BillsBasement at noware dot com From JMelnyk at pile.com Mon Apr 20 12:51:26 2015 From: JMelnyk at pile.com (Joseph Melnyk) Date: Mon, 20 Apr 2015 16:51:26 +0000 Subject: [vtkusers] Labels for Plots in vtkChart? Message-ID: <8841579C9694CA4196BE4138B6E2B4BF1834EF37@pdi-mail1.pdi.local> Is there a facility to add a label to a plot in vtkChart? For example, have a specific value in the plot be labeled to indicate it's special, or label the first value in the plot with the plot's name? From my understanding, nothing like this currently exists, and I'm exploring how difficult it would be to adapt what's currently there. It seems it may be possible to create something from vtkBlockItem or vtkTooltipItem to be "labels" but some scene coordinate translation would need to be done and vtkChartXY mouse events would need to move the objects around manually when the chart is zoomed/panned, etc... Anyway, I'm just curious if there's something available that I'm missing. It seems like a desirable feature, in my opinion. Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.hanwell at kitware.com Mon Apr 20 13:08:40 2015 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Mon, 20 Apr 2015 13:08:40 -0400 Subject: [vtkusers] Labels for Plots in vtkChart? In-Reply-To: <8841579C9694CA4196BE4138B6E2B4BF1834EF37@pdi-mail1.pdi.local> References: <8841579C9694CA4196BE4138B6E2B4BF1834EF37@pdi-mail1.pdi.local> Message-ID: On Mon, Apr 20, 2015 at 12:51 PM, Joseph Melnyk wrote: > Is there a facility to add a label to a plot in vtkChart? For example, have > a specific value in the plot be labeled to indicate it?s special, or label > the first value in the plot with the plot?s name? From my understanding, > nothing like this currently exists, and I?m exploring how difficult it would > be to adapt what?s currently there. It seems it may be possible to create > something from vtkBlockItem or vtkTooltipItem to be ?labels? but some scene > coordinate translation would need to be done and vtkChartXY mouse events > would need to move the objects around manually when the chart is > zoomed/panned, etc? > This does not exist, the axes can have custom labels on them, i.e. set 5 to be Sun, 6 to be Moon, add numbers at other locations. It wouldn't be too hard, I would derive from vtkPlot, or possibly vtkPlotPoints, and add the code to render a label at the side of the selected points. You can see how the tooltip item works, and that is certainly another fairly easy way of doing it (vtkChartXY has the code, you could add a tooltip item to the scene). Hope that helps, it has been a while since I wrote some of this stuff but I would probably try to reuse the tooltip item as you suggested. Marcus From JMelnyk at pile.com Mon Apr 20 13:29:34 2015 From: JMelnyk at pile.com (Joseph Melnyk) Date: Mon, 20 Apr 2015 17:29:34 +0000 Subject: [vtkusers] Labels for Plots in vtkChart? In-Reply-To: References: <8841579C9694CA4196BE4138B6E2B4BF1834EF37@pdi-mail1.pdi.local> Message-ID: <8841579C9694CA4196BE4138B6E2B4BF1834FF51@pdi-mail1.pdi.local> OK, thanks Marcus. I had considered the route of deriving from vtkPlot as well, since I'd want the labels to be associated with plots and not managed separately. We'll see... -----Original Message----- From: Marcus D. Hanwell [mailto:marcus.hanwell at kitware.com] Sent: Monday, April 20, 2015 1:09 PM To: Joseph Melnyk Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Labels for Plots in vtkChart? On Mon, Apr 20, 2015 at 12:51 PM, Joseph Melnyk wrote: > Is there a facility to add a label to a plot in vtkChart? For > example, have a specific value in the plot be labeled to indicate it?s > special, or label the first value in the plot with the plot?s name? > From my understanding, nothing like this currently exists, and I?m > exploring how difficult it would be to adapt what?s currently there. > It seems it may be possible to create something from vtkBlockItem or > vtkTooltipItem to be ?labels? but some scene coordinate translation > would need to be done and vtkChartXY mouse events would need to move > the objects around manually when the chart is zoomed/panned, etc? > This does not exist, the axes can have custom labels on them, i.e. set 5 to be Sun, 6 to be Moon, add numbers at other locations. It wouldn't be too hard, I would derive from vtkPlot, or possibly vtkPlotPoints, and add the code to render a label at the side of the selected points. You can see how the tooltip item works, and that is certainly another fairly easy way of doing it (vtkChartXY has the code, you could add a tooltip item to the scene). Hope that helps, it has been a while since I wrote some of this stuff but I would probably try to reuse the tooltip item as you suggested. Marcus From wangmengjiao at tsinghua.org.cn Mon Apr 20 22:31:36 2015 From: wangmengjiao at tsinghua.org.cn (WANGMengjiao) Date: Tue, 21 Apr 2015 10:31:36 +0800 Subject: [vtkusers] VTKCenterOfMass does not generate the correct center of VTKPolyDataConnectivityFilter output data Message-ID: <5535B688.8060905@tsinghua.org.cn> Dear All I have encountered a weird problem using VTKPolyDataConnectivityFilter. I had a polydata consists of two seperated parts. And I use the VTKPolyDataConnectivityFilter to extract the largest region. The code is as following: // Extract the feature edges vtkSmartPointer boundaryEdges = vtkSmartPointer::New(); boundaryEdges->SetInputConnection(clipper->GetOutputPort()); boundaryEdges->BoundaryEdgesOn(); boundaryEdges->FeatureEdgesOff(); boundaryEdges->NonManifoldEdgesOff(); boundaryEdges->ManifoldEdgesOff(); // Converted the boundaryEdges to boundaryStrips vtkSmartPointer boundaryStrips = vtkSmartPointer::New(); boundaryStrips->SetInputConnection(boundaryEdges->GetOutputPort()); boundaryStrips->Update(); // Extract the largest region vtkSmartPointer boundaryFilter = vtkSmartPointer::New(); boundaryFilter->SetInputConnection(boundaryStrips->GetOutputPort()); boundaryFilter->SetExtractionModeToLargestRegion(); I used a mapper and actor to visualize the extracted largest region, and the result is correct. However, when I tried to compute the center of the extracted largest region, the computed center is the same with the center of unfiltered poly data (i.e. the poly data consisting of two seperated parts). The usage of VTKCenterOfMass is as following: // Compute the center of extracted largest region vtkSmartPointer centerOfMassFilter = vtkSmartPointer::New(); centerOfMassFilter->SetInputConnection(boundaryFilter->GetOutputPort()); centerOfMassFilter->Update(); double centerOfMass[3]; centerOfMassFilter->GetCenter(centerOfMass); Does anyone can help me out? Where I did it wrong? Many Thanks! John From bill.lorensen at gmail.com Tue Apr 21 07:59:52 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Tue, 21 Apr 2015 07:59:52 -0400 Subject: [vtkusers] VTKCenterOfMass does not generate the correct center of VTKPolyDataConnectivityFilter output data In-Reply-To: <5535B688.8060905@tsinghua.org.cn> References: <5535B688.8060905@tsinghua.org.cn> Message-ID: I believe that PolyDataConnectivity retains all of its points on output. CenterOfMass operates on points. Run CleanPolyDataFilter before running CenterOfMass? On Mon, Apr 20, 2015 at 10:31 PM, WANGMengjiao wrote: > Dear All > I have encountered a weird problem using VTKPolyDataConnectivityFilter. I > had a polydata consists of two seperated parts. And I use the > VTKPolyDataConnectivityFilter to extract the largest region. The code is as > following: > // Extract the feature edges > vtkSmartPointer boundaryEdges = > vtkSmartPointer::New(); > boundaryEdges->SetInputConnection(clipper->GetOutputPort()); > boundaryEdges->BoundaryEdgesOn(); > boundaryEdges->FeatureEdgesOff(); > boundaryEdges->NonManifoldEdgesOff(); > boundaryEdges->ManifoldEdgesOff(); > // Converted the boundaryEdges to boundaryStrips > vtkSmartPointer boundaryStrips = > vtkSmartPointer::New(); > boundaryStrips->SetInputConnection(boundaryEdges->GetOutputPort()); > boundaryStrips->Update(); > // Extract the largest region > vtkSmartPointer boundaryFilter = > vtkSmartPointer::New(); > boundaryFilter->SetInputConnection(boundaryStrips->GetOutputPort()); > boundaryFilter->SetExtractionModeToLargestRegion(); > I used a mapper and actor to visualize the extracted largest region, and > the result is correct. However, when I tried to compute the center of the > extracted largest region, the computed center is the same with the center of > unfiltered poly data (i.e. the poly data consisting of two seperated parts). > The usage of VTKCenterOfMass is as following: > // Compute the center of extracted largest region > vtkSmartPointer centerOfMassFilter = > vtkSmartPointer::New(); > centerOfMassFilter->SetInputConnection(boundaryFilter->GetOutputPort()); > centerOfMassFilter->Update(); > double centerOfMass[3]; > centerOfMassFilter->GetCenter(centerOfMass); > Does anyone can help me out? Where I did it wrong? > Many Thanks! > John > > _______________________________________________ > 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 aashish.chaudhary at kitware.com Tue Apr 21 10:45:48 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 21 Apr 2015 10:45:48 -0400 Subject: [vtkusers] Volume rendering update Message-ID: Hi All, We have made several improvements to the volume rendering engine in the last few months and will be pushing more changes to VTK in the next two weeks. Below is a quick summary of our work. Your suggestions and contributions are welcome and encouraged. We are also planning a blog by the end of this month with performance numbers to cover some detail on the work done as part of the VTK rendering improvements. Most Recent Updates: - Added support for multiple component (2, 3, 4) independent components and 2 dependent components - Fixed cropping issues and fixed related tests - Fixed a bug which result in a crash when context changes Other Updates - Fixed various mac issues - Improved interactive performance for large volumes - Fixed extents not getting updated issues in presence of other filters - Fixed window color adjustments issues. - Fixed issue with noise textures - Added volume rendering benchmarking tests - Added new volume tests. Now testing various features where were not tested before (52 volume tests now) - Fixed resources not releasing issues - vtkVolume now uses vtkTextureObject - Using the shader cache for volume rendering - 99 % tests are passing on Mac/Linux and Windows. Work in Progress - Fixing 2 and 3 independent component tests on a particular dashboard that uses Mesa GL - Looking into some very specific rendering performance issues specifically on Mac - New blog post on volume rendering -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lucas.Koelman at mobelife.be Tue Apr 21 11:42:52 2015 From: Lucas.Koelman at mobelife.be (Lucas Koelman) Date: Tue, 21 Apr 2015 15:42:52 +0000 Subject: [vtkusers] Add own classes to Activiz.NET Message-ID: Hi all, I've managed to compile the Activiz.NET wrappers, but could use some pointers on how to proceed to add my own classes to the wrappers. Judging from the CMakeLists.txt file in the Activiz source directory, this can be accomplished by setting the AVDN_KITS variable in CMake. Could anyone provide some advice on how to set it correctly, and possibly, what additional steps to take? Thanks a lot, Lucas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Wed Apr 22 09:15:29 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Wed, 22 Apr 2015 06:15:29 -0700 (MST) Subject: [vtkusers] Problems with vtkMatrix4x4 to vtkImageReslice Message-ID: <1429708529036-5731557.post@n5.nabble.com> Hello users, excuse me for ignorance, but I'm having a problem with vtkMatrix4x4. I am creating ImageReslice following a plan generated by vtkPolyline (various segments of straight), but in now to fill SetResliceAxes, must pass a vtkMatrix4x4. What are the parameters stop SetElement? I ran into something that tells me to be X, Y, Z and the fourth parameter would be what? -- View this message in context: http://vtk.1045678.n5.nabble.com/Problems-with-vtkMatrix4x4-to-vtkImageReslice-tp5731557.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Wed Apr 22 10:02:03 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Wed, 22 Apr 2015 08:02:03 -0600 Subject: [vtkusers] Problems with vtkMatrix4x4 to vtkImageReslice In-Reply-To: <1429708529036-5731557.post@n5.nabble.com> References: <1429708529036-5731557.post@n5.nabble.com> Message-ID: On Wed, Apr 22, 2015 at 7:15 AM, JoseBarretoT wrote: > Hello users, > excuse me for ignorance, but I'm having a problem with vtkMatrix4x4. > > I am creating ImageReslice following a plan generated by vtkPolyline > (various segments of straight), but in now to fill SetResliceAxes, must > pass > a vtkMatrix4x4. > > What are the parameters stop SetElement? I ran into something that tells me > to be X, Y, Z and the fourth parameter would be what? > The first three columns are the the direction cosine vectors (for these, the 4th component should be zero). The three direction cosine vectors should be perpendicular to each other. The fourth column (whose 4th component must be 1.0) gives a translation, defined with respect to the coordinate system of the input of vtkImageReslice. - David -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nicola.Leucht at karlstorz.com Thu Apr 23 07:20:57 2015 From: Nicola.Leucht at karlstorz.com (Leucht, Nicola) Date: Thu, 23 Apr 2015 11:20:57 +0000 Subject: [vtkusers] Stereo rendering problem with OpenGL2 Message-ID: Hi, I'm using VTK 6.2.0 with the OpenGL2 backend. When rendering in stereo (interlaced mode), there are two horizontal lines in the middle of the window that belong to one eye. Code: vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetCenter(0.0, 0.0, 0.0); sphereSource->SetRadius(50.0); sphereSource->SetPhiResolution(100); sphereSource->SetThetaResolution(100); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); mapper->Update(); renderer->AddActor(actor); renderer->GetActiveCamera()->SetEyeAngle(30); renderer->ResetCamera(); renderer->SetBackground(.3, .6, .3); renderWindow->StereoCapableWindowOn(); renderWindow->SetStereoTypeToInterlaced(); renderWindow->StereoRenderOn(); renderWindowInteractor->Start(); Is there anything I need to change in my code? Kind regards Nicola -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Thu Apr 23 07:36:09 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Thu, 23 Apr 2015 07:36:09 -0400 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: Your code looks fine. Can you post a screen capture of what you see? - Aashish On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola wrote: > Hi, > > > > I?m using VTK 6.2.0 with the OpenGL2 backend. > > When rendering in stereo (interlaced mode), there are two horizontal lines > in the middle of the window that belong to one eye. > > > > Code: > > vtkSmartPointer renderer = vtkSmartPointer >::New(); > > vtkSmartPointer renderWindow = vtkSmartPointer< > vtkRenderWindow>::New(); > > renderWindow->AddRenderer(renderer); > > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > > renderWindowInteractor->SetRenderWindow(renderWindow); > > > > vtkSmartPointer sphereSource = vtkSmartPointer< > vtkSphereSource>::New(); > > sphereSource->SetCenter(0.0, 0.0, 0.0); > > sphereSource->SetRadius(50.0); > > sphereSource->SetPhiResolution(100); > > sphereSource->SetThetaResolution(100); > > vtkSmartPointer mapper = vtkSmartPointer< > vtkOpenGLPolyDataMapper>::New(); > > mapper->SetInputConnection(sphereSource->GetOutputPort()); > > > > vtkSmartPointer actor = vtkSmartPointer::New(); > > actor->SetMapper(mapper); > > mapper->Update(); > > renderer->AddActor(actor); > > renderer->GetActiveCamera()->SetEyeAngle(30); > > renderer->ResetCamera(); > > renderer->SetBackground(.3, .6, .3); > > renderWindow->StereoCapableWindowOn(); > > renderWindow->SetStereoTypeToInterlaced(); > > renderWindow->StereoRenderOn(); > > renderWindowInteractor->Start(); > > > > Is there anything I need to change in my code? > > > > Kind regards > > Nicola > > _______________________________________________ > 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 Nicola.Leucht at karlstorz.com Thu Apr 23 07:40:15 2015 From: Nicola.Leucht at karlstorz.com (Leucht, Nicola) Date: Thu, 23 Apr 2015 11:40:15 +0000 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:36 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 Your code looks fine. Can you post a screen capture of what you see? - Aashish On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola > wrote: Hi, I?m using VTK 6.2.0 with the OpenGL2 backend. When rendering in stereo (interlaced mode), there are two horizontal lines in the middle of the window that belong to one eye. Code: vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetCenter(0.0, 0.0, 0.0); sphereSource->SetRadius(50.0); sphereSource->SetPhiResolution(100); sphereSource->SetThetaResolution(100); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); mapper->Update(); renderer->AddActor(actor); renderer->GetActiveCamera()->SetEyeAngle(30); renderer->ResetCamera(); renderer->SetBackground(.3, .6, .3); renderWindow->StereoCapableWindowOn(); renderWindow->SetStereoTypeToInterlaced(); renderWindow->StereoRenderOn(); renderWindowInteractor->Start(); Is there anything I need to change in my code? Kind regards Nicola _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: stereo.png Type: image/png Size: 12550 bytes Desc: stereo.png URL: From aashish.chaudhary at kitware.com Thu Apr 23 07:43:31 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Thu, 23 Apr 2015 07:43:31 -0400 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: I think its missing rendering the other eye at the center. Does it go away if you change the viewport dimensions? Thanks, Aashish On Thu, Apr 23, 2015 at 7:40 AM, Leucht, Nicola wrote: > > > *Von:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] > *Gesendet:* Donnerstag, 23. April 2015 13:36 > *An:* Leucht, Nicola > *Cc:* vtkusers at vtk.org > *Betreff:* Re: [vtkusers] Stereo rendering problem with OpenGL2 > > > > Your code looks fine. Can you post a screen capture of what you see? > > > > - Aashish > > > > On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola < > Nicola.Leucht at karlstorz.com> wrote: > > Hi, > > > > I?m using VTK 6.2.0 with the OpenGL2 backend. > > When rendering in stereo (interlaced mode), there are two horizontal lines > in the middle of the window that belong to one eye. > > > > Code: > > vtkSmartPointer renderer = vtkSmartPointer >::New(); > > vtkSmartPointer renderWindow = vtkSmartPointer< > vtkRenderWindow>::New(); > > renderWindow->AddRenderer(renderer); > > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > > renderWindowInteractor->SetRenderWindow(renderWindow); > > > > vtkSmartPointer sphereSource = vtkSmartPointer< > vtkSphereSource>::New(); > > sphereSource->SetCenter(0.0, 0.0, 0.0); > > sphereSource->SetRadius(50.0); > > sphereSource->SetPhiResolution(100); > > sphereSource->SetThetaResolution(100); > > vtkSmartPointer mapper = vtkSmartPointer< > vtkOpenGLPolyDataMapper>::New(); > > mapper->SetInputConnection(sphereSource->GetOutputPort()); > > > > vtkSmartPointer actor = vtkSmartPointer::New(); > > actor->SetMapper(mapper); > > mapper->Update(); > > renderer->AddActor(actor); > > renderer->GetActiveCamera()->SetEyeAngle(30); > > renderer->ResetCamera(); > > renderer->SetBackground(.3, .6, .3); > > renderWindow->StereoCapableWindowOn(); > > renderWindow->SetStereoTypeToInterlaced(); > > renderWindow->StereoRenderOn(); > > renderWindowInteractor->Start(); > > > > Is there anything I need to change in my code? > > > > Kind regards > > Nicola > > > _______________________________________________ > 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 Nicola.Leucht at karlstorz.com Thu Apr 23 07:46:08 2015 From: Nicola.Leucht at karlstorz.com (Leucht, Nicola) Date: Thu, 23 Apr 2015 11:46:08 +0000 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: No, it stays there ? always with two lines of the same eye. Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:44 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 I think its missing rendering the other eye at the center. Does it go away if you change the viewport dimensions? Thanks, Aashish On Thu, Apr 23, 2015 at 7:40 AM, Leucht, Nicola > wrote: Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:36 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 Your code looks fine. Can you post a screen capture of what you see? - Aashish On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola > wrote: Hi, I?m using VTK 6.2.0 with the OpenGL2 backend. When rendering in stereo (interlaced mode), there are two horizontal lines in the middle of the window that belong to one eye. Code: vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetCenter(0.0, 0.0, 0.0); sphereSource->SetRadius(50.0); sphereSource->SetPhiResolution(100); sphereSource->SetThetaResolution(100); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); mapper->Update(); renderer->AddActor(actor); renderer->GetActiveCamera()->SetEyeAngle(30); renderer->ResetCamera(); renderer->SetBackground(.3, .6, .3); renderWindow->StereoCapableWindowOn(); renderWindow->SetStereoTypeToInterlaced(); renderWindow->StereoRenderOn(); renderWindowInteractor->Start(); Is there anything I need to change in my code? Kind regards Nicola _______________________________________________ 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 jhlegarreta at vicomtech.org Thu Apr 23 08:45:53 2015 From: jhlegarreta at vicomtech.org (Jon Haitz Legarreta) Date: Thu, 23 Apr 2015 14:45:53 +0200 Subject: [vtkusers] [VTK] Crop PolyData with BoxWidget Message-ID: Hi there, I'm trying to define a volume of interest over a vtkPolyData with the aid of a vtkBoxWidget. I would like to crop or strip away the polyData that lies inside the box, and be able to store the outside part of the original PolyData. I'm aware of the clipping option, but hiding the clipped part is not enough as I need to produce a new PolyData object. My input data is a volume in metaimage format (mhd) read with ITK (I'm using ITK 4.6.0, but would dare to say that virtually any VTK4 would work), then converted to a VTK image, and its isosurface rendered. I am unable to find the right way to do this. I guess there's something that I'm missing in the pipeline I need. My test program and data are attached. Also, attached is what I'm looking for done in ParaView. For compatibility issues with some other target application, the VTK version I'm using is a bit old (VTK 5.10.1). I'd dare to say that it's not an issue to use VTK6 or earlier in this case. Thanks a lot, JON HAITZ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PolyDataCropping.zip Type: application/zip Size: 26254 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PolyDataCropBox-ParaView.jpg Type: image/jpeg Size: 167207 bytes Desc: not available URL: From joachim.pouderoux at kitware.com Thu Apr 23 10:15:16 2015 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 23 Apr 2015 16:15:16 +0200 Subject: [vtkusers] announce: VTK/ParaView Training - June 2 and 3, 2015, Lyon, France Message-ID: Kitware will be holding VTK and ParaView training courses respectively on June 2 and 3 in Lyon, France. Please visit our web site for more information and registration details at: VTK: http://training.kitware.fr/browse/102 ParaView: http://training.kitware.fr/browse/104 Note that the courses will be taught in English. If you have any question, please contact us at! formations at http://www.kitware.fr Thank you, *Joachim Pouderoux* *PhD, Technical Expert* *Kitware SAS * -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.j.brown at live.co.uk Thu Apr 23 11:31:34 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Thu, 23 Apr 2015 08:31:34 -0700 (MST) Subject: [vtkusers] patient direction when superimposing RT struct on DICOM Message-ID: <1429803094577-5731584.post@n5.nabble.com> Hi all, A scan was segmented using another program and I want to superimpose RT struct and the scan. The problem is that the z-components don't line up. When I look at the maximum and minimum z positions of the same scan in OsiriX and dicompyler, I can see that the z values range from -163.75mm to 85mm. However, using vtkGDCMImageReader, the bounds range from 85 mm to 287mm. I have FileLowerLeftOn() to invert the bottom-to-top default of VTK. It's as if the spacing is negative or in the opposite direction. Something that strikes me as strange is that I have 202 slices with (1mm,1mm,1mm) spacing but OsiriX and dicompyler are telling me that the total distance range of the scan is 248.75mm whereas VTK is telling me what I expected - 202mm. Would anyone be able to shed some light on what's going on? Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/patient-direction-when-superimposing-RT-struct-on-DICOM-tp5731584.html Sent from the VTK - Users mailing list archive at Nabble.com. From richard.j.brown at live.co.uk Thu Apr 23 12:05:08 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Thu, 23 Apr 2015 09:05:08 -0700 (MST) Subject: [vtkusers] patient direction when superimposing RT struct on DICOM In-Reply-To: <1429803094577-5731584.post@n5.nabble.com> References: <1429803094577-5731584.post@n5.nabble.com> Message-ID: <1429805108237-5731586.post@n5.nabble.com> I forgot to mention that the largest contour (skull) in my scan ranges in z-coordinates from -70 to 52.25, so I'm inclined to believe that OsiriX and dicompyler are correct. -- View this message in context: http://vtk.1045678.n5.nabble.com/patient-direction-when-superimposing-RT-struct-on-DICOM-tp5731584p5731586.html Sent from the VTK - Users mailing list archive at Nabble.com. From jm.lucas at gantha.com Thu Apr 23 12:05:10 2015 From: jm.lucas at gantha.com (Jean-Michel) Date: Thu, 23 Apr 2015 18:05:10 +0200 Subject: [vtkusers] Python FindClosestPoint Message-ID: <001201d07ddf$46efbd00$d4cf3700$@lucas@gantha.com> Dear all, I have an Unstructured Grid and I am trying to find the id of the closest point to a given point defined by three coordinates (x,y,z). I tried using the FindClosestPoint function of the PointLocator, but it did not work so far. Running pid=vtk.vtkPointLocator.FindClosestPoint(x,y,z) returns "TypeError: unbound method requires a vtkPointLocator as the first argument". I would appreciate if someone could explain to me what I am doing wrong or missing. Thanks in advance for your time. Jean-Michel --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ec_lamar at yahoo.com Thu Apr 23 15:14:55 2015 From: ec_lamar at yahoo.com (eric lamar) Date: Thu, 23 Apr 2015 19:14:55 +0000 (UTC) Subject: [vtkusers] unable to run example/tutorial code Cone.cxx Message-ID: <1847641313.3742239.1429816495847.JavaMail.yahoo@mail.yahoo.com> Hello! I am attempting to run VTK 6.2's example/tutorial code Cone.cxx. ?It compiles, however I get a segmentation fault. My environment: ?iMac i7 quad coe, oS X 10.10, VTK 6.2 -------------The listing:------------- /*========================================================================= ? Program: ? Visualization Toolkit? Module:? ? Cone.cxx ? Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen? All rights reserved.? See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ?? ? This software is distributed WITHOUT ANY WARRANTY; without even?? ? the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR?? ? PURPOSE.? See the above copyright notice for more information. =========================================================================*///// This example creates a polygonal model of a cone, and then renders it to// the screen. It will rotate the cone 360 degrees and then exit. The basic// setup of source -> mapper -> actor -> renderer -> renderwindow is// typical of most VTK programs.// // First include the required header files for the VTK classes we are using.#include "vtkConeSource.h"#include "vtkPolyDataMapper.h"#include "vtkRenderWindow.h"#include "vtkCamera.h"#include "vtkActor.h"#include "vtkRenderer.h" int main(){? //? // Next we create an instance of vtkConeSource and set some of its? // properties. The instance of vtkConeSource "cone" is part of a? // visualization pipeline (it is a source process object); it produces data? // (output type is vtkPolyData) which other filters may process.? //? vtkConeSource *cone = vtkConeSource::New();? cone->SetHeight( 3.0 );? cone->SetRadius( 1.0 );? cone->SetResolution( 10 ); ? //? // In this example we terminate the pipeline with a mapper process object.? // (Intermediate filters such as vtkShrinkPolyData could be inserted in? // between the source and the mapper.)? We create an instance of? // vtkPolyDataMapper to map the polygonal data into graphics primitives. We? // connect the output of the cone souece to the input of this mapper.? //? vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();? coneMapper->SetInputConnection( cone->GetOutputPort() ); ? //? // Create an actor to represent the cone. The actor orchestrates rendering? // of the mapper's graphics primitives. An actor also refers to properties? // via a vtkProperty instance, and includes an internal transformation? // matrix. We set this actor's mapper to be coneMapper which we created? // above.? //? vtkActor *coneActor = vtkActor::New();? coneActor->SetMapper( coneMapper ); ? //? // Create the Renderer and assign actors to it. A renderer is like a? // viewport. It is part or all of a window on the screen and it is? // responsible for drawing the actors it has.? We also set the background? // color here.? //? vtkRenderer *ren1= vtkRenderer::New();? ren1->AddActor( coneActor );? ren1->SetBackground( 0.1, 0.2, 0.4 ); ? //? // Finally we create the render window which will show up on the screen.? // We put our renderer into the render window using AddRenderer. We also? // set the size to be 300 pixels by 300.? //? vtkRenderWindow *renWin = vtkRenderWindow::New();? renWin->AddRenderer( ren1 );? renWin->SetSize( 300, 300 ); ? //? // Now we loop over 360 degreeees and render the cone each time.? //? int i;? for (i = 0; i < 360; ++i)? ? {? ? // render the image? ? renWin->Render();? ? // rotate the active camera by one degree? ? ren1->GetActiveCamera()->Azimuth( 1 );? ? } ? //? // Free up any objects we created. All instances in VTK are deleted by? // using the Delete() method.? //? cone->Delete();? coneMapper->Delete();? coneActor->Delete();? ren1->Delete();? renWin->Delete(); ? return 0;} -------------I compile it:-------------g++ -g -O0 Cone.cxx -I /Users/Eric/VTK/include/vtk-6.2/ -L /Users/Eric/VTK/lib -lvtkFiltersSources-6.2 -lvtkRenderingOpenGL-6.2 -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 ------------And run it:------------./a.outGeneric Warning: In /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28Error: no override found for 'vtkPolyDataMapper'. Segmentation fault: 11 ---------------And debug it:---------------lldb a.out(lldb) target create "a.out"Current executable set to 'a.out' (x86_64).(lldb) runProcess 64007 launched: '/Users/Eric/Work/VTK-6.2.0/Examples/Tutorial/Step1/Cxx/a.out' (x86_64)Generic Warning: In /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28Error: no override found for 'vtkPolyDataMapper'. Process 64007 stopped* thread #1: tid = 0x42e799, 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)? ? frame #0: 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51?? 48? ? // connect the output of the cone souece to the input of this mapper.?? 49? ? //?? 50? ? vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();-> 51? ? coneMapper->SetInputConnection( cone->GetOutputPort() );?? 52 ? ?? 53? ? //?? 54? ? // Create an actor to represent the cone. The actor orchestrates rendering(lldb) p coneMapper(vtkPolyDataMapper *) $0 = 0x0000000000000000(lldb)? -----------So, why does the code complain about "no override found ..."? ?Why does the 'codeMapper' get assigned NULL? ?What am I missing? ?What do I need to change? Thank you,Eric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Thu Apr 23 15:22:31 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Thu, 23 Apr 2015 15:22:31 -0400 Subject: [vtkusers] unable to run example/tutorial code Cone.cxx In-Reply-To: <1847641313.3742239.1429816495847.JavaMail.yahoo@mail.yahoo.com> References: <1847641313.3742239.1429816495847.JavaMail.yahoo@mail.yahoo.com> Message-ID: Try using an example and the cmake file from http://www.vtk.org/Wiki/VTK/Examples/Cxx Dan On Thu, Apr 23, 2015 at 3:14 PM, eric lamar via vtkusers wrote: > Hello! > > I am attempting to run VTK 6.2's example/tutorial code Cone.cxx. It > compiles, however I get a segmentation fault. > > My environment: iMac i7 quad coe, oS X 10.10, VTK 6.2 > > ------------- > The listing: > ------------- > > /*========================================================================= > > Program: Visualization Toolkit > Module: Cone.cxx > > Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > All rights reserved. > See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > This software is distributed WITHOUT ANY WARRANTY; without even > the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. See the above copyright notice for more information. > > =========================================================================*/ > // > // This example creates a polygonal model of a cone, and then renders it to > // the screen. It will rotate the cone 360 degrees and then exit. The basic > // setup of source -> mapper -> actor -> renderer -> renderwindow is > // typical of most VTK programs. > // > > // First include the required header files for the VTK classes we are > using. > #include "vtkConeSource.h" > #include "vtkPolyDataMapper.h" > #include "vtkRenderWindow.h" > #include "vtkCamera.h" > #include "vtkActor.h" > #include "vtkRenderer.h" > > int main() > { > // > // Next we create an instance of vtkConeSource and set some of its > // properties. The instance of vtkConeSource "cone" is part of a > // visualization pipeline (it is a source process object); it produces > data > // (output type is vtkPolyData) which other filters may process. > // > vtkConeSource *cone = vtkConeSource::New(); > cone->SetHeight( 3.0 ); > cone->SetRadius( 1.0 ); > cone->SetResolution( 10 ); > > // > // In this example we terminate the pipeline with a mapper process > object. > // (Intermediate filters such as vtkShrinkPolyData could be inserted in > // between the source and the mapper.) We create an instance of > // vtkPolyDataMapper to map the polygonal data into graphics primitives. > We > // connect the output of the cone souece to the input of this mapper. > // > vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); > coneMapper->SetInputConnection( cone->GetOutputPort() ); > > // > // Create an actor to represent the cone. The actor orchestrates > rendering > // of the mapper's graphics primitives. An actor also refers to > properties > // via a vtkProperty instance, and includes an internal transformation > // matrix. We set this actor's mapper to be coneMapper which we created > // above. > // > vtkActor *coneActor = vtkActor::New(); > coneActor->SetMapper( coneMapper ); > > // > // Create the Renderer and assign actors to it. A renderer is like a > // viewport. It is part or all of a window on the screen and it is > // responsible for drawing the actors it has. We also set the background > // color here. > // > vtkRenderer *ren1= vtkRenderer::New(); > ren1->AddActor( coneActor ); > ren1->SetBackground( 0.1, 0.2, 0.4 ); > > // > // Finally we create the render window which will show up on the screen. > // We put our renderer into the render window using AddRenderer. We also > // set the size to be 300 pixels by 300. > // > vtkRenderWindow *renWin = vtkRenderWindow::New(); > renWin->AddRenderer( ren1 ); > renWin->SetSize( 300, 300 ); > > // > // Now we loop over 360 degreeees and render the cone each time. > // > int i; > for (i = 0; i < 360; ++i) > { > // render the image > renWin->Render(); > // rotate the active camera by one degree > ren1->GetActiveCamera()->Azimuth( 1 ); > } > > // > // Free up any objects we created. All instances in VTK are deleted by > // using the Delete() method. > // > cone->Delete(); > coneMapper->Delete(); > coneActor->Delete(); > ren1->Delete(); > renWin->Delete(); > > return 0; > } > > ------------- > I compile it: > ------------- > g++ -g -O0 Cone.cxx -I /Users/Eric/VTK/include/vtk-6.2/ -L > /Users/Eric/VTK/lib -lvtkFiltersSources-6.2 -lvtkRenderingOpenGL-6.2 > -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 > > ------------ > And run it: > ------------ > ./a.out > Generic Warning: In > /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28 > Error: no override found for 'vtkPolyDataMapper'. > > Segmentation fault: 11 > > --------------- > And debug it: > --------------- > lldb a.out > (lldb) target create "a.out" > Current executable set to 'a.out' (x86_64). > (lldb) run > Process 64007 launched: > '/Users/Eric/Work/VTK-6.2.0/Examples/Tutorial/Step1/Cxx/a.out' (x86_64) > Generic Warning: In > /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28 > Error: no override found for 'vtkPolyDataMapper'. > > Process 64007 stopped > * thread #1: tid = 0x42e799, 0x0000000100000d3e a.out`main + 142 at > Cone.cxx:51, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS > (code=1, address=0x0) > frame #0: 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51 > 48 // connect the output of the cone souece to the input of this > mapper. > 49 // > 50 vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); > -> 51 coneMapper->SetInputConnection( cone->GetOutputPort() ); > 52 > 53 // > 54 // Create an actor to represent the cone. The actor orchestrates > rendering > (lldb) p coneMapper > (vtkPolyDataMapper *) $0 = 0x0000000000000000 > (lldb) > > ----------- > So, why does the code complain about "no override found ..."? Why does > the 'codeMapper' get assigned NULL? What am I missing? What do I need to > change? > > Thank you, > Eric. > > _______________________________________________ > 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 andy.bauer at kitware.com Thu Apr 23 15:52:59 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 23 Apr 2015 15:52:59 -0400 Subject: [vtkusers] Python FindClosestPoint In-Reply-To: <55392ad8.8da26b0a.3c35.1dd7SMTPIN_ADDED_BROKEN@mx.google.com> References: <55392ad8.8da26b0a.3c35.1dd7SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: Did you try using the FindPoint() method in the vtkUnstructuredGrid class? It's implemented in vtkPointSet. On Thu, Apr 23, 2015 at 12:05 PM, Jean-Michel wrote: > Dear all, > > > > I have an Unstructured Grid and I am trying to find the id of the closest > point to a given point defined by three coordinates (x,y,z). > > I tried using the FindClosestPoint function of the PointLocator, but it > did not work so far. Running > pid=vtk.vtkPointLocator.FindClosestPoint(x,y,z) returns "TypeError: unbound > method requires a vtkPointLocator as the first argument". > > > > I would appreciate if someone could explain to me what I am doing wrong or > missing. Thanks in advance for your time. > > > > Jean-Michel > > > ------------------------------ > [image: Avast logo] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.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 ec_lamar at yahoo.com Thu Apr 23 16:44:18 2015 From: ec_lamar at yahoo.com (eric lamar) Date: Thu, 23 Apr 2015 20:44:18 +0000 (UTC) Subject: [vtkusers] unable to run example/tutorial code Cone.cxx In-Reply-To: References: Message-ID: <1082256180.3834181.1429821858254.JavaMail.yahoo@mail.yahoo.com> Dan: Thanks for the pointer - however, my need is a little different. ?I am making a library that uses VTK. ? I need to be able to compile this library directly - I need to see on the command line all of the arguments to the compile. ?When I compile the first program, titled "Hello World" (http://www.vtk.org/Wiki/VTK/Examples/Cxx/Rendering/Cylinder): ?g++ -g -O0 Cylinder.cxx -I ~/VTK/include/vtk-6.2 -L ~/VTK/lib??-lvtkFiltersSources-6.2 -lvtkRenderingOpenGL-6.2 -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 -lvtkCommonCore-6.2 The program compiles without errors or warnings. ?However, I get the same segmentation fault with a null pointer when I run the program. ?I've also linked against all 117 libraries (rather than just the 5 listed above) without any difference. ?Note that when I compile with the default 'Makefile', it works. ? I've examined the 'Makefile's that cmake produces to see what it does differently, but I just don't understand what I'm seeing in the 'Makefile's. ?What is done differently in the 'Makefile's that I'm not doing on the command line? Thank you,Eric. From: Dan Lipsa To: eric lamar Cc: "vtkusers at vtk.org" Sent: Thursday, April 23, 2015 12:22 PM Subject: Re: [vtkusers] unable to run example/tutorial code Cone.cxx Try using an example and the cmake file from http://www.vtk.org/Wiki/VTK/Examples/Cxx Dan On Thu, Apr 23, 2015 at 3:14 PM, eric lamar via vtkusers wrote: Hello! I am attempting to run VTK 6.2's example/tutorial code Cone.cxx.? It compiles, however I get a segmentation fault. My environment: ?iMac i7 quad coe, oS X 10.10, VTK 6.2 -------------The listing:------------- /*========================================================================= ? Program: ? Visualization Toolkit? Module:? ? Cone.cxx ? Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen? All rights reserved.? See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ?? ? This software is distributed WITHOUT ANY WARRANTY; without even?? ? the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR?? ? PURPOSE.? See the above copyright notice for more information. =========================================================================*///// This example creates a polygonal model of a cone, and then renders it to// the screen. It will rotate the cone 360 degrees and then exit. The basic// setup of source -> mapper -> actor -> renderer -> renderwindow is// typical of most VTK programs.// // First include the required header files for the VTK classes we are using.#include "vtkConeSource.h"#include "vtkPolyDataMapper.h"#include "vtkRenderWindow.h"#include "vtkCamera.h"#include "vtkActor.h"#include "vtkRenderer.h" int main(){? //? // Next we create an instance of vtkConeSource and set some of its? // properties. The instance of vtkConeSource "cone" is part of a? // visualization pipeline (it is a source process object); it produces data? // (output type is vtkPolyData) which other filters may process.? //? vtkConeSource *cone = vtkConeSource::New();? cone->SetHeight( 3.0 );? cone->SetRadius( 1.0 );? cone->SetResolution( 10 ); ? //? // In this example we terminate the pipeline with a mapper process object.? // (Intermediate filters such as vtkShrinkPolyData could be inserted in? // between the source and the mapper.)? We create an instance of? // vtkPolyDataMapper to map the polygonal data into graphics primitives. We? // connect the output of the cone souece to the input of this mapper.? //? vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();? coneMapper->SetInputConnection( cone->GetOutputPort() ); ? //? // Create an actor to represent the cone. The actor orchestrates rendering? // of the mapper's graphics primitives. An actor also refers to properties? // via a vtkProperty instance, and includes an internal transformation? // matrix. We set this actor's mapper to be coneMapper which we created? // above.? //? vtkActor *coneActor = vtkActor::New();? coneActor->SetMapper( coneMapper ); ? //? // Create the Renderer and assign actors to it. A renderer is like a? // viewport. It is part or all of a window on the screen and it is? // responsible for drawing the actors it has.? We also set the background? // color here.? //? vtkRenderer *ren1= vtkRenderer::New();? ren1->AddActor( coneActor );? ren1->SetBackground( 0.1, 0.2, 0.4 ); ? //? // Finally we create the render window which will show up on the screen.? // We put our renderer into the render window using AddRenderer. We also? // set the size to be 300 pixels by 300.? //? vtkRenderWindow *renWin = vtkRenderWindow::New();? renWin->AddRenderer( ren1 );? renWin->SetSize( 300, 300 ); ? //? // Now we loop over 360 degreeees and render the cone each time.? //? int i;? for (i = 0; i < 360; ++i)? ? {? ? // render the image? ? renWin->Render();? ? // rotate the active camera by one degree? ? ren1->GetActiveCamera()->Azimuth( 1 );? ? } ? //? // Free up any objects we created. All instances in VTK are deleted by? // using the Delete() method.? //? cone->Delete();? coneMapper->Delete();? coneActor->Delete();? ren1->Delete();? renWin->Delete(); ? return 0;} -------------I compile it:-------------g++ -g -O0 Cone.cxx -I /Users/Eric/VTK/include/vtk-6.2/ -L /Users/Eric/VTK/lib -lvtkFiltersSources-6.2 -lvtkRenderingOpenGL-6.2 -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 ------------And run it:------------./a.outGeneric Warning: In /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28Error: no override found for 'vtkPolyDataMapper'. Segmentation fault: 11 ---------------And debug it:---------------lldb a.out(lldb) target create "a.out"Current executable set to 'a.out' (x86_64).(lldb) runProcess 64007 launched: '/Users/Eric/Work/VTK-6.2.0/Examples/Tutorial/Step1/Cxx/a.out' (x86_64)Generic Warning: In /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28Error: no override found for 'vtkPolyDataMapper'. Process 64007 stopped* thread #1: tid = 0x42e799, 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)? ? frame #0: 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51?? 48? ? // connect the output of the cone souece to the input of this mapper.?? 49? ? //?? 50? ? vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();-> 51? ? coneMapper->SetInputConnection( cone->GetOutputPort() );?? 52 ? ?? 53? ? //?? 54? ? // Create an actor to represent the cone. The actor orchestrates rendering(lldb) p coneMapper(vtkPolyDataMapper *) $0 = 0x0000000000000000(lldb)? -----------So, why does the code complain about "no override found ..."?? Why does the 'codeMapper' get assigned NULL?? What am I missing?? What do I need to change? Thank you,Eric. _______________________________________________ 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 sean at rogue-research.com Thu Apr 23 16:46:39 2015 From: sean at rogue-research.com (Sean McBride) Date: Thu, 23 Apr 2015 16:46:39 -0400 Subject: [vtkusers] unable to run example/tutorial code Cone.cxx In-Reply-To: <1082256180.3834181.1429821858254.JavaMail.yahoo@mail.yahoo.com> References: <1082256180.3834181.1429821858254.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150423204639.158193095@mail.rogue-research.com> On Thu, 23 Apr 2015 20:44:18 +0000, eric lamar via vtkusers said: >Dan: >Thanks for the pointer - however, my need is a little different. ?I am >making a library that uses VTK. ? I need to be able to compile this >library directly - I need to see on the command line all of the >arguments to the compile. ?When I compile the first program, titled Could it be related to this: Cheers, -- ____________________________________________________________ Sean McBride, B. Eng sean at rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montr?al, Qu?bec, Canada From dave.demarle at kitware.com Thu Apr 23 16:48:42 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 23 Apr 2015 16:48:42 -0400 Subject: [vtkusers] unable to run example/tutorial code Cone.cxx In-Reply-To: <1082256180.3834181.1429821858254.JavaMail.yahoo@mail.yahoo.com> References: <1082256180.3834181.1429821858254.JavaMail.yahoo@mail.yahoo.com> Message-ID: Agree with Sean. Since 6.0, and if you are not using cmake on your own project, you need some #ifdef's to tell vtk which implementation modules to use. See How Implementation Modules Are Initialized at the bottom of http://www.vtk.org/Wiki/VTK/Build_System_Migration David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Apr 23, 2015 at 4:44 PM, eric lamar via vtkusers wrote: > Dan: > > Thanks for the pointer - however, my need is a little different. I am > making a library that uses VTK. I need to be able to compile this library > directly - I need to see on the command line all of the arguments to the > compile. When I compile the first program, titled "Hello World" ( > http://www.vtk.org/Wiki/VTK/Examples/Cxx/Rendering/Cylinder): > > g++ -g -O0 Cylinder.cxx -I ~/VTK/include/vtk-6.2 -L ~/VTK/lib -lvtkFiltersSources-6.2 > -lvtkRenderingOpenGL-6.2 -lvtkRenderingCore-6.2 > -lvtkCommonExecutionModel-6.2 -lvtkCommonCore-6.2 > > The program compiles without errors or warnings. However, I get the same > segmentation fault with a null pointer when I run the program. I've also > linked against all 117 libraries (rather than just the 5 listed above) > without any difference. Note that when I compile with the default > 'Makefile', it works. I've examined the 'Makefile's that cmake produces > to see what it does differently, but I just don't understand what I'm > seeing in the 'Makefile's. What is done differently in the 'Makefile's > that I'm not doing on the command line? > > Thank you, > Eric. > > ------------------------------ > *From:* Dan Lipsa > *To:* eric lamar > *Cc:* "vtkusers at vtk.org" > *Sent:* Thursday, April 23, 2015 12:22 PM > *Subject:* Re: [vtkusers] unable to run example/tutorial code Cone.cxx > > Try using an example and the cmake file from > > http://www.vtk.org/Wiki/VTK/Examples/Cxx > > Dan > > > > > On Thu, Apr 23, 2015 at 3:14 PM, eric lamar via vtkusers > wrote: > > > > Hello! > > I am attempting to run VTK 6.2's example/tutorial code Cone.cxx. It > compiles, however I get a segmentation fault. > > My environment: iMac i7 quad coe, oS X 10.10, VTK 6.2 > > ------------- > The listing: > ------------- > > /*========================================================================= > > Program: Visualization Toolkit > Module: Cone.cxx > > Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen > All rights reserved. > See Copyright.txt or http://www.kitware.com/Copyright.htm for details. > > This software is distributed WITHOUT ANY WARRANTY; without even > the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. See the above copyright notice for more information. > > =========================================================================*/ > // > // This example creates a polygonal model of a cone, and then renders it to > // the screen. It will rotate the cone 360 degrees and then exit. The basic > // setup of source -> mapper -> actor -> renderer -> renderwindow is > // typical of most VTK programs. > // > > // First include the required header files for the VTK classes we are > using. > #include "vtkConeSource.h" > #include "vtkPolyDataMapper.h" > #include "vtkRenderWindow.h" > #include "vtkCamera.h" > #include "vtkActor.h" > #include "vtkRenderer.h" > > int main() > { > // > // Next we create an instance of vtkConeSource and set some of its > // properties. The instance of vtkConeSource "cone" is part of a > // visualization pipeline (it is a source process object); it produces > data > // (output type is vtkPolyData) which other filters may process. > // > vtkConeSource *cone = vtkConeSource::New(); > cone->SetHeight( 3.0 ); > cone->SetRadius( 1.0 ); > cone->SetResolution( 10 ); > > // > // In this example we terminate the pipeline with a mapper process > object. > // (Intermediate filters such as vtkShrinkPolyData could be inserted in > // between the source and the mapper.) We create an instance of > // vtkPolyDataMapper to map the polygonal data into graphics primitives. > We > // connect the output of the cone souece to the input of this mapper. > // > vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); > coneMapper->SetInputConnection( cone->GetOutputPort() ); > > // > // Create an actor to represent the cone. The actor orchestrates > rendering > // of the mapper's graphics primitives. An actor also refers to > properties > // via a vtkProperty instance, and includes an internal transformation > // matrix. We set this actor's mapper to be coneMapper which we created > // above. > // > vtkActor *coneActor = vtkActor::New(); > coneActor->SetMapper( coneMapper ); > > // > // Create the Renderer and assign actors to it. A renderer is like a > // viewport. It is part or all of a window on the screen and it is > // responsible for drawing the actors it has. We also set the background > // color here. > // > vtkRenderer *ren1= vtkRenderer::New(); > ren1->AddActor( coneActor ); > ren1->SetBackground( 0.1, 0.2, 0.4 ); > > // > // Finally we create the render window which will show up on the screen. > // We put our renderer into the render window using AddRenderer. We also > // set the size to be 300 pixels by 300. > // > vtkRenderWindow *renWin = vtkRenderWindow::New(); > renWin->AddRenderer( ren1 ); > renWin->SetSize( 300, 300 ); > > // > // Now we loop over 360 degreeees and render the cone each time. > // > int i; > for (i = 0; i < 360; ++i) > { > // render the image > renWin->Render(); > // rotate the active camera by one degree > ren1->GetActiveCamera()->Azimuth( 1 ); > } > > // > // Free up any objects we created. All instances in VTK are deleted by > // using the Delete() method. > // > cone->Delete(); > coneMapper->Delete(); > coneActor->Delete(); > ren1->Delete(); > renWin->Delete(); > > return 0; > } > > ------------- > I compile it: > ------------- > g++ -g -O0 Cone.cxx -I /Users/Eric/VTK/include/vtk-6.2/ -L > /Users/Eric/VTK/lib -lvtkFiltersSources-6.2 -lvtkRenderingOpenGL-6.2 > -lvtkRenderingCore-6.2 -lvtkCommonExecutionModel-6.2 > > ------------ > And run it: > ------------ > ./a.out > Generic Warning: In > /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28 > Error: no override found for 'vtkPolyDataMapper'. > > Segmentation fault: 11 > > --------------- > And debug it: > --------------- > lldb a.out > (lldb) target create "a.out" > Current executable set to 'a.out' (x86_64). > (lldb) run > Process 64007 launched: > '/Users/Eric/Work/VTK-6.2.0/Examples/Tutorial/Step1/Cxx/a.out' (x86_64) > Generic Warning: In > /Users/Eric/Work/VTK-6.2.0/Rendering/Core/vtkPolyDataMapper.cxx, line 28 > Error: no override found for 'vtkPolyDataMapper'. > > Process 64007 stopped > * thread #1: tid = 0x42e799, 0x0000000100000d3e a.out`main + 142 at > Cone.cxx:51, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS > (code=1, address=0x0) > frame #0: 0x0000000100000d3e a.out`main + 142 at Cone.cxx:51 > 48 // connect the output of the cone souece to the input of this > mapper. > 49 // > 50 vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); > -> 51 coneMapper->SetInputConnection( cone->GetOutputPort() ); > 52 > 53 // > 54 // Create an actor to represent the cone. The actor orchestrates > rendering > (lldb) p coneMapper > (vtkPolyDataMapper *) $0 = 0x0000000000000000 > (lldb) > > ----------- > So, why does the code complain about "no override found ..."? Why does > the 'codeMapper' get assigned NULL? What am I missing? What do I need to > change? > > Thank you, > Eric. > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sujin.philip at kitware.com Thu Apr 23 18:00:37 2015 From: sujin.philip at kitware.com (Sujin Philip) Date: Thu, 23 Apr 2015 18:00:37 -0400 Subject: [vtkusers] Support for Windows XP and 32-bit PPC MAC OS Message-ID: Hi, I am working on vtkAtomicInt. Some of the features I need are not supported on older platforms. I wanted to know if any users still use/care about the following platforms: Windows XP or OS X for 32 bit PowerPC platform. We can implement a fall back to use mutexes on these platforms but I am wondering if it is worth the effort. Thanks Sujin -------------- next part -------------- An HTML attachment was scrubbed... URL: From DLRdave at aol.com Thu Apr 23 21:10:49 2015 From: DLRdave at aol.com (David Cole) Date: Thu, 23 Apr 2015 21:10:49 -0400 Subject: [vtkusers] Support for Windows XP and 32-bit PPC MAC OS In-Reply-To: References: Message-ID: I still build for Windows XP, but I probably wouldn't mind an excuse to stop. :-P On Thursday, April 23, 2015, Sujin Philip wrote: > Hi, > > I am working on vtkAtomicInt. Some of the features I need are not > supported on older platforms. I wanted to know if any users still use/care > about the following platforms: Windows XP or OS X for 32 bit PowerPC > platform. We can implement a fall back to use mutexes on these platforms > but I am wondering if it is worth the effort. > > Thanks > Sujin > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yordan_kyosev at gmx.net Fri Apr 24 01:04:51 2015 From: yordan_kyosev at gmx.net (Yordan Kyosev) Date: Fri, 24 Apr 2015 07:04:51 +0200 Subject: [vtkusers] Re 9. Support for Windows XP and 32-bit PPC MAC OS (Sujin Philip) In-Reply-To: References: Message-ID: <5539CEF3.6080309@gmx.net> Dear Sujin, We have several customers from the low-income countries, which are still working on Windows XP but if they runs the XP on PowerPC or not - I do not know. Best regards Yordan Am 24.04.2015 um 00:00 schrieb vtkusers-request at vtk.org: > Message: 9 > Date: Thu, 23 Apr 2015 18:00:37 -0400 > From: Sujin Philip > To:vtkusers at vtk.org > Subject: [vtkusers] Support for Windows XP and 32-bit PPC MAC OS > > Hi, > > I am working on vtkAtomicInt. Some of the features I need are not supported > on older platforms. I wanted to know if any users still use/care about the > following platforms: Windows XP or OS X for 32 bit PowerPC platform. We can > implement a fall back to use mutexes on these platforms but I am wondering > if it is worth the effort. > > Thanks > Sujin > ---------- From jm.lucas at gantha.com Fri Apr 24 03:49:49 2015 From: jm.lucas at gantha.com (Jean-Michel) Date: Fri, 24 Apr 2015 09:49:49 +0200 Subject: [vtkusers] Python FindClosestPoint In-Reply-To: References: <55392ad8.8da26b0a.3c35.1dd7SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: <000301d07e63$3fe86000$bfb92000$@lucas@gantha.com> Thank you very much for your suggestion Andy. Using the FindPoint() method works well. Is there a reason why I could not use FindClosestPoint() ? Does it come from the data type I am manipulating ? Jean-Michel De : Andy Bauer [mailto:andy.bauer at kitware.com] Envoy? : jeudi 23 avril 2015 21:53 ? : Jean-Michel Cc : VTK Users Objet : Re: [vtkusers] Python FindClosestPoint Did you try using the FindPoint() method in the vtkUnstructuredGrid class? It's implemented in vtkPointSet. On Thu, Apr 23, 2015 at 12:05 PM, Jean-Michel wrote: Dear all, I have an Unstructured Grid and I am trying to find the id of the closest point to a given point defined by three coordinates (x,y,z). I tried using the FindClosestPoint function of the PointLocator, but it did not work so far. Running pid=vtk.vtkPointLocator.FindClosestPoint(x,y,z) returns "TypeError: unbound method requires a vtkPointLocator as the first argument". I would appreciate if someone could explain to me what I am doing wrong or missing. Thanks in advance for your time. Jean-Michel _____ Avast logo L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. www.avast.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 --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Uystepruyst at univ-valenciennes.fr Fri Apr 24 05:57:24 2015 From: David.Uystepruyst at univ-valenciennes.fr (David Uystepruyst) Date: Fri, 24 Apr 2015 11:57:24 +0200 (CEST) Subject: [vtkusers] vtk old legacy polyhedron In-Reply-To: <192461627.5550793.1429868494368.JavaMail.zimbra@univ-valenciennes.fr> Message-ID: <1850172246.5555617.1429869444800.JavaMail.zimbra@univ-valenciennes.fr> Hello, I would like to create an ASCII output files in vtk (unstructured) format from a CFD code written in fortran. The main parts of cells are cartesian hexa (cube) but the boundary cells can be polyhedral (convex and concave). Then, I want to use polyhedron cell type (referred as 42 in vtk) but it seems difficult to find examples ? I guess polyhedron cells need more informations as there is no specific order for the nodes ? Thanks, -- David -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcin.krotkiewski at gmail.com Fri Apr 24 06:29:33 2015 From: marcin.krotkiewski at gmail.com (marcin.krotkiewski) Date: Fri, 24 Apr 2015 12:29:33 +0200 Subject: [vtkusers] Drawing patches on surfaces Message-ID: <553A1B0D.6060501@gmail.com> Hello, all I am struggling with the following z-fighting related problem. I have a surface colored by some scalar data. I would like to display small, solid-color patches exactly on that surface. Currently, the result looks bad: I see the underlying surface through the patches in random places, and I get flickering when rotating. I was thinking to use polygon offset to fix this problem, but it looks like the polygon offset parameters are global, not per-mapper. What I would need is to push the underlying surface 'backwards' wrt. the overlying patch, so they must have different offset parameters. Intuitively, I would have thought that the order in which the surface/patch is plotted could somehow help to solve the problem, but I did not manage to find a satisfactory solution. Could anybody help? Thank you! Marcin From 15891495523 at 126.com Fri Apr 24 07:27:42 2015 From: 15891495523 at 126.com (zhq) Date: Fri, 24 Apr 2015 04:27:42 -0700 (MST) Subject: [vtkusers] how to quit VTK when close the MFC single dialog ? Message-ID: <1429874862318-5731600.post@n5.nabble.com> I am learning coding VTK based on the MFC single dialog ? And it's ok for me to read a picture in MFC dialog. But after I close the dialog, I find the exe is still survived in the computer progress. So how can I quit the VTK after I close the dialog ? My code is : m_pImageViewer->SetInputData(m_pImageData); m_pImageViewer->SetParentId(GetDlgItem(IDC_STATIC)->m_hWnd); m_pImageViewer->SetupInteractor(m_pRenderWindowInteractor); m_pImageViewer->SetSize(rect.Width(),rect.Height()); m_pRenderWindowInteractor->Render(); m_pImageViewer->Render(); m_pImageViewer->GetRenderer()->ResetCamera(); m_pRenderWindowInteractor->Start(); -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-quit-VTK-when-close-the-MFC-single-dialog-tp5731600.html Sent from the VTK - Users mailing list archive at Nabble.com. From andy.bauer at kitware.com Fri Apr 24 09:14:57 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 24 Apr 2015 09:14:57 -0400 Subject: [vtkusers] Python FindClosestPoint In-Reply-To: <5539f5a5.6841440a.593d.ffffefa2SMTPIN_ADDED_BROKEN@mx.google.com> References: <55392ad8.8da26b0a.3c35.1dd7SMTPIN_ADDED_BROKEN@mx.google.com> <5539f5a5.6841440a.593d.ffffefa2SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: I think the issue is that you didn't create the actual point locator object. It should look something like but possibly missing more stuff: pl = vtk.vtkPointLocator() pl.SetDataSet(dataset) pl.FindClosestPoint(x, y, z) There's a C++ example at http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointLocator_Radius that you can look at for reference. On Fri, Apr 24, 2015 at 3:49 AM, Jean-Michel wrote: > Thank you very much for your suggestion Andy. Using the FindPoint() > method works well. > > Is there a reason why I could not use FindClosestPoint() ? Does it come > from the data type I am manipulating ? > > > > Jean-Michel > > > > *De :* Andy Bauer [mailto:andy.bauer at kitware.com] > *Envoy? :* jeudi 23 avril 2015 21:53 > *? :* Jean-Michel > *Cc :* VTK Users > *Objet :* Re: [vtkusers] Python FindClosestPoint > > > > Did you try using the FindPoint() method in the vtkUnstructuredGrid class? > It's implemented in vtkPointSet. > > > > On Thu, Apr 23, 2015 at 12:05 PM, Jean-Michel wrote: > > Dear all, > > > > I have an Unstructured Grid and I am trying to find the id of the closest > point to a given point defined by three coordinates (x,y,z). > > I tried using the FindClosestPoint function of the PointLocator, but it > did not work so far. Running > pid=vtk.vtkPointLocator.FindClosestPoint(x,y,z) returns "TypeError: unbound > method requires a vtkPointLocator as the first argument". > > > > I would appreciate if someone could explain to me what I am doing wrong or > missing. Thanks in advance for your time. > > > > Jean-Michel > > > ------------------------------ > > [image: Avast logo] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.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 > > > > > ------------------------------ > [image: Avast logo] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hgross at ar2tech.com Fri Apr 24 10:04:43 2015 From: hgross at ar2tech.com (=?UTF-8?B?SGVydsOpIEdyb3Nz?=) Date: Fri, 24 Apr 2015 07:04:43 -0700 Subject: [vtkusers] vtk old legacy polyhedron In-Reply-To: <1850172246.5555617.1429869444800.JavaMail.zimbra@univ-valenciennes.fr> References: <192461627.5550793.1429868494368.JavaMail.zimbra@univ-valenciennes.fr> <1850172246.5555617.1429869444800.JavaMail.zimbra@univ-valenciennes.fr> Message-ID: Hello David, This explains the format for polyhedral blocks. Make sure you use the faces and facestream tags. http://www.simpleitk.org/Wiki/VTK/Polyhedron_Support Herve Herve Gross, PhD ADVANCED RESOURCES AND RISK TECHNOLOGIES www.ar2tech.com On Fri, Apr 24, 2015 at 2:57 AM, David Uystepruyst < David.Uystepruyst at univ-valenciennes.fr> wrote: > Hello, > > I would like to create an ASCII output files in vtk (unstructured) > format from a CFD code written in fortran. > > The main parts of cells are cartesian hexa (cube) but the boundary cells > can be polyhedral (convex and concave). > > Then, I want to use polyhedron cell type (referred as 42 in vtk) but it > seems difficult to find examples ? > > I guess polyhedron cells need more informations as there is no specific > order for the nodes ? > > Thanks, > -- > 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 David.Uystepruyst at univ-valenciennes.fr Fri Apr 24 10:29:09 2015 From: David.Uystepruyst at univ-valenciennes.fr (David Uystepruyst) Date: Fri, 24 Apr 2015 16:29:09 +0200 (CEST) Subject: [vtkusers] vtk old legacy polyhedron In-Reply-To: References: <192461627.5550793.1429868494368.JavaMail.zimbra@univ-valenciennes.fr> <1850172246.5555617.1429869444800.JavaMail.zimbra@univ-valenciennes.fr> Message-ID: <1007755121.5650510.1429885749391.JavaMail.zimbra@univ-valenciennes.fr> Hello Herve, Thank you for your answer. I already saw this page. It looks like functions to perform binary files. I'll go further to find the equivalent in ascii format. David ----- Mail original ----- De: "Herv? Gross" ?: "David Uystepruyst" Cc: vtkusers at vtk.org Envoy?: Vendredi 24 Avril 2015 16:04:43 Objet: Re: [vtkusers] vtk old legacy polyhedron Hello David, This explains the format for polyhedral blocks. Make sure you use the faces and facestream tags. http://www.simpleitk.org/Wiki/VTK/Polyhedron_Support Herve Herve Gross, PhD ADVANCED RESOURCES AND RISK TECHNOLOGIES www.ar2tech.com On Fri, Apr 24, 2015 at 2:57 AM, David Uystepruyst < David.Uystepruyst at univ-valenciennes.fr > wrote: Hello, I would like to create an ASCII output files in vtk (unstructured) format from a CFD code written in fortran. The main parts of cells are cartesian hexa (cube) but the boundary cells can be polyhedral (convex and concave). Then, I want to use polyhedron cell type (referred as 42 in vtk) but it seems difficult to find examples ? I guess polyhedron cells need more informations as there is no specific order for the nodes ? Thanks, -- 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 beekmaarten at yahoo.com Fri Apr 24 10:40:59 2015 From: beekmaarten at yahoo.com (Maarten Beek) Date: Fri, 24 Apr 2015 14:40:59 +0000 (UTC) Subject: [vtkusers] VTK_FACTORY_INTERFACE_IMPLEMENT macro generating compiler errors Message-ID: <1358731193.415406.1429886459308.JavaMail.yahoo@mail.yahoo.com> Hi All, I am trying to create my own dll with classes derived from VTK classes that shoud integrate in the vtkObjectFactory architecture. But when I use the macro VTK_FACTORY_INTERFACE_IMPLEMENT, I get the following compiler errors: error C2491: 'vtkLoad' : definition of dllimport function not allowederror C2491: 'vtkGetFactoryVersion : definition of dllimport function not allowederror C2491: 'vtkGetFactoryCompilerUsed' : definition of dllimport function not allowed Is the VTK_FACTORY_INTERFACE_EXPORT wrongly defined? Thanks - Maarten -------------- next part -------------- An HTML attachment was scrubbed... URL: From hgross at ar2tech.com Fri Apr 24 10:46:45 2015 From: hgross at ar2tech.com (=?UTF-8?B?SGVydsOpIEdyb3Nz?=) Date: Fri, 24 Apr 2015 07:46:45 -0700 Subject: [vtkusers] vtk old legacy polyhedron In-Reply-To: <1007755121.5650510.1429885749391.JavaMail.zimbra@univ-valenciennes.fr> References: <192461627.5550793.1429868494368.JavaMail.zimbra@univ-valenciennes.fr> <1850172246.5555617.1429869444800.JavaMail.zimbra@univ-valenciennes.fr> <1007755121.5650510.1429885749391.JavaMail.zimbra@univ-valenciennes.fr> Message-ID: David, It should work with ASCII too. Here is a simple XML example with one tetrahedron (coded as as a polyhedron), if it helps finding the structured syntax: .169 0 0 0 1 0 0 .5 1 0 .5 .5 1 0 1 2 3 4 42 4 3 0 1 2 3 0 1 3 3 1 2 3 3 0 2 3 17 HTH, Herve Herve Gross, PhD ADVANCED RESOURCES AND RISK TECHNOLOGIES www.ar2tech.com On Fri, Apr 24, 2015 at 7:29 AM, David Uystepruyst < David.Uystepruyst at univ-valenciennes.fr> wrote: > Hello Herve, > > Thank you for your answer. > I already saw this page. It looks like functions to perform binary files. > I'll go further to find the equivalent in ascii format. > > David > > ------------------------------ > *De: *"Herv? Gross" > *?: *"David Uystepruyst" > *Cc: *vtkusers at vtk.org > *Envoy?: *Vendredi 24 Avril 2015 16:04:43 > *Objet: *Re: [vtkusers] vtk old legacy polyhedron > > > Hello David, > > This explains the format for polyhedral blocks. Make sure you use the > faces and facestream tags. > > http://www.simpleitk.org/Wiki/VTK/Polyhedron_Support > > Herve > > > Herve Gross, PhD > > ADVANCED RESOURCES AND RISK TECHNOLOGIES > www.ar2tech.com > > On Fri, Apr 24, 2015 at 2:57 AM, David Uystepruyst < > David.Uystepruyst at univ-valenciennes.fr> wrote: > >> Hello, >> >> I would like to create an ASCII output files in vtk (unstructured) >> format from a CFD code written in fortran. >> >> The main parts of cells are cartesian hexa (cube) but the boundary >> cells can be polyhedral (convex and concave). >> >> Then, I want to use polyhedron cell type (referred as 42 in vtk) but it >> seems difficult to find examples ? >> >> I guess polyhedron cells need more informations as there is no specific >> order for the nodes ? >> >> Thanks, >> -- >> 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 sean at rogue-research.com Fri Apr 24 11:26:00 2015 From: sean at rogue-research.com (Sean McBride) Date: Fri, 24 Apr 2015 11:26:00 -0400 Subject: [vtkusers] Support for Windows XP and 32-bit PPC MAC OS In-Reply-To: References: Message-ID: <20150424152600.1309451907@mail.rogue-research.com> On Thu, 23 Apr 2015 18:00:37 -0400, Sujin Philip said: >I am working on vtkAtomicInt. Some of the features I need are not supported >on older platforms. I wanted to know if any users still use/care about the >following platforms: Windows XP or OS X for 32 bit PowerPC platform. We can >implement a fall back to use mutexes on these platforms but I am wondering >if it is worth the effort. My Rogue3 "Mac10.5-gcc-dbg-ppc-shared" dashboard is 32 bit Power PC. But I don't much care about 32 PPC anymore personally. I could switch the dashboard to 64 bit. What are you missing on 32 bit PPC? 64 bit atomic math? Cheers, -- ____________________________________________________________ Sean McBride, B. Eng sean at rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montr?al, Qu?bec, Canada From tavares at fe.up.pt Fri Apr 24 13:39:16 2015 From: tavares at fe.up.pt (=?utf-8?Q?=22Jo=C3=A3o_Manuel_R=2E_S=2E_Tavares=22?=) Date: Fri, 24 Apr 2015 18:39:16 +0100 Subject: [vtkusers] V ECCOMAS Thematic Conference VipIMAGE 2015: SUBMISSION DEADLINE postponed Message-ID: <402D9A48-578E-4C77-9350-9543C356D14C@fe.up.pt> Dear Colleague, Attending several requests, the organizing committee of the International Conference VipIMAGE 2015 - V ECCOMAS THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING (www.fe.up.pt/vipimage) to be held in October 19-21, 2015, in H10 Costa Adeje Palace, Tenerife, Spain, has extended the submission period to May 15th. Once again, we would like to invite you to participate and share your expertise in VipIMAGE 2015. Invited Lecturers - Alexandre Xavier Falc?o, Universidade de Campinas, Brazil - Cristian A. Linte, Mayo Clinic, USA - Fiorella Sgallari, University of Bologna, Italy - Yongjie Zhang, Carnegie Mellon University, USA - Xiaochuan Pan, The University of Chicago, USA - Xue-cheng Tai, University of Bergen, Norway Publications - Proceedings: The proceedings book will be published by Taylor & Francis Group (www.balkema.nl) and indexed by Thomson Reuters Conference Proceedings Citation Index, IET Inspect and Elsevier Scopus. - Springer Book: A book with 20 invited works from the ones presented in the conference will be published by Springer under the book series "Lecture Notes in Computational Vision and Biomechanics" (www.springer.com/series/8910) indexed by Elsevier Scopus. - Journal Publication: A dedicated special issue of the Taylor & Francis international journal "Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization" (www.tandfonline.com/tciv) will be published with extended versions of the best works presented in the conference. Important dates - Deadline for Extended Abstracts (2-4 pages): May 15, 2015 - Authors Notification: May 31, 2015 - Deadline for Papers: July 20, 2015 We are looking forward to see you in Tenerife next October, Jo?o Manuel R. S. Tavares Renato Natal Jorge (VipIMAGE 2015 co-chairs) For further details, please, have a look in the conference website at: www.fe.up.pt/vipimage, the Facebook page at: www.facebook.com/pages/Vipimage/237980719665456, or join the LinkedIn group at: http://www.linkedin.com/groups?gid=4752820&trk=hb_side_g. From sujin.philip at kitware.com Fri Apr 24 14:20:39 2015 From: sujin.philip at kitware.com (Sujin Philip) Date: Fri, 24 Apr 2015 14:20:39 -0400 Subject: [vtkusers] Support for Windows XP and 32-bit PPC MAC OS In-Reply-To: <20150424152600.1309451907@mail.rogue-research.com> References: <20150424152600.1309451907@mail.rogue-research.com> Message-ID: Hi Sean, That is correct. According to Apple's documentation, 64-bit atomic math is not available on 32 bit ppc machines. For now, I am using try_compiles to determine what operations are available on a platform and reverting to mutexes for missing atomic operations. I was worried that the extra try-compiles will slow the configuration process unnecessarily. I am leaving them in for now. We can remove them when we no longer care about these platforms in the future. Thanks Sujin On Fri, Apr 24, 2015 at 11:26 AM, Sean McBride wrote: > On Thu, 23 Apr 2015 18:00:37 -0400, Sujin Philip said: > > >I am working on vtkAtomicInt. Some of the features I need are not > supported > >on older platforms. I wanted to know if any users still use/care about the > >following platforms: Windows XP or OS X for 32 bit PowerPC platform. We > can > >implement a fall back to use mutexes on these platforms but I am wondering > >if it is worth the effort. > > My Rogue3 "Mac10.5-gcc-dbg-ppc-shared" dashboard is 32 bit Power PC. But > I don't much care about 32 PPC anymore personally. I could switch the > dashboard to 64 bit. > > What are you missing on 32 bit PPC? 64 bit atomic math? > > Cheers, > > -- > ____________________________________________________________ > Sean McBride, B. Eng sean at rogue-research.com > Rogue Research www.rogue-research.com > Mac Software Developer Montr?al, Qu?bec, Canada > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From root at davidkushner.me Fri Apr 24 17:18:18 2015 From: root at davidkushner.me (David Kushner) Date: Fri, 24 Apr 2015 14:18:18 -0700 Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems Message-ID: I'm currently building an application based heavily on the source provided in the QtVTKRenderWindows example ( https://github.com/Kitware/VTK/blob/master/Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx) using VTK 6.1. The only appreciable difference between my implementation and the one laid out in the example is the fact that, rather than using the vtkDICOMImageReader class, I'm loading our DICOM CT image in with ITK 4.8 and then converting it to the corresponding VTK image format using the itk::ImageToVTKImageFilter. I'm not sure if this is relevant to the issue I'm having, but I figure it couldn't hurt. The issue is, though the image loads and renders just fine, the windowing applied to the image does not display transparency for out-of-window values as I would expect (and maybe this expectation is completely silly). The pixel type I'm using for the images, since they are CT scans, is `signed short`. The result I am seeing when I start my application is this: [image: Inline image 1] (http://i.imgur.com/vRkN0Ak.png) Apologies if it is inappropriate to paste images inline or at all. As you can see, though the background values contained in the CT slice solid black, they are not exhibiting transparency as I would expect (or hope to achieve). Would anyone have some advice on how to achieve a transparency effect with this setup? I've tried a number of things from fiddling with the windowing of the plane widgets, the windowing values and color map of the renderer itself and then converting the image to an RGBA image before sending it on to the plane widgets. None of these seemed to have any effect on the outcome; the planes still rendered as opaque. Any help would be GREATLY appreciated. It seems to me to be such a simple task yet I've mired myself in the complexities of ITK/VTK. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 118468 bytes Desc: not available URL: From mdrahos at thinksurgical.com Fri Apr 24 18:02:01 2015 From: mdrahos at thinksurgical.com (Miroslav Drahos) Date: Fri, 24 Apr 2015 15:02:01 -0700 Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems In-Reply-To: References: Message-ID: Try planeWidget->GetTexturePlaneProperty()->SetOpacity(0.5); Best, Miro ________________________________________ From: vtkusers [vtkusers-bounces at vtk.org] On Behalf Of David Kushner [root at davidkushner.me] Sent: Friday, April 24, 2015 2:18 PM To: vtkusers at vtk.org Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems I'm currently building an application based heavily on the source provided in the QtVTKRenderWindows example (https://github.com/Kitware/VTK/blob/master/Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx) using VTK 6.1. The only appreciable difference between my implementation and the one laid out in the example is the fact that, rather than using the vtkDICOMImageReader class, I'm loading our DICOM CT image in with ITK 4.8 and then converting it to the corresponding VTK image format using the itk::ImageToVTKImageFilter. I'm not sure if this is relevant to the issue I'm having, but I figure it couldn't hurt. The issue is, though the image loads and renders just fine, the windowing applied to the image does not display transparency for out-of-window values as I would expect (and maybe this expectation is completely silly). The pixel type I'm using for the images, since they are CT scans, is `signed short`. The result I am seeing when I start my application is this: [cid:ii_14ced4775ccffd82] (http://i.imgur.com/vRkN0Ak.png) Apologies if it is inappropriate to paste images inline or at all. As you can see, though the background values contained in the CT slice solid black, they are not exhibiting transparency as I would expect (or hope to achieve). Would anyone have some advice on how to achieve a transparency effect with this setup? I've tried a number of things from fiddling with the windowing of the plane widgets, the windowing values and color map of the renderer itself and then converting the image to an RGBA image before sending it on to the plane widgets. None of these seemed to have any effect on the outcome; the planes still rendered as opaque. Any help would be GREATLY appreciated. It seems to me to be such a simple task yet I've mired myself in the complexities of ITK/VTK. From root at davidkushner.me Sat Apr 25 03:18:22 2015 From: root at davidkushner.me (David Kushner) Date: Sat, 25 Apr 2015 00:18:22 -0700 Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems In-Reply-To: References: Message-ID: Brilliant, thanks Miro. Your suggestion worked well. I was hoping to be able to map 0-values (pure black) to total transparency while applying the 0.5 opacity to the remaining image. Is there a way to accomplish this specifically? This is just icing on the cake, I quite like the result I get with your suggestion but the background is still occluding some details of the planes behind. Thanks again! On Fri, Apr 24, 2015 at 3:02 PM, Miroslav Drahos wrote: > Try > planeWidget->GetTexturePlaneProperty()->SetOpacity(0.5); > > Best, > Miro > > ________________________________________ > From: vtkusers [vtkusers-bounces at vtk.org] On Behalf Of David Kushner [ > root at davidkushner.me] > Sent: Friday, April 24, 2015 2:18 PM > To: vtkusers at vtk.org > Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems > > I'm currently building an application based heavily on the source provided > in the QtVTKRenderWindows example ( > https://github.com/Kitware/VTK/blob/master/Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx) > using VTK 6.1. The only appreciable difference between my implementation > and the one laid out in the example is the fact that, rather than using the > vtkDICOMImageReader class, I'm loading our DICOM CT image in with ITK 4.8 > and then converting it to the corresponding VTK image format using the > itk::ImageToVTKImageFilter. I'm not sure if this is relevant to the issue > I'm having, but I figure it couldn't hurt. > > The issue is, though the image loads and renders just fine, the windowing > applied to the image does not display transparency for out-of-window values > as I would expect (and maybe this expectation is completely silly). The > pixel type I'm using for the images, since they are CT scans, is `signed > short`. The result I am seeing when I start my application is this: > > [cid:ii_14ced4775ccffd82] > (http://i.imgur.com/vRkN0Ak.png) > > Apologies if it is inappropriate to paste images inline or at all. As you > can see, though the background values contained in the CT slice solid > black, they are not exhibiting transparency as I would expect (or hope to > achieve). Would anyone have some advice on how to achieve a transparency > effect with this setup? I've tried a number of things from fiddling with > the windowing of the plane widgets, the windowing values and color map of > the renderer itself and then converting the image to an RGBA image before > sending it on to the plane widgets. None of these seemed to have any effect > on the outcome; the planes still rendered as opaque. > > Any help would be GREATLY appreciated. It seems to me to be such a simple > task yet I've mired myself in the complexities of ITK/VTK. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ich_daniel at habmalnefrage.de Sat Apr 25 17:39:25 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Sat, 25 Apr 2015 14:39:25 -0700 (MST) Subject: [vtkusers] question about "voxel spacing" in VolView Message-ID: <1429997965975-5731622.post@n5.nabble.com> Hi all, I have tried and tested the program VolView with a dicom image. It occurred to me the following (Please look at the screenshot.). I can't explain to me how the last value of "voxel spacing" (= 1) is formed. So far I always thought this would be the "Slice Thickness". How to get to the last value in the row of "voxel spacing"? Is there a dicom-tag? -- View this message in context: http://vtk.1045678.n5.nabble.com/question-about-voxel-spacing-in-VolView-tp5731622.html Sent from the VTK - Users mailing list archive at Nabble.com. From m.sambin at gmail.com Sat Apr 25 20:32:59 2015 From: m.sambin at gmail.com (Marco Sambin) Date: Sun, 26 Apr 2015 02:32:59 +0200 Subject: [vtkusers] question about "voxel spacing" in VolView In-Reply-To: <1429997965975-5731622.post@n5.nabble.com> References: <1429997965975-5731622.post@n5.nabble.com> Message-ID: Hi Daniel, I do not know how VolView specifically works, but in a DICOM series the slice-to-slice distance shall be computed starting from the "Image Position (Patient)" and "Image Orientation (Patient)" DICOM attributes. Hope it helps. Best regards, Marco Hi all, I have tried and tested the program VolView with a dicom image. It occurred to me the following (Please look at the screenshot.). I can't explain to me how the last value of "voxel spacing" (= 1) is formed. So far I always thought this would be the "Slice Thickness". How to get to the last value in the row of "voxel spacing"? Is there a dicom-tag? -- View this message in context: http://vtk.1045678.n5.nabble.com/question-about-voxel-spacing-in-VolView-tp5731622.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DLRdave at aol.com Sun Apr 26 08:54:43 2015 From: DLRdave at aol.com (David Cole) Date: Sun, 26 Apr 2015 08:54:43 -0400 Subject: [vtkusers] Fwd: how to quit VTK when close the MFC single dialog ? In-Reply-To: <201504260922391841318@126.com> References: <1429874862318-5731600.post@n5.nabble.com> <201504260922391841318@126.com> Message-ID: Please keep replies on the mailing list. Everyone benefits from seeing the whole discussion, and you have a better chance of the person with the answer seeing it and chiming in... I don't know what else might be wrong with your entire application just by seeing the listing of the subset of lines of a single function in your source code. Perhaps you could provide more context, or a reproducible test case that the rest of us could actually build and run? An example that demonstrates the problem would help us figure it out. D ---------- Forwarded message ---------- From: *15891495523 at 126.com <15891495523 at 126.com>* <15891495523 at 126.com> Date: Saturday, April 25, 2015 Subject: [vtkusers] how to quit VTK when close the MFC single dialog ? To: David Cole Dear David I have tried your suggestion that don't use m_pRenderWindowInteractor->Start(). But, when I close the MFC dialog, the exe is still survived in the process. All classes I defined in the header file, I set the reference count to 0 by SetReferenceCount function. what can I do in the next step? My code is : m_pImageViewer->SetInputData(m_pImageData); m_pImageViewer->SetParentId(GetDlgItem(IDC_STATIC)->m_hWnd); m_pImageViewer->SetupInteractor(m_pRenderWindowInteractor); m_pImageViewer->SetSize(rect.Width(),rect.Height()); m_pRenderWindowInteractor->Render(); m_pImageViewer->GetRenderer()->ResetCamera(); m_pImageViewer->Render(); Thanks vary much ! Zhang Qiang ------------------------------ *From:* David Cole *Date:* 2015-04-24 20:31 *To:* zhq *Subject:* Re: [vtkusers] how to quit VTK when close the MFC single dialog ? Don't call "m_pRenderWindowInteractor->Start();" -- that starts a message loop which will not exit until a Win32 call to PostQuitMessage. But MFC also starts a message loop, and it requires its own PostQuitMessage to exit properly... Since only one PostQuitMessage gets issued when you close the MFC dialog, only one of the message loops gets exited. The other one persists waiting for a future PostQuitMessage. Simply not calling Start avoids the problem. Start should only be used if you are NOT using MFC, Qt, or some other GUI framework that already does a message loop for you... HTH, David C. On Fri, Apr 24, 2015 at 7:27 AM, zhq <15891495523 at 126.com > wrote: > > I am learning coding VTK based on the MFC single dialog ? And it's ok for me > to read a picture in MFC dialog. But after I close the dialog, I find the > exe is still survived in the computer progress. So how can I quit the VTK > after I close the dialog ? > > My code is : > > m_pImageViewer->SetInputData(m_pImageData); > m_pImageViewer->SetParentId(GetDlgItem(IDC_STATIC)->m_hWnd); > m_pImageViewer->SetupInteractor(m_pRenderWindowInteractor); > m_pImageViewer->SetSize(rect.Width(),rect.Height()); > m_pRenderWindowInteractor->Render(); > m_pImageViewer->Render(); > m_pImageViewer->GetRenderer()->ResetCamera(); > m_pRenderWindowInteractor->Start(); > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/how-to-quit-VTK-when-close-the-MFC-single-dialog-tp5731600.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier.maestro at nabla-designs.es Mon Apr 27 03:59:28 2015 From: javier.maestro at nabla-designs.es (javier.maestro at nabla-designs.es) Date: Mon, 27 Apr 2015 09:59:28 +0200 Subject: [vtkusers] Rendering large polydata, inconsistent frame rate Message-ID: <989a36500bad6f488500a4c18467a91f@nabla-designs.es> Hi all, I'm testing VTK limits rendering a large number of points of a vtkPolyData structure. I'm trying to determine how many points can I use so the frame rate is fast enough for a specific application. As expected, as the number of points gets bigger, the rendering takes more time and the frame rate decreases. I expect the frame rate to decrease but I also expect it to keep a constant value. However even though at first it seems to be constant, sometimes the frame rate drops drastically and it takes a while to get back to that constant rate. I'm using a grid of points (128 x 400) just as an example. I get 6 FPS using the program below (PC Intel Core 2 Duo 2GHz, 3GB RAM, Windows 7), but sometimes it drops to 0 FPS and it stays in there for periods of 1 min. Is there any reason for the inconsistent frame rate? Thanks. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LINES_X 128 #define LINES_Y 400 /** Update callback. */ class vtkTimerCallback : public vtkCommand{ public: /** New operator. */ static vtkTimerCallback *New(){ return (vtkTimerCallback *)new vtkTimerCallback; } /** Callback timer. */ virtual void Execute(vtkObject *caller, unsigned long vtkNotUsed(eventId), void *vtkNotUsed(callData)){ static char value[40]; static int counter = 0; vtkRenderWindowInteractor *iren = static_cast(caller); // Update frame counter textActor->SetInput(value); textActor->Modified(); sprintf(&value[0], "%d", counter ++); // Just render again (data hasn't really changed) poly->Modified(); iren->Render(); } // Access polydata and text actor vtkSmartPointer poly; vtkSmartPointer textActor; }; // Cell connectivity vtkSmartPointer getCells(){ vtkSmartPointer mesh = vtkSmartPointer::New(); int nx = LINES_X; int ny = LINES_Y; for(int i=0;iInsertNextCell(4); mesh->InsertCellPoint((0+j) + ny*i); mesh->InsertCellPoint((ny+j) + ny*i); mesh->InsertCellPoint((ny+1+j) + ny*i); mesh->InsertCellPoint((1+j)+ ny*i); } } return mesh; } int main(int, char *[]){ // Polydata vtkSmartPointer points = vtkSmartPointer::New(); vtkSmartPointer scalars = vtkSmartPointer::New(); vtkSmartPointer poly = vtkSmartPointer::New(); for(int a=0;aInsertNextPoint((float)a, (float)b, 0); float value = (float)a/(float)LINES_X; scalars->InsertNextValue(value); } } poly->SetPoints(points); poly->GetPointData()->SetScalars(scalars); poly->SetPolys(getCells()); // Mapper vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputData(poly); mapper->ScalarVisibilityOn(); mapper->SetScalarModeToUsePointData(); mapper->SetColorModeToMapScalars(); mapper->SetScalarRange(0, 1.0); // Lookup Table vtkSmartPointer lookupTable = vtkSmartPointer::New(); lookupTable->SetTableRange(0, 1.0); mapper->SetLookupTable(lookupTable); mapper->ReleaseDataFlagOn(); mapper->ImmediateModeRenderingOn(); // Actor vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); // Renderer vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); // Setup the text and add it to the window vtkSmartPointer textActor = vtkSmartPointer::New(); textActor->GetTextProperty()->SetFontSize ( 24 ); textActor->SetPosition2 ( 10, 40 ); renderer->AddActor2D ( textActor ); textActor->SetInput ( "0" ); textActor->GetTextProperty()->SetColor ( 1.0,0.0,0.0 ); // Add actors renderer->AddActor(actor); renderer->AddActor(textActor); // Interactor vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); // Render renderWindow->Render(); renderWindowInteractor->Initialize(); // Sign up to receive TimerEvent (Update) vtkSmartPointer timerCallback = vtkSmartPointer::New(); timerCallback->poly = poly; timerCallback->textActor = textActor; renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, timerCallback); renderWindowInteractor->CreateRepeatingTimer(1); // Start interactor renderWindowInteractor->Start(); return EXIT_SUCCESS; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From lihouxing at yeah.net Mon Apr 27 05:31:40 2015 From: lihouxing at yeah.net (lee) Date: Mon, 27 Apr 2015 02:31:40 -0700 (MST) Subject: [vtkusers] Show Chinese Character on qvtkwidget Message-ID: <1430127100296-5731627.post@n5.nabble.com> Hi, I am right now been bothered by the showing of Chinese Character on qvtkwidget.The following is my codes: * QString temp; temp="this is a test??"; QMessageBox::information(this,"test",temp); std::string str = temp.toStdString(); const char* ch = str.c_str(); m_textActor->SetInput(ch); m_render->AddActor2D(m_textActor); m_renWin->Render();* the result shows the English words correctly, but the last two Chinese word in a form which I don't understand. So I am wondering anyone who has solved this problem can share the methods. Thanks a lot. -- View this message in context: http://vtk.1045678.n5.nabble.com/Show-Chinese-Character-on-qvtkwidget-tp5731627.html Sent from the VTK - Users mailing list archive at Nabble.com. From simon.esneault at gmail.com Mon Apr 27 06:03:49 2015 From: simon.esneault at gmail.com (Simon ESNEAULT) Date: Mon, 27 Apr 2015 12:03:49 +0200 Subject: [vtkusers] Show Chinese Character on qvtkwidget In-Reply-To: <1430127100296-5731627.post@n5.nabble.com> References: <1430127100296-5731627.post@n5.nabble.com> Message-ID: Hi, In order to display some Chinese character in vtk 6.1 or later, I think you need to load an external True type font, with those two lines m_textActor->GetTextProperty()->SetFontFamily( VTK_FONT_FILE ); m_textActor->GetTextProperty()->SetFontFile( "C:/Path_to_font/DejaVu.ttf" ); Hope this help Simon 2015-04-27 11:31 GMT+02:00 lee : > Hi, I am right now been bothered by the showing of Chinese Character on > qvtkwidget.The following is my codes: > * QString temp; > temp="this is a test??"; > QMessageBox::information(this,"test",temp); > std::string str = temp.toStdString(); > const char* ch = str.c_str(); > m_textActor->SetInput(ch); > m_render->AddActor2D(m_textActor); > m_renWin->Render();* > the result shows the English words correctly, but the last two Chinese word > in a form which I don't understand. > So I am wondering anyone who has solved this problem can share the methods. > Thanks a lot. > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Show-Chinese-Character-on-qvtkwidget-tp5731627.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 > -- ------------------------------------------------------------------ Simon Esneault Rennes, France ------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From javier.maestro at nabla-designs.es Mon Apr 27 07:11:54 2015 From: javier.maestro at nabla-designs.es (javier.maestro at nabla-designs.es) Date: Mon, 27 Apr 2015 13:11:54 +0200 Subject: [vtkusers] Rendering large polydata, inconsistent frame rate In-Reply-To: <989a36500bad6f488500a4c18467a91f@nabla-designs.es> References: <989a36500bad6f488500a4c18467a91f@nabla-designs.es> Message-ID: The code appeared a little messed up, sorry about that. I attached the code on the ColoredPoints.cxx file. El 27-04-2015 09:59, javier.maestro at nabla-designs.es escribi?: > Hi all, > > I'm testing VTK limits rendering a large number of points of a vtkPolyData structure. I'm trying to determine how many points can I use so the frame rate is fast enough for a specific application. > > As expected, as the number of points gets bigger, the rendering takes more time and the frame rate decreases. I expect the frame rate to decrease but I also expect it to keep a constant value. However even though at first it seems to be constant, sometimes the frame rate drops drastically and it takes a while to get back to that constant rate. > > I'm using a grid of points (128 x 400) just as an example. I get 6 FPS using the program below (PC Intel Core 2 Duo 2GHz, 3GB RAM, Windows 7), but sometimes it drops to 0 FPS and it stays in there for periods of 1 min. Is there any reason for the inconsistent frame rate? > > Thanks. > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #define LINES_X 128 > #define LINES_Y 400 > > /** Update callback. */ > class vtkTimerCallback : public vtkCommand{ > > public: > /** New operator. */ > static vtkTimerCallback *New(){ > return (vtkTimerCallback *)new vtkTimerCallback; > } > /** Callback timer. */ > virtual void Execute(vtkObject *caller, > unsigned long vtkNotUsed(eventId), void *vtkNotUsed(callData)){ > > static char value[40]; > static int counter = 0; > > vtkRenderWindowInteractor *iren = > static_cast(caller); > > // Update frame counter > textActor->SetInput(value); > textActor->Modified(); > sprintf(&value[0], "%d", counter ++); > > // Just render again (data hasn't really changed) > poly->Modified(); > iren->Render(); > } > > // Access polydata and text actor > vtkSmartPointer poly; > vtkSmartPointer textActor; > }; > > // Cell connectivity > vtkSmartPointer getCells(){ > > vtkSmartPointer mesh = > vtkSmartPointer::New(); > > int nx = LINES_X; > int ny = LINES_Y; > for(int i=0;i for(int j=0;j mesh->InsertNextCell(4); > mesh->InsertCellPoint((0+j) + ny*i); > mesh->InsertCellPoint((ny+j) + ny*i); > mesh->InsertCellPoint((ny+1+j) + ny*i); > mesh->InsertCellPoint((1+j)+ ny*i); > } > } > return mesh; > } > > int main(int, char *[]){ > > // Polydata > vtkSmartPointer points = > vtkSmartPointer::New(); > vtkSmartPointer scalars = > vtkSmartPointer::New(); > vtkSmartPointer poly = > vtkSmartPointer::New(); > > for(int a=0;a for(int b=0;b points->InsertNextPoint((float)a, (float)b, 0); > float value = (float)a/(float)LINES_X; > scalars->InsertNextValue(value); > } > } > poly->SetPoints(points); > poly->GetPointData()->SetScalars(scalars); > poly->SetPolys(getCells()); > > // Mapper > vtkSmartPointer mapper = > vtkSmartPointer::New(); > mapper->SetInputData(poly); > mapper->ScalarVisibilityOn(); > mapper->SetScalarModeToUsePointData(); > mapper->SetColorModeToMapScalars(); > mapper->SetScalarRange(0, 1.0); > > // Lookup Table > vtkSmartPointer lookupTable = > vtkSmartPointer::New(); > lookupTable->SetTableRange(0, 1.0); > mapper->SetLookupTable(lookupTable); > mapper->ReleaseDataFlagOn(); > mapper->ImmediateModeRenderingOn(); > > // Actor > vtkSmartPointer actor = > vtkSmartPointer::New(); > actor->SetMapper(mapper); > > // Renderer > vtkSmartPointer renderer = > vtkSmartPointer::New(); > vtkSmartPointer renderWindow = > vtkSmartPointer::New(); > renderWindow->AddRenderer(renderer); > > // Setup the text and add it to the window > vtkSmartPointer textActor = > vtkSmartPointer::New(); > textActor->GetTextProperty()->SetFontSize ( 24 ); > textActor->SetPosition2 ( 10, 40 ); > renderer->AddActor2D ( textActor ); > textActor->SetInput ( "0" ); > textActor->GetTextProperty()->SetColor ( 1.0,0.0,0.0 ); > > // Add actors > renderer->AddActor(actor); > renderer->AddActor(textActor); > > // Interactor > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > renderWindowInteractor->SetRenderWindow(renderWindow); > > // Render > renderWindow->Render(); > renderWindowInteractor->Initialize(); > > // Sign up to receive TimerEvent (Update) > vtkSmartPointer timerCallback = > vtkSmartPointer::New(); > timerCallback->poly = poly; > timerCallback->textActor = textActor; > renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, timerCallback); > renderWindowInteractor->CreateRepeatingTimer(1); > > // Start interactor > renderWindowInteractor->Start(); > > return EXIT_SUCCESS; > } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ColoredPoints.cxx Type: text/x-c Size: 5095 bytes Desc: not available URL: From bill.lorensen at gmail.com Mon Apr 27 08:05:57 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 27 Apr 2015 08:05:57 -0400 Subject: [vtkusers] Rendering large polydata, inconsistent frame rate In-Reply-To: References: <989a36500bad6f488500a4c18467a91f@nabla-designs.es> Message-ID: What version of VTK are you using. I do not see and degradation when I run on my Mac with the latest VTK. On Mon, Apr 27, 2015 at 7:11 AM, wrote: > The code appeared a little messed up, sorry about that. I attached the code > on the ColoredPoints.cxx file. > > > > > > El 27-04-2015 09:59, javier.maestro at nabla-designs.es escribi?: > > Hi all, > > I'm testing VTK limits rendering a large number of points of a vtkPolyData > structure. I'm trying to determine how many points can I use so the frame > rate is fast enough for a specific application. > > As expected, as the number of points gets bigger, the rendering takes more > time and the frame rate decreases. I expect the frame rate to decrease but I > also expect it to keep a constant value. However even though at first it > seems to be constant, sometimes the frame rate drops drastically and it > takes a while to get back to that constant rate. > > I'm using a grid of points (128 x 400) just as an example. I get 6 FPS using > the program below (PC Intel Core 2 Duo 2GHz, 3GB RAM, Windows 7), but > sometimes it drops to 0 FPS and it stays in there for periods of 1 min. Is > there any reason for the inconsistent frame rate? > > Thanks. > > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > #include > > #define LINES_X 128 > #define LINES_Y 400 > > /** Update callback. */ > class vtkTimerCallback : public vtkCommand{ > > public: > /** New operator. */ > static vtkTimerCallback *New(){ > return (vtkTimerCallback *)new vtkTimerCallback; > } > /** Callback timer. */ > virtual void Execute(vtkObject *caller, > unsigned long vtkNotUsed(eventId), void *vtkNotUsed(callData)){ > > static char value[40]; > static int counter = 0; > > vtkRenderWindowInteractor *iren = > static_cast(caller); > > // Update frame counter > textActor->SetInput(value); > textActor->Modified(); > sprintf(&value[0], "%d", counter ++); > > // Just render again (data hasn't really changed) > poly->Modified(); > iren->Render(); > } > > // Access polydata and text actor > vtkSmartPointer poly; > vtkSmartPointer textActor; > }; > > // Cell connectivity > vtkSmartPointer getCells(){ > > vtkSmartPointer mesh = > vtkSmartPointer::New(); > > int nx = LINES_X; > int ny = LINES_Y; > for(int i=0;i for(int j=0;j mesh->InsertNextCell(4); > mesh->InsertCellPoint((0+j) + ny*i); > mesh->InsertCellPoint((ny+j) + ny*i); > mesh->InsertCellPoint((ny+1+j) + ny*i); > mesh->InsertCellPoint((1+j)+ ny*i); > } > } > return mesh; > } > > int main(int, char *[]){ > > // Polydata > vtkSmartPointer points = > vtkSmartPointer::New(); > vtkSmartPointer scalars = > vtkSmartPointer::New(); > vtkSmartPointer poly = > vtkSmartPointer::New(); > > for(int a=0;a for(int b=0;b points->InsertNextPoint((float)a, (float)b, 0); > float value = (float)a/(float)LINES_X; > scalars->InsertNextValue(value); > } > } > poly->SetPoints(points); > poly->GetPointData()->SetScalars(scalars); > poly->SetPolys(getCells()); > > // Mapper > vtkSmartPointer mapper = > vtkSmartPointer::New(); > mapper->SetInputData(poly); > mapper->ScalarVisibilityOn(); > mapper->SetScalarModeToUsePointData(); > mapper->SetColorModeToMapScalars(); > mapper->SetScalarRange(0, 1.0); > > // Lookup Table > vtkSmartPointer lookupTable = > vtkSmartPointer::New(); > lookupTable->SetTableRange(0, 1.0); > mapper->SetLookupTable(lookupTable); > mapper->ReleaseDataFlagOn(); > mapper->ImmediateModeRenderingOn(); > > // Actor > vtkSmartPointer actor = > vtkSmartPointer::New(); > actor->SetMapper(mapper); > > // Renderer > vtkSmartPointer renderer = > vtkSmartPointer::New(); > vtkSmartPointer renderWindow = > vtkSmartPointer::New(); > renderWindow->AddRenderer(renderer); > > // Setup the text and add it to the window > vtkSmartPointer textActor = > vtkSmartPointer::New(); > textActor->GetTextProperty()->SetFontSize ( 24 ); > textActor->SetPosition2 ( 10, 40 ); > renderer->AddActor2D ( textActor ); > textActor->SetInput ( "0" ); > textActor->GetTextProperty()->SetColor ( 1.0,0.0,0.0 ); > > // Add actors > renderer->AddActor(actor); > renderer->AddActor(textActor); > > // Interactor > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > renderWindowInteractor->SetRenderWindow(renderWindow); > > // Render > renderWindow->Render(); > renderWindowInteractor->Initialize(); > > // Sign up to receive TimerEvent (Update) > vtkSmartPointer timerCallback = > vtkSmartPointer::New(); > timerCallback->poly = poly; > timerCallback->textActor = textActor; > renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, > timerCallback); > renderWindowInteractor->CreateRepeatingTimer(1); > > // Start interactor > renderWindowInteractor->Start(); > > return EXIT_SUCCESS; > } > > > > > _______________________________________________ > 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 javier.maestro at nabla-designs.es Mon Apr 27 08:30:37 2015 From: javier.maestro at nabla-designs.es (javier.maestro at nabla-designs.es) Date: Mon, 27 Apr 2015 14:30:37 +0200 Subject: [vtkusers] Rendering large polydata, inconsistent frame rate In-Reply-To: References: <989a36500bad6f488500a4c18467a91f@nabla-designs.es> Message-ID: I'm using the lastest version of VTK (6.2). I fogot to mention that I have tested the code in other PCs (with more RAM and better video graphics) and I didn't see the inconsistent frame rate. That's why I would like to know if it could be related to the limited resources of the PC I'm currently working on. Are there any minimum requirements depending on the operation that is to be perform in VTK? El 27-04-2015 14:05, Bill Lorensen escribi?: > What version of VTK are you using. I do not see and degradation when I > run on my Mac with the latest VTK. > > On Mon, Apr 27, 2015 at 7:11 AM, wrote: > >> The code appeared a little messed up, sorry about that. I attached the code on the ColoredPoints.cxx file. El 27-04-2015 09:59, javier.maestro at nabla-designs.es escribi?: Hi all, I'm testing VTK limits rendering a large number of points of a vtkPolyData structure. I'm trying to determine how many points can I use so the frame rate is fast enough for a specific application. As expected, as the number of points gets bigger, the rendering takes more time and the frame rate decreases. I expect the frame rate to decrease but I also expect it to keep a constant value. However even though at first it seems to be constant, sometimes the frame rate drops drastically and it takes a while to get back to that constant rate. I'm using a grid of points (128 x 400) just as an example. I get 6 FPS using the program below (PC Intel Core 2 Duo 2GHz, 3GB RAM, Windows 7), but sometimes it drops to 0 FPS and it stays in there for periods of 1 min. Is there any reason for the inconsistent frame rate? Thanks. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LINES_X 128 #define LINES_Y 400 /** Update callback. */ class vtkTimerCallback : public vtkCommand{ public: /** New operator. */ static vtkTimerCallback *New(){ return (vtkTimerCallback *)new vtkTimerCallback; } /** Callback timer. */ virtual void Execute(vtkObject *caller, unsigned long vtkNotUsed(eventId), void *vtkNotUsed(callData)){ static char value[40]; static int counter = 0; vtkRenderWindowInteractor *iren = static_cast(caller); // Update frame counter textActor->SetInput(value); textActor->Modified(); sprintf(&value[0], "%d", counter ++); // Just render again (data hasn't really changed) poly->Modified(); iren->Render(); } // Access polydata and text actor vtkSmartPointer poly; vtkSmartPointer textActor; }; // Cell connectivity vtkSmartPointer getCells(){ vtkSmartPointer mesh = vtkSmartPointer::New(); int nx = LINES_X; int ny = LINES_Y; for(int i=0;iInsertNextCell(4); mesh->InsertCellPoint((0+j) + ny*i); mesh->InsertCellPoint((ny+j) + ny*i); mesh->InsertCellPoint((ny+1+j) + ny*i); mesh->InsertCellPoint((1+j)+ ny*i); } } return mesh; } int main(int, char *[]){ // Polydata vtkSmartPointer points = vtkSmartPointer::New(); vtkSmartPointer scalars = vtkSmartPointer::New(); vtkSmartPointer poly = vtkSmartPointer::New(); for(int a=0;aInsertNextPoint((float)a, (float)b, 0); float value = (float)a/(float)LINES_X; scalars->InsertNextValue(value); } } poly->SetPoints(points); poly->GetPointData()->SetScalars(scalars); poly->SetPolys(getCells()); // Mapper vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputData(poly); mapper->ScalarVisibilityOn(); mapper->SetScalarModeToUsePointData(); mapper->SetColorModeToMapScalars(); mapper->SetScalarRange(0, 1.0); // Lookup Table vtkSmartPointer lookupTable = vtkSmartPointer::New(); lookupTable->SetTableRange(0, 1.0); mapper->SetLookupTable(lookupTable); mapper->ReleaseDataFlagOn(); mapper->ImmediateModeRenderingOn(); // Actor vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); // Renderer vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); // Setup the text and add it to the window vtkSmartPointer textActor = vtkSmartPointer::New(); textActor->GetTextProperty()->SetFontSize ( 24 ); textActor->SetPosition2 ( 10, 40 ); renderer->AddActor2D ( textActor ); textActor->SetInput ( "0" ); textActor->GetTextProperty()->SetColor ( 1.0,0.0,0.0 ); // Add actors renderer->AddActor(actor); renderer->AddActor(textActor); // Interactor vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); // Render renderWindow->Render(); renderWindowInteractor->Initialize(); // Sign up to receive TimerEvent (Update) vtkSmartPointer timerCallback = vtkSmartPointer::New(); timerCallback->poly = poly; timerCallback->textActor = textActor; renderWindowInteractor->AddObserver(vtkCommand::TimerEvent, timerCallback); renderWindowInteractor->CreateRepeatingTimer(1); // Start interactor renderWindowInteractor->Start(); return EXIT_SUCCESS; } _______________________________________________ Powered by www.kitware.com [1] Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html [2] Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ [3] Search the list archives at: http://markmail.org/search/?q=vtkusers [4] Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/vtkusers [5] Links: ------ [1] http://www.kitware.com [2] http://www.kitware.com/opensource/opensource.html [3] http://www.vtk.org/Wiki/VTK_FAQ [4] http://markmail.org/search/?q=vtkusers [5] http://public.kitware.com/mailman/listinfo/vtkusers -------------- next part -------------- An HTML attachment was scrubbed... URL: From ich_daniel at habmalnefrage.de Mon Apr 27 10:02:56 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Mon, 27 Apr 2015 07:02:56 -0700 (MST) Subject: [vtkusers] question about "voxel spacing" in VolView In-Reply-To: References: <1429997965975-5731622.post@n5.nabble.com> Message-ID: <1430143376969-5731632.post@n5.nabble.com> Thanks for your hint, Marco. So I have the following values: Image Position (Patient): -113.8 \ -289.8 \ -597.5 Image Orientation (Patient): 1,0,0 0,1,0 Slice Thickness: 2 Pixel Spacing: 0.4453 \ 0.4453 But unfortunately I do not understand how this way I compute the last (SPACING) value (z). How do I use the direction cosines with the image-position? I'm stuck. Can someone help me? -- View this message in context: http://vtk.1045678.n5.nabble.com/question-about-voxel-spacing-in-VolView-tp5731622p5731632.html Sent from the VTK - Users mailing list archive at Nabble.com. From bill.lorensen at gmail.com Mon Apr 27 10:22:40 2015 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 27 Apr 2015 10:22:40 -0400 Subject: [vtkusers] question about "voxel spacing" in VolView In-Reply-To: <1430143376969-5731632.post@n5.nabble.com> References: <1429997965975-5731622.post@n5.nabble.com> <1430143376969-5731632.post@n5.nabble.com> Message-ID: Since your orientation is identity, just compute the distance between 2 consecutive slices. This will be the z spacing On Mon, Apr 27, 2015 at 10:02 AM, -Daniel- wrote: > Thanks for your hint, Marco. > > So I have the following values: > Image Position (Patient): -113.8 \ -289.8 \ -597.5 > Image Orientation (Patient): 1,0,0 0,1,0 > Slice Thickness: 2 > Pixel Spacing: 0.4453 \ 0.4453 > But unfortunately I do not understand how this way I compute the last > (SPACING) value (z). How do I use the direction cosines with the > image-position? I'm stuck. > Can someone help me? > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/question-about-voxel-spacing-in-VolView-tp5731622p5731632.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 -- Unpaid intern in BillsBasement at noware dot com From ich_daniel at habmalnefrage.de Mon Apr 27 10:41:51 2015 From: ich_daniel at habmalnefrage.de (-Daniel-) Date: Mon, 27 Apr 2015 07:41:51 -0700 (MST) Subject: [vtkusers] question about "voxel spacing" in VolView In-Reply-To: References: <1429997965975-5731622.post@n5.nabble.com> <1430143376969-5731632.post@n5.nabble.com> Message-ID: <1430145711770-5731634.post@n5.nabble.com> oops .. Of course. Sometimes you see the forest for the trees. Thank you Bill. -- View this message in context: http://vtk.1045678.n5.nabble.com/question-about-voxel-spacing-in-VolView-tp5731622p5731634.html Sent from the VTK - Users mailing list archive at Nabble.com. From Sven.Prevrhal at philips.com Mon Apr 27 12:00:46 2015 From: Sven.Prevrhal at philips.com (Prevrhal, Sven) Date: Mon, 27 Apr 2015 16:00:46 +0000 Subject: [vtkusers] Building and using VTK for Android on Windows? Message-ID: <212D925E4ED2844F900023F8D64870963E8BB3D3@AMSPRD9002MB042.MGDPHG.emi.philips.com> Hi, I am unsure how to follow the instructions to build the Android target on Windows (http://www.kitware.com/blog/home/post/860 and http://www.kitware.com/blog/home/post/434) . My problem is that many of the settings I make in cmake-gui seem to not influence the build. I want to build vtk 6.2.0 on Win 8.1 VS 2013 x64, with Ninja and Cmake 3.2.2. I can configure and generate from cmake-gui for Android. It builds and installs, but CMAKE_INSTALL_PREFIX is ignored (it uses the default c:\Program Files). I don't know whether it is now actually configured for OpenGL2 instead of OpenGL, as I had specified in cmake-gui. Python wrapping is also ignored - do I have to build that separately? 2nd question - is there a howto on how to actually build the Android examples, ideally importing them into Android Studio or Eclipse, set all the paths etc etc? With regards, Sven ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.bordone at gmail.com Mon Apr 27 12:43:43 2015 From: maurizio.bordone at gmail.com (Maurizio Bordone) Date: Mon, 27 Apr 2015 18:43:43 +0200 Subject: [vtkusers] Error 1 error C2678: binary Message-ID: Error 1 error C2678: binary '<<' : no operator found which takes a left-hand operand of type 'std::ostream' (or there is no acceptable conversion) Good day. this is the error that appears when I try to build the solution for VTK5.10.1 in Microsoft Visual studio 2013 and it send me to this code line : 60 VTKOSTREAM_OPERATOR(ostream&); un fortunatly I cannot pass to other newer versi?n of VTK How can I fix this problem? Thanks a lot. Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Mon Apr 27 12:48:05 2015 From: drescherjm at gmail.com (John Drescher) Date: Mon, 27 Apr 2015 12:48:05 -0400 Subject: [vtkusers] Error 1 error C2678: binary In-Reply-To: References: Message-ID: On Mon, Apr 27, 2015 at 12:43 PM, Maurizio Bordone wrote: > Error 1 error C2678: binary '<<' : no operator found which takes a left-hand > operand of type 'std::ostream' (or there is no acceptable conversion) > > Good day. > > this is the error that appears when I try to build the solution for > VTK5.10.1 in Microsoft Visual studio 2013 and it send me to this code line : > > 60 VTKOSTREAM_OPERATOR(ostream&); > > un fortunatly I cannot pass to other newer versi?n of VTK > How can I fix this problem? > > Thanks a lot. > https://github.com/drescherjm/VTK/commit/22deabb22ec945a6b04cbc0b1934e6770496b2d8 John From drescherjm at gmail.com Mon Apr 27 12:49:58 2015 From: drescherjm at gmail.com (John Drescher) Date: Mon, 27 Apr 2015 12:49:58 -0400 Subject: [vtkusers] Error 1 error C2678: binary In-Reply-To: References: Message-ID: http://stackoverflow.com/questions/23090220/vtk-visualstudio2013-compile-error/23155893#23155893 John On Mon, Apr 27, 2015 at 12:48 PM, John Drescher wrote: > On Mon, Apr 27, 2015 at 12:43 PM, Maurizio Bordone > wrote: >> Error 1 error C2678: binary '<<' : no operator found which takes a left-hand >> operand of type 'std::ostream' (or there is no acceptable conversion) >> >> Good day. >> >> this is the error that appears when I try to build the solution for >> VTK5.10.1 in Microsoft Visual studio 2013 and it send me to this code line : >> >> 60 VTKOSTREAM_OPERATOR(ostream&); >> >> un fortunatly I cannot pass to other newer versi?n of VTK >> How can I fix this problem? >> >> Thanks a lot. >> > > https://github.com/drescherjm/VTK/commit/22deabb22ec945a6b04cbc0b1934e6770496b2d8 > > John -- John M. Drescher From beekmaarten at yahoo.com Mon Apr 27 13:49:46 2015 From: beekmaarten at yahoo.com (Maarten Beek) Date: Mon, 27 Apr 2015 17:49:46 +0000 (UTC) Subject: [vtkusers] Bug in vtkObjectFactory? Message-ID: <1398062496.5277938.1430156986672.JavaMail.yahoo@mail.yahoo.com> Hi all, I was just looking at the vtkFactoryObject source code and noticed this->SizeOverrideArray doesn't get updated in the GrowOverrideArray() function. Maarten -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdrahos at thinksurgical.com Mon Apr 27 14:46:15 2015 From: mdrahos at thinksurgical.com (Miroslav Drahos) Date: Mon, 27 Apr 2015 11:46:15 -0700 Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems In-Reply-To: References: , Message-ID: Hi David, glad it worked for you. To control the opacity of individual voxels, you could use vtkImageMapToColors to map the scalars through a lookup table and the output be RGBA, where A is alpha (opacity). HTH, Miro ________________________________________ From: David Kushner [root at davidkushner.me] Sent: Saturday, April 25, 2015 12:18 AM To: Miroslav Drahos Cc: vtkusers at vtk.org Subject: Re: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems Brilliant, thanks Miro. Your suggestion worked well. I was hoping to be able to map 0-values (pure black) to total transparency while applying the 0.5 opacity to the remaining image. Is there a way to accomplish this specifically? This is just icing on the cake, I quite like the result I get with your suggestion but the background is still occluding some details of the planes behind. Thanks again! On Fri, Apr 24, 2015 at 3:02 PM, Miroslav Drahos > wrote: Try planeWidget->GetTexturePlaneProperty()->SetOpacity(0.5); Best, Miro ________________________________________ From: vtkusers [vtkusers-bounces at vtk.org] On Behalf Of David Kushner [root at davidkushner.me] Sent: Friday, April 24, 2015 2:18 PM To: vtkusers at vtk.org Subject: [vtkusers] vtkImagePlaneWidget Transparency/Windowing Problems I'm currently building an application based heavily on the source provided in the QtVTKRenderWindows example (https://github.com/Kitware/VTK/blob/master/Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx) using VTK 6.1. The only appreciable difference between my implementation and the one laid out in the example is the fact that, rather than using the vtkDICOMImageReader class, I'm loading our DICOM CT image in with ITK 4.8 and then converting it to the corresponding VTK image format using the itk::ImageToVTKImageFilter. I'm not sure if this is relevant to the issue I'm having, but I figure it couldn't hurt. The issue is, though the image loads and renders just fine, the windowing applied to the image does not display transparency for out-of-window values as I would expect (and maybe this expectation is completely silly). The pixel type I'm using for the images, since they are CT scans, is `signed short`. The result I am seeing when I start my application is this: [cid:ii_14ced4775ccffd82] (http://i.imgur.com/vRkN0Ak.png) Apologies if it is inappropriate to paste images inline or at all. As you can see, though the background values contained in the CT slice solid black, they are not exhibiting transparency as I would expect (or hope to achieve). Would anyone have some advice on how to achieve a transparency effect with this setup? I've tried a number of things from fiddling with the windowing of the plane widgets, the windowing values and color map of the renderer itself and then converting the image to an RGBA image before sending it on to the plane widgets. None of these seemed to have any effect on the outcome; the planes still rendered as opaque. Any help would be GREATLY appreciated. It seems to me to be such a simple task yet I've mired myself in the complexities of ITK/VTK. From julia.ute.fischer at gmail.com Mon Apr 27 16:15:05 2015 From: julia.ute.fischer at gmail.com (Julia Fischer) Date: Mon, 27 Apr 2015 22:15:05 +0200 Subject: [vtkusers] help Request Data is not compiling Message-ID: Somehow I cant make work this piece of code , apparently the problem is in RequestData int Reader::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector outputVector) { // get the info object vtkInformation *outInfo = outputVector->GetInformationObject(0); // get the ouptut vtkUnstructuredGrid *output = vtkUnstructuredGrid::SafeDownCast( outInfo->Get(vtkDataObject::DATA_OBJECT())); if (!this->FileName) { vtkErrorMacro("No filename specified"); return 0; } vtkSmartPointer < vtkUnstructuredGrid > grid =vtkSmartPointer< vtkUnstructuredGrid>::New(); ...... vtkSmartPointer outUG=vtkUnstructuredGrid::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())); vtkSmartPointer pts2=vtkSmartPointer:: New(); cout<<"gg"<GetNumberOfPoints()<ShallowCopy(grid); return 1; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Apr 27 16:22:01 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 27 Apr 2015 16:22:01 -0400 Subject: [vtkusers] help Request Data is not compiling In-Reply-To: References: Message-ID: Hi Julia, You are more likely to get help if you post the compiler error you are getting. Best, Cory On Mon, Apr 27, 2015 at 4:15 PM, Julia Fischer wrote: > Somehow I cant make work this piece of code , apparently the problem is > in RequestData > > > > > > int Reader::RequestData(vtkInformation *vtkNotUsed(request), > vtkInformationVector **vtkNotUsed(inputVector), > vtkInformationVector outputVector) { > > // get the info object > vtkInformation *outInfo = outputVector->GetInformationObject(0); > > // get the ouptut > vtkUnstructuredGrid *output = vtkUnstructuredGrid::SafeDownCast( > outInfo->Get(vtkDataObject::DATA_OBJECT())); > > if (!this->FileName) { > vtkErrorMacro("No filename specified"); > return 0; > } > > > vtkSmartPointer < vtkUnstructuredGrid > grid =vtkSmartPointer< > vtkUnstructuredGrid>::New(); > > ...... > > vtkSmartPointer > > outUG=vtkUnstructuredGrid::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())); > > > vtkSmartPointer pts2=vtkSmartPointer:: New(); > > cout<<"gg"<GetNumberOfPoints()< > outUG->ShallowCopy(grid); > > > > > > > return 1; > > } > > _______________________________________________ > 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 > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lihouxing at yeah.net Mon Apr 27 21:54:06 2015 From: lihouxing at yeah.net (lee) Date: Mon, 27 Apr 2015 18:54:06 -0700 (MST) Subject: [vtkusers] Show Chinese Character on qvtkwidget In-Reply-To: References: <1430127100296-5731627.post@n5.nabble.com> Message-ID: <1430186046902-5731648.post@n5.nabble.com> Hi, Thanks for your method, but it only works for English character, when the string contains Chinese characters, errors come up as follow: *Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string. Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string. ERROR: In ..\..\..\VTK-6.1.0\Rendering\FreeType\vtkTextActor.cxx, line 803 vtkScaledTextActor (00D01410): Cannot compute bounding box. * -- View this message in context: http://vtk.1045678.n5.nabble.com/Show-Chinese-Character-on-qvtkwidget-tp5731627p5731648.html Sent from the VTK - Users mailing list archive at Nabble.com. From simon.esneault at gmail.com Tue Apr 28 03:34:52 2015 From: simon.esneault at gmail.com (Simon ESNEAULT) Date: Tue, 28 Apr 2015 09:34:52 +0200 Subject: [vtkusers] Show Chinese Character on qvtkwidget In-Reply-To: <1430186046902-5731648.post@n5.nabble.com> References: <1430127100296-5731627.post@n5.nabble.com> <1430186046902-5731648.post@n5.nabble.com> Message-ID: Hi Lee, I think this is error shows up because you are converting the string to local 8 bit when calling the function .toStdString() * The string must be encoded in Utf8 ** to be rendered properly in VTK. Try to replace the lines : ---------------------------------------------- std::string str = temp.toStdString(); const char* ch = str.c_str(); m_textActor->SetInput(ch); ---------------------------------------------- by ---------------------------------------------- m_textActor->SetInput( temp.toUtf8().constData() ); ---------------------------------------------- Also make sure you save your source file in Utf8 Good luck Simon * http://doc.qt.io/qt-4.8/qstring.html#toStdString ** http://en.wikipedia.org/wiki/UTF-8 2015-04-28 3:54 GMT+02:00 lee : > Hi, > Thanks for your method, but it only works for English character, when > the string contains Chinese characters, errors come up as follow: > > *Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx, > line 183 > vtkUnicodeString::from_utf8(): not a valid UTF-8 string. > > Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx, > line 183 > vtkUnicodeString::from_utf8(): not a valid UTF-8 string. > > ERROR: In ..\..\..\VTK-6.1.0\Rendering\FreeType\vtkTextActor.cxx, line 803 > vtkScaledTextActor (00D01410): Cannot compute bounding box. > * > > > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Show-Chinese-Character-on-qvtkwidget-tp5731627p5731648.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 > -- ------------------------------------------------------------------ Simon Esneault Rennes, France ------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From royalmatador at gmail.com Tue Apr 28 04:50:37 2015 From: royalmatador at gmail.com (AIs) Date: Tue, 28 Apr 2015 01:50:37 -0700 (MST) Subject: [vtkusers] vtk append polydata Message-ID: <1430211037000-5731651.post@n5.nabble.com> Hi VTK users, I want to append several polydata planes using vtkAppendPolyData, but have some issues with it. I have a for loop for 20 polydata planes which I send as input to vtkAppendPolyData function as follows, vtkSmartPointer apd = vtkSmartPointer::New( ); for ( i = 1; i < 20; i++ ) { // some function to generate polydata -pd apd->AddInputConnection( pd->GetOutputPort( ) ); } apd->Update( ); But, I am only generating actor for the last polydata plane and not a stack of successive planes. Can some one guide me on this. Many thanks AIs -- View this message in context: http://vtk.1045678.n5.nabble.com/vtk-append-polydata-tp5731651.html Sent from the VTK - Users mailing list archive at Nabble.com. From sur.chiranjib at gmail.com Tue Apr 28 05:10:55 2015 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Tue, 28 Apr 2015 14:40:55 +0530 Subject: [vtkusers] vtk append polydata In-Reply-To: <1430211037000-5731651.post@n5.nabble.com> References: <1430211037000-5731651.post@n5.nabble.com> Message-ID: Hi Als, This example might help you : http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/CombinePolyData When you are appending new data you are missing the information of the old data with which you need to append. I am doing it this way appendPolydata->AddInputConnection( OldPolyData->GetProducerPort()); appendPolydata->AddInputConnection( NewPolyData->GetProducerPort()); appenPolydata->Update(); Chiranjib On Tue, Apr 28, 2015 at 2:20 PM, AIs wrote: > Hi VTK users, > I want to append several polydata planes using vtkAppendPolyData, but have > some issues with it. > I have a for loop for 20 polydata planes which I send as input to > vtkAppendPolyData function as follows, > > vtkSmartPointer apd = > vtkSmartPointer::New( ); > > for ( i = 1; i < 20; i++ ) > { > // some function to generate polydata -pd > > apd->AddInputConnection( pd->GetOutputPort( ) ); > > } > > apd->Update( ); > > But, I am only generating actor for the last polydata plane and not a stack > of successive planes. > Can some one guide me on this. > Many thanks > AIs > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/vtk-append-polydata-tp5731651.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrian.franke at tu-ilmenau.de Tue Apr 28 05:50:06 2015 From: adrian.franke at tu-ilmenau.de (frankeadi) Date: Tue, 28 Apr 2015 02:50:06 -0700 (MST) Subject: [vtkusers] Clipping with SetClippingPlanes and vtkBoxWidget2 Message-ID: <1430214606496-5731653.post@n5.nabble.com> Hello, i am trying to clip a volume with the vtkBoxWidget2, but when i try to get the vtkPlanes from the vtkBoxWidget2 representation vtkBoxRepresentation, they are empty. Is there another way to get the planes of the vtkBoxWidget2? class vtkBoxCallback : public vtkCommand { public: static vtkBoxCallback *New() { return new vtkBoxCallback; } virtual void SetMapper(vtkFixedPointVolumeRayCastMapper * mapp) { mapper = reinterpret_cast(mapp); } virtual void Execute(vtkObject *caller, unsigned long, void*) { vtkBoxWidget2 *boxWidget = reinterpret_cast(caller); vtkPlanes *planes = vtkPlanes::New(); reinterpret_cast(boxWidget->GetRepresentation())->GetPlanes(planes); mapper->SetClippingPlanes(planes); planes->Delete(); } vtkBoxCallback(){} vtkFixedPointVolumeRayCastMapper *mapper; //vtkPlanes *planes; }; vtkSmartPointer boxWidget = vtkSmartPointer::New(); boxWidget->SetInteractor(interactor); boxWidget->SetCurrentRenderer(renderer); boxWidget->RotationEnabledOff(); vtkSmartPointer boxRep = vtkSmartPointer::New(); boxRep->SetPlaceFactor(1.0); boxRep->PlaceWidget(volume->GetBounds()); boxWidget->SetRepresentation(boxRep); vtkSmartPointer boxCallback = vtkSmartPointer::New(); boxCallback->SetMapper(volumeMapper); boxWidget->AddObserver(vtkCommand::InteractionEvent, boxCallback); Thanks in advance, Adrian -- View this message in context: http://vtk.1045678.n5.nabble.com/Clipping-with-SetClippingPlanes-and-vtkBoxWidget2-tp5731653.html Sent from the VTK - Users mailing list archive at Nabble.com. From ysa0829 at gmail.com Tue Apr 28 05:52:43 2015 From: ysa0829 at gmail.com (ysa0829) Date: Tue, 28 Apr 2015 02:52:43 -0700 (MST) Subject: [vtkusers] vtkOrientedGlyphContourRepresentation AlwaysOnTop Message-ID: <1430214763787-5731654.post@n5.nabble.com> Hi all, in vtk 5.10 , I use the flag called "AlwaysOnTop" to keep contour always show on top. but in vtk 6.1 , the flag does not work. I found out the flag is not valid . vtk 5.10: //==============================================// int vtkOrientedGlyphContourRepresentation::RenderOpaqueGeometry( vtkViewport *viewport) { // Since we know RenderOpaqueGeometry gets called first, will do the // build here this->BuildRepresentation(); GLboolean flag = GL_FALSE; if ( this->AlwaysOnTop && (this->ActiveActor->GetVisibility() || this->LinesActor->GetVisibility())) { glGetBooleanv(GL_DEPTH_TEST,&flag); if(flag) { glDisable( GL_DEPTH_TEST ); } } int count=0; count += this->LinesActor->RenderOpaqueGeometry(viewport); if ( this->Actor->GetVisibility() ) { count += this->Actor->RenderOpaqueGeometry(viewport); } if ( this->ActiveActor->GetVisibility() ) { count += this->ActiveActor->RenderOpaqueGeometry(viewport); } if(this->ShowSelectedNodes && this->SelectedNodesActor && this->SelectedNodesActor->GetVisibility()) { count += this->SelectedNodesActor->RenderOpaqueGeometry(viewport); } if(flag && this->AlwaysOnTop && (this->ActiveActor->GetVisibility() || this->LinesActor->GetVisibility())) { glEnable( GL_DEPTH_TEST ); } return count; } //==============================================// vtk6.1 : int vtkOrientedGlyphContourRepresentation::RenderOpaqueGeometry( vtkViewport *viewport) { // Since we know RenderOpaqueGeometry gets called first, will do the // build here this->BuildRepresentation(); int count=0; count += this->LinesActor->RenderOpaqueGeometry(viewport); if ( this->Actor->GetVisibility() ) { count += this->Actor->RenderOpaqueGeometry(viewport); } if ( this->ActiveActor->GetVisibility() ) { count += this->ActiveActor->RenderOpaqueGeometry(viewport); } if(this->ShowSelectedNodes && this->SelectedNodesActor && this->SelectedNodesActor->GetVisibility()) { count += this->SelectedNodesActor->RenderOpaqueGeometry(viewport); } return count; } Could anyone give me some suggestions , If I want to show contour on top? -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkOrientedGlyphContourRepresentation-AlwaysOnTop-tp5731654.html Sent from the VTK - Users mailing list archive at Nabble.com. From sur.chiranjib at gmail.com Tue Apr 28 07:46:05 2015 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Tue, 28 Apr 2015 17:16:05 +0530 Subject: [vtkusers] vtkAppenPolyData / vtkCleanPolyData Message-ID: Hi All, I just try to understand some logic behind doing the operations vtkAppenPolyData and vtkCleanPolyData. Lets say, I have polydata1 and polydata2. Now if I append the second one with first one I do the following : // Append polydata2 to polydata1 vtkSmartPointer appendPolydata = vtkSmartPointer::New(); #if VTK_MAJOR_VERSION <= 5 appendPolydata->AddInputConnection( polydata1->GetProducerPort()); appendPolydata->AddInputConnection( polydata2->GetProducerPort()); #else appendPolydata->AddInputData( polydata1 ); appendPolydata->AddInputData( polydata2); #endif appendPolydata->Update(); And then clean the appended polydata by doing this // Remove any duplicate points. vtkSmartPointer cleanPolydata = vtkSmartPointer::New(); cleanPolydata->SetInputConnection( appendPolydata->GetOutputPort()); cleanPolydata->Update(); // Update polydata1 polydata1->ShallowCopy( appendPolydata->GetOutput()); I want to understand what happens in the append and clean operations. 1. Does the append operation add two sets of VTK points belong to polydata1 and polydata2 together ? 2. Does the clean operation removed duplicate points ? Where I got confused was when I try to append polydata1 with same polydata1, the vtk points should get doubled (say 2*n) but after I clean the appended data I should get back the number of vtk points = n ( == polydata1->GetNumberOfPoints()). But I still get 2*n number of vtk points. Can anyone explain what is going wrong with my understanding ? Thanks in advance, Chiranjib -------------- next part -------------- An HTML attachment was scrubbed... URL: From mirkoahr at gmail.com Tue Apr 28 10:36:00 2015 From: mirkoahr at gmail.com (Mirko Ahrens) Date: Tue, 28 Apr 2015 14:36:00 +0000 Subject: [vtkusers] vtkRenderWindow.Render() crashes when OpenFOAM functions have been called before Message-ID: Hello, I am trying to combine VTK6.2 with OpenFOAM (www.openfoam.com). Unfortunately, the simplest VTK examples crash when I am calling OpenFOAM functions before. I know, it is difficult for you to judge what happens in these functions, but maybe you have some hints what to search for, or maybe some of you are familiar with OpenFOAM. The gdb stacktrace doesn't show useful information although VTK6.2 and OpenFOAM are compiled with debug flags. I didn't have such problems with VTK5.8. I attach below the code of Examples/Tutorial/Step5/Cxx, which is only modified in 2 lines, and the CMakeLists.txt which includes the additional settings for OpenFOAM 2.3.1. The output from running the modified example is: $ ./Cone5 /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-bcfaaa7b8660 Exec : ./Cone5 Date : Apr 28 2015 Time : 14:24:08 Host : "ip-10-230-129-53" PID : 13462 Case : /home/ubuntu/Tutorial/Step5/Cxx nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Floating point exception (core dumped) --- End of output --- --- CMakeLists.txt --- cmake_minimum_required(VERSION 2.8.5 FATAL_ERROR) if(POLICY CMP0025) cmake_policy(SET CMP0025 NEW) # CMake 3.0 endif() if(POLICY CMP0053) cmake_policy(SET CMP0053 NEW) # CMake 3.1 endif() PROJECT (Step5) find_package(VTK COMPONENTS vtkCommonCore vtkFiltersSources vtkInteractionStyle vtkRenderingOpenGL ) include(${VTK_USE_FILE}) set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -m64 -Dlinux64 -DWM_DP -DNoRepository -Xlinker --add-needed") include_directories($ENV{FOAM_SRC}/finiteVolume/lnInclude $ENV{FOAM_SRC}/OpenFOAM/lnInclude $ENV{FOAM_SRC}/OSspecific/POSIX/lnInclude) add_executable(Cone5 MACOSX_BUNDLE Cone5.cxx) target_link_libraries(Cone5 ${VTK_LIBRARIES} $ENV{FOAM_LIBBIN}/libfiniteVolume.so $ENV{FOAM_LIBBIN}/libOpenFOAM.so $ENV{FOAM_LIBBIN}/libmeshTools.so) --- End of CMakeLists.txt --- --- modified Cone5.cxx: --- #include //added for OpenFOAM // First include the required header files for the VTK classes we are using. #include "vtkConeSource.h" #include "vtkPolyDataMapper.h" #include "vtkRenderWindow.h" #include "vtkRenderWindowInteractor.h" #include "vtkCamera.h" #include "vtkActor.h" #include "vtkRenderer.h" #include "vtkInteractorStyleTrackballCamera.h" int main(int argc, char **argv) { Foam::argList args(argc, argv); //initializes OpenFOAM vtkConeSource *cone = vtkConeSource::New(); cone->SetHeight( 3.0 ); cone->SetRadius( 1.0 ); cone->SetResolution( 10 ); vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); coneMapper->SetInputConnection( cone->GetOutputPort() ); vtkActor *coneActor = vtkActor::New(); coneActor->SetMapper( coneMapper ); vtkRenderer *ren1= vtkRenderer::New(); ren1->AddActor( coneActor ); ren1->SetBackground( 0.1, 0.2, 0.4 ); vtkRenderWindow *renWin = vtkRenderWindow::New(); renWin->AddRenderer( ren1 ); renWin->SetSize( 300, 300 ); //renWin->Render(); //Using this call instead of the remaining code //causes a crash, too. vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New(); iren->SetRenderWindow(renWin); vtkInteractorStyleTrackballCamera *style = vtkInteractorStyleTrackballCamera::New(); iren->SetInteractorStyle(style); iren->Initialize(); iren->Start(); cone->Delete(); coneMapper->Delete(); coneActor->Delete(); ren1->Delete(); renWin->Delete(); iren->Delete(); style->Delete(); return 0; } --- End of Cone5.cxx --- Every input is welcome! Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: From jose.de.paula at live.com Tue Apr 28 12:49:02 2015 From: jose.de.paula at live.com (JoseBarretoT) Date: Tue, 28 Apr 2015 09:49:02 -0700 (MST) Subject: [vtkusers] Error with vtkImageReslice, generate cuts Message-ID: <1430239742378-5731662.post@n5.nabble.com> Good day users, I'm trying to make a MPR-shaped panoramic view with VTK, found nothing to help me in native VTK, only imageReslice, most fail to create from scratch a class for that. I saw this link http://www.vtkjournal.org/browse/publication/838 a class that implements all I need, asking only two parameters, the port zero (0) a source of DICOM, and at the door one (1), a polygon. Compiled the VTK in version 6.2, ParaView in version 4.3 and version 4.7 in ITK. I compiled the code with the active ParaView plugin option, but when I try to use the class I get these errors: 1 - imageAppend not go out with the panoramic, but with the last image copied the points. 2 - to update the pepiline, I get error CONNECTION "ERROR: In .. \ .. \ .. \ source \ Common \ ExecutionModel \ vtkDemandDrivenPipeline.cxx, line 720 vtkCompositeDataPipeline (02C08CB0): Input port 0 of algorithm vtkFrenetSerretFrame (02BC93A8) has 2 connections but is not repeatable. " This will vary the number of 2 up to 51 (total points contained my source of polygon data). I should get a picture at the end like this: The code I'm using is this: -----------------------*****---------------------------- private: vtkDICOMImageReader* GetDicom(){ if (dicomReader == nullptr){ dicomReader = vtkDICOMImageReader::New(); dicomReader->SetDirectoryName("D:\\IMAGENSDICOM\\\Dentascan"); dicomReader->SetDataExtent(0, 63, 0, 63, 1, 93); dicomReader->SetDataSpacing(3.2, 3.2, 1.5); dicomReader->SetDataOrigin(0.0, 0.0, 0.0); dicomReader->SetDataScalarTypeToUnsignedShort(); dicomReader->SetDataByteOrderToLittleEndian(); dicomReader->UpdateWholeExtent(); } dicomReader->Update(); return dicomReader; } private: System::Void tODOsToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) { GetDicom(); vtkSmartPointer pathReader = vtkSmartPointer::New(); vtkSmartPointer reslicer = vtkSmartPointer::New(); vtkSmartPointer append = vtkSmartPointer::New(); pathReader->SetFileName("C:\\Users\\jose.barreto.EX_DENTAL\\Desktop\\closed_curve.vtp"); pathReader->Update(); reslicer->SetInputConnection(GetDicom()->GetOutputPort()); reslicer->SetPathConnection(pathReader->GetOutputPort()); reslicer->SetSliceExtent(250, 200); reslicer->SetSliceSpacing(0.2, 0.1); reslicer->SetSliceThickness(0.4); //reslicer->SetProbeInput(2); // Get number of input points int nbPoints = pathReader->GetOutput()->GetNumberOfPoints(); for (int ptId = 0; ptId < nbPoints; ptId++) { reslicer->SetOffsetPoint(ptId); reslicer->Update(); vtkSmartPointer tempSlice = vtkSmartPointer::New(); tempSlice->DeepCopy(reslicer->GetOutput(0)); append->AddInputData(tempSlice); } append->SetAppendAxis(2); append->Update(); vtkImageResliceMapper* im = vtkImageResliceMapper::New(); im->SetInputConnection(append->GetOutputPort()); im->SliceFacesCameraOn(); im->SliceAtFocalPointOn(); im->BorderOn(); vtkImageProperty* ip = vtkImageProperty::New(); ip->SetColorWindow(2000); ip->SetColorLevel(1000); ip->SetAmbient(0.0); ip->SetDiffuse(1.0); ip->SetOpacity(1.0); ip->SetInterpolationTypeToLinear(); vtkImageSlice* ia = vtkImageSlice::New(); ia->SetMapper(im); ia->SetProperty(ip); vtkSmartPointer renderer = vtkSmartPointer::New(); renderer->AddViewProp(ia); vtkRenderWindow* window = vtkRenderWindow::New(); window->SetParentId(plVisualizacao->Handle.ToPointer()); window->SetSize(plVisualizacao->Width, plVisualizacao->Height); window->AddRenderer(renderer); // Set up the interaction vtkSmartPointer imageStyle = vtkSmartPointer::New(); imageStyle->SetInteractionModeToImage3D(); vtkRenderWindowInteractor* interactor = vtkRenderWindowInteractor::New(); interactor->SetInteractorStyle(imageStyle); window->SetInteractor(interactor); window->Render(); interactor->Start(); } -----------------------*****---------------------------- classes sources are on the site I left up. Please if someone can give me a light. -- View this message in context: http://vtk.1045678.n5.nabble.com/Error-with-vtkImageReslice-generate-cuts-tp5731662.html Sent from the VTK - Users mailing list archive at Nabble.com. From 18610348075 at 163.com Tue Apr 28 13:02:10 2015 From: 18610348075 at 163.com (liuliu) Date: Wed, 29 Apr 2015 01:02:10 +0800 Subject: [vtkusers] vtk in iOS and arm64 error Message-ID: hi,all i have error following ld: symbol(s) not found for architecture arm64 if not support arm64 i can?t submit this app to app store. someon help me please -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.j.brown at live.co.uk Wed Apr 29 04:23:25 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Wed, 29 Apr 2015 01:23:25 -0700 (MST) Subject: [vtkusers] Displaying 3D RT Structure contours Message-ID: <1430295805348-5731669.post@n5.nabble.com> Hi, I want to create a surface of my RT Structure file, but the output is unsatisfactory. Below, I have attached an image containing the eyes and optic nerves segmented in a third party program. The left is the individual 2D RT Structure contours all stacked on top of each other and rendered. The slices are not joined together, so I perform a surface reconstruction, which results in the image on the right. The resulting image, whilst being 3D (as opposed to stacked 2D slices), looks nothing like the original! Any ideas on how I can create a 3D surface, which resembles the individual 2D slices more closely? Here is my code: // vtk #include #include #include #include #include #include #include #include #include #include #include // gdcm #include #include int main() { // need this for random numbers vtkMath::RandomSeed(time(NULL)); // read RT Struct file vtkSmartPointer reader = vtkSmartPointer::New(); reader->SetFileName("/Users/CRCT_Richard/Documents/PhD/Scan_Data/Laure/TDMGLIO/RS.1.3.6.1.4.1.33868.20150218162450.311249"); reader->Update(); // create renderers and link to their qvtkwidgets vtkSmartPointer renderer1 = vtkSmartPointer::New(); vtkSmartPointer renderer2 = vtkSmartPointer::New(); // iterate through each contour for (int i=1; iGetRTStructSetProperties()->GetNumberOfStructureSetROIs(); i++) { // create surface from points vtkSmartPointer append = vtkSmartPointer::New(); append->SetInputConnection(reader->GetOutputPort(i)); vtkSmartPointer surf = vtkSmartPointer::New(); surf->SetInputConnection(append->GetOutputPort()); vtkSmartPointer contourFilter = vtkSmartPointer::New(); contourFilter->SetInputConnection(surf->GetOutputPort()); contourFilter->SetValue(0, 0.0); vtkSmartPointer reverse = vtkSmartPointer::New(); reverse->SetInputConnection(contourFilter->GetOutputPort()); reverse->ReverseCellsOn(); reverse->ReverseNormalsOn(); reverse->Update(); // random colour for each contour double RGB[3] = { vtkMath::Random(0.3,1), vtkMath::Random(0.3,1), vtkMath::Random(0.3,1) }; // render output from vtkAppendPolyData vtkSmartPointer mapper1 = vtkSmartPointer::New(); mapper1->SetInputConnection(append->GetOutputPort()); mapper1->ScalarVisibilityOff(); vtkSmartPointer actor1 = vtkSmartPointer::New(); actor1->SetMapper(mapper1); actor1->GetProperty()->SetRepresentationToSurface(); actor1->GetProperty()->SetOpacity(0.5); actor1->GetProperty()->SetColor(RGB); actor1->GetProperty()->SetDiffuse(0); actor1->GetProperty()->SetAmbient(1); renderer1->AddActor(actor1); // render output from vtkReverseSense vtkSmartPointer mapper2 = vtkSmartPointer::New(); mapper2->SetInputConnection(reverse->GetOutputPort()); mapper2->ScalarVisibilityOff(); vtkSmartPointer actor2 = vtkSmartPointer::New(); actor2->SetMapper(mapper2); actor2->GetProperty()->SetRepresentationToSurface(); actor2->GetProperty()->SetOpacity(0.5); actor2->GetProperty()->SetColor(RGB); actor2->GetProperty()->SetDiffuse(0); actor2->GetProperty()->SetAmbient(1); renderer2->AddActor(actor2); } vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer1); renderWindow->AddRenderer(renderer2); renderer1->SetViewport(0,0,0.5,1); renderer2->SetViewport(0.5,0,1,1); vtkSmartPointer interactor = vtkSmartPointer::New(); renderWindow->SetInteractor(interactor); interactor->Start(); return 0; } -- View this message in context: http://vtk.1045678.n5.nabble.com/Displaying-3D-RT-Structure-contours-tp5731669.html Sent from the VTK - Users mailing list archive at Nabble.com. From Nicola.Leucht at karlstorz.com Wed Apr 29 04:29:59 2015 From: Nicola.Leucht at karlstorz.com (Leucht, Nicola) Date: Wed, 29 Apr 2015 08:29:59 +0000 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: Hi Aashish, thanks that you already had a look at the issue! Do you (or anyone else) have any idea what the problem might be or where I should look? Thank you Nicola Von: vtkusers [mailto:vtkusers-bounces at vtk.org] Im Auftrag von Leucht, Nicola Gesendet: Donnerstag, 23. April 2015 13:46 An: Aashish Chaudhary Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 No, it stays there ? always with two lines of the same eye. Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:44 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 I think its missing rendering the other eye at the center. Does it go away if you change the viewport dimensions? Thanks, Aashish On Thu, Apr 23, 2015 at 7:40 AM, Leucht, Nicola > wrote: Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:36 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 Your code looks fine. Can you post a screen capture of what you see? - Aashish On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola > wrote: Hi, I?m using VTK 6.2.0 with the OpenGL2 backend. When rendering in stereo (interlaced mode), there are two horizontal lines in the middle of the window that belong to one eye. Code: vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetCenter(0.0, 0.0, 0.0); sphereSource->SetRadius(50.0); sphereSource->SetPhiResolution(100); sphereSource->SetThetaResolution(100); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); mapper->Update(); renderer->AddActor(actor); renderer->GetActiveCamera()->SetEyeAngle(30); renderer->ResetCamera(); renderer->SetBackground(.3, .6, .3); renderWindow->StereoCapableWindowOn(); renderWindow->SetStereoTypeToInterlaced(); renderWindow->StereoRenderOn(); renderWindowInteractor->Start(); Is there anything I need to change in my code? Kind regards Nicola _______________________________________________ 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 njx937 at gmail.com Wed Apr 29 05:44:56 2015 From: njx937 at gmail.com (NIE JUNXIAO) Date: Wed, 29 Apr 2015 18:44:56 +0900 Subject: [vtkusers] Failure in reading stl Message-ID: <5540A818.2010809@gmail.com> Hello everybody, My name is Nie. And I am very sorry for such a newbie. I am now working with a project on iOS. I choose VTK as the rendering engine. But I have came up eith a problem on reading stl( or other 3D type file is OK, like vtp). I first followed th tutorial on http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL But I get a file not found error (the .stl file is in the app bundle). Then I changed the stl to vtp using 3Dslicer and tried to read vtp referring to readvtp tutorial. This time I get a error opening file code. Could anyone give me some hints to solve this? Thank you. I am now using VTK6.20 and the version of Xcode is 6.3.1. Best regards, NIE JUNXIAO read stl code //vtkSTLreader is changed to vtkXMLPolyDataReader when reading vtp ---------------------------------------------- (void) loadSTL(string name){ vtkNew reader; reader->SetFileName("tissue.stl"/*name.c_str()*/);//actually it is called in another function reader->Update(); vtkNew mapper; mapper->SetInputConnection(reader->GetOutputPort()); mapper->Update(); vtkNew actor; actor->SetMapper(mapper.Get()); _myVTKRenderer->AddActor(actor.Get());//_myVTKrenderer is defined before this } --------------------------------- error message while reading stl ERROR: In /Users/atreapple/iOS_App/VTK-6.2.0/IO/Geometry/vtkSTLReader.cxx, line 106 vtkSTLReader (0x16d9ccd0): File tissue.stl not found ERROR: In /Users/atreapple/iOS_App/VTK-6.2.0/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x16d9d0e0): Algorithm vtkSTLReader(0x16d9ccd0) returned failure for request: vtkInformation (0x16da2fc0) Debug: Off Modified Time: 347 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA FORWARD_DIRECTION: 0 FROM_OUTPUT_PORT: 0 ALGORITHM_AFTER_FORWARD: 1 ------------------------read vtp error code ERROR: In /Users/atreapple/iOS_App/VTK-6.2.0/IO/XML/vtkXMLReader.cxx, line 233 vtkXMLPolyDataReader (0x17532490): Error opening file tissue.vtp ERROR: In /Users/atreapple/iOS_App/VTK-6.2.0/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x17532120): Algorithm vtkXMLPolyDataReader(0x17532490) returned failure for request: vtkInformation (0x17531230) Debug: Off Modified Time: 314 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION ALGORITHM_AFTER_FORWARD: 1 FORWARD_DIRECTION: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tissue.stl Type: application/octet-stream Size: 79384 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tissue.vtp Type: text/xml Size: 25029 bytes Desc: not available URL: From njx937 at gmail.com Wed Apr 29 06:03:29 2015 From: njx937 at gmail.com (NIE JUNXIAO) Date: Wed, 29 Apr 2015 19:03:29 +0900 Subject: [vtkusers] Failure in reading stl In-Reply-To: <5540A818.2010809@gmail.com> References: <5540A818.2010809@gmail.com> Message-ID: <5540AC71.3060703@gmail.com> Hello everybody, I have solved this problem by adding std::string dataset = [[[NSBundle mainBundle] pathForResource:@"tissue" ofType:@"stl"] UTF8String]; to find the file path. Thank you very much. Best regards, NIE JUNXIAO On 2015/04/29 18:44, NIE JUNXIAO wrote: > Hello everybody, > My name is Nie. And I am very sorry for such a newbie. > I am now working with a project on iOS. I choose VTK as the > rendering engine. But I have came up eith a problem on reading stl( or > other 3D type file is OK, like vtp). > I first followed th tutorial on > http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadSTL > But I get a file not found error (the .stl file is in the app bundle). > Then I changed the stl to vtp using 3Dslicer and tried to read vtp > referring to readvtp tutorial. This time I get a error opening file > code. > Could anyone give me some hints to solve this? > Thank you. > I am now using VTK6.20 and the version of Xcode is 6.3.1. > Best regards, > NIE JUNXIAO > > > read stl code //vtkSTLreader is changed to vtkXMLPolyDataReader when > reading vtp > ---------------------------------------------- > (void) loadSTL(string name){ > vtkNew reader; > reader->SetFileName("tissue.stl"/*name.c_str()*/);//actually it is > called in another function > reader->Update(); > vtkNew mapper; > mapper->SetInputConnection(reader->GetOutputPort()); > mapper->Update(); > vtkNew actor; > actor->SetMapper(mapper.Get()); > _myVTKRenderer->AddActor(actor.Get());//_myVTKrenderer is defined > before this > } > --------------------------------- > error message while reading stl > ERROR: In > /Users/atreapple/iOS_App/VTK-6.2.0/IO/Geometry/vtkSTLReader.cxx, line 106 > vtkSTLReader (0x16d9ccd0): File tissue.stl not found > ERROR: In > /Users/atreapple/iOS_App/VTK-6.2.0/Common/ExecutionModel/vtkExecutive.cxx, > line 784 > vtkCompositeDataPipeline (0x16d9d0e0): Algorithm > vtkSTLReader(0x16d9ccd0) returned failure for request: vtkInformation > (0x16da2fc0) > Debug: Off > Modified Time: 347 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_DATA > FORWARD_DIRECTION: 0 > FROM_OUTPUT_PORT: 0 > ALGORITHM_AFTER_FORWARD: 1 > ------------------------read vtp error code > ERROR: In /Users/atreapple/iOS_App/VTK-6.2.0/IO/XML/vtkXMLReader.cxx, > line 233 > vtkXMLPolyDataReader (0x17532490): Error opening file tissue.vtp > > ERROR: In > /Users/atreapple/iOS_App/VTK-6.2.0/Common/ExecutionModel/vtkExecutive.cxx, > line 784 > vtkCompositeDataPipeline (0x17532120): Algorithm > vtkXMLPolyDataReader(0x17532490) returned failure for request: > vtkInformation (0x17531230) > Debug: Off > Modified Time: 314 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_INFORMATION > ALGORITHM_AFTER_FORWARD: 1 > FORWARD_DIRECTION: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Wed Apr 29 08:34:50 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 29 Apr 2015 08:34:50 -0400 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: Hi Nicola, I didn't spot anything obvious. Can you debug the VTK code? If yes, I can point you to the relevant VTK code. - Aashish On Wed, Apr 29, 2015 at 4:29 AM, Leucht, Nicola wrote: > Hi Aashish, > > > > thanks that you already had a look at the issue! > > Do you (or anyone else) have any idea what the problem might be or where I > should look? > > > > Thank you > > Nicola > > > > *Von:* vtkusers [mailto:vtkusers-bounces at vtk.org] *Im Auftrag von *Leucht, > Nicola > *Gesendet:* Donnerstag, 23. April 2015 13:46 > *An:* Aashish Chaudhary > > *Cc:* vtkusers at vtk.org > *Betreff:* Re: [vtkusers] Stereo rendering problem with OpenGL2 > > > > No, it stays there ? always with two lines of the same eye. > > > > *Von:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com > ] > *Gesendet:* Donnerstag, 23. April 2015 13:44 > *An:* Leucht, Nicola > *Cc:* vtkusers at vtk.org > *Betreff:* Re: [vtkusers] Stereo rendering problem with OpenGL2 > > > > I think its missing rendering the other eye at the center. Does it go away > if you change the viewport dimensions? > > > > Thanks, > > Aashish > > > > On Thu, Apr 23, 2015 at 7:40 AM, Leucht, Nicola < > Nicola.Leucht at karlstorz.com> wrote: > > > > *Von:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] > *Gesendet:* Donnerstag, 23. April 2015 13:36 > *An:* Leucht, Nicola > *Cc:* vtkusers at vtk.org > *Betreff:* Re: [vtkusers] Stereo rendering problem with OpenGL2 > > > > Your code looks fine. Can you post a screen capture of what you see? > > > > - Aashish > > > > On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola < > Nicola.Leucht at karlstorz.com> wrote: > > Hi, > > > > I?m using VTK 6.2.0 with the OpenGL2 backend. > > When rendering in stereo (interlaced mode), there are two horizontal lines > in the middle of the window that belong to one eye. > > > > Code: > > vtkSmartPointer renderer = vtkSmartPointer >::New(); > > vtkSmartPointer renderWindow = vtkSmartPointer< > vtkRenderWindow>::New(); > > renderWindow->AddRenderer(renderer); > > vtkSmartPointer renderWindowInteractor = > vtkSmartPointer::New(); > > renderWindowInteractor->SetRenderWindow(renderWindow); > > > > vtkSmartPointer sphereSource = vtkSmartPointer< > vtkSphereSource>::New(); > > sphereSource->SetCenter(0.0, 0.0, 0.0); > > sphereSource->SetRadius(50.0); > > sphereSource->SetPhiResolution(100); > > sphereSource->SetThetaResolution(100); > > vtkSmartPointer mapper = vtkSmartPointer< > vtkOpenGLPolyDataMapper>::New(); > > mapper->SetInputConnection(sphereSource->GetOutputPort()); > > > > vtkSmartPointer actor = vtkSmartPointer::New(); > > actor->SetMapper(mapper); > > mapper->Update(); > > renderer->AddActor(actor); > > renderer->GetActiveCamera()->SetEyeAngle(30); > > renderer->ResetCamera(); > > renderer->SetBackground(.3, .6, .3); > > renderWindow->StereoCapableWindowOn(); > > renderWindow->SetStereoTypeToInterlaced(); > > renderWindow->StereoRenderOn(); > > renderWindowInteractor->Start(); > > > > Is there anything I need to change in my code? > > > > Kind regards > > Nicola > > > _______________________________________________ > 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 > * > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nicola.Leucht at karlstorz.com Wed Apr 29 09:09:56 2015 From: Nicola.Leucht at karlstorz.com (Leucht, Nicola) Date: Wed, 29 Apr 2015 13:09:56 +0000 Subject: [vtkusers] Stereo rendering problem with OpenGL2 In-Reply-To: References: Message-ID: Hi Aashish, yes, would be great if you could tell me about the relevant VTK code. Thanks, Nicola Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Mittwoch, 29. April 2015 14:35 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 Hi Nicola, I didn't spot anything obvious. Can you debug the VTK code? If yes, I can point you to the relevant VTK code. - Aashish On Wed, Apr 29, 2015 at 4:29 AM, Leucht, Nicola > wrote: Hi Aashish, thanks that you already had a look at the issue! Do you (or anyone else) have any idea what the problem might be or where I should look? Thank you Nicola Von: vtkusers [mailto:vtkusers-bounces at vtk.org] Im Auftrag von Leucht, Nicola Gesendet: Donnerstag, 23. April 2015 13:46 An: Aashish Chaudhary Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 No, it stays there ? always with two lines of the same eye. Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:44 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 I think its missing rendering the other eye at the center. Does it go away if you change the viewport dimensions? Thanks, Aashish On Thu, Apr 23, 2015 at 7:40 AM, Leucht, Nicola > wrote: Von: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Gesendet: Donnerstag, 23. April 2015 13:36 An: Leucht, Nicola Cc: vtkusers at vtk.org Betreff: Re: [vtkusers] Stereo rendering problem with OpenGL2 Your code looks fine. Can you post a screen capture of what you see? - Aashish On Thu, Apr 23, 2015 at 7:20 AM, Leucht, Nicola > wrote: Hi, I?m using VTK 6.2.0 with the OpenGL2 backend. When rendering in stereo (interlaced mode), there are two horizontal lines in the middle of the window that belong to one eye. Code: vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetCenter(0.0, 0.0, 0.0); sphereSource->SetRadius(50.0); sphereSource->SetPhiResolution(100); sphereSource->SetThetaResolution(100); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); mapper->Update(); renderer->AddActor(actor); renderer->GetActiveCamera()->SetEyeAngle(30); renderer->ResetCamera(); renderer->SetBackground(.3, .6, .3); renderWindow->StereoCapableWindowOn(); renderWindow->SetStereoTypeToInterlaced(); renderWindow->StereoRenderOn(); renderWindowInteractor->Start(); Is there anything I need to change in my code? Kind regards Nicola _______________________________________________ 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 -- | Aashish Chaudhary | Technical Leader | Kitware Inc. | http://www.kitware.com/company/team/chaudhary.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.melis at surfsara.nl Thu Apr 30 07:28:55 2015 From: paul.melis at surfsara.nl (Paul Melis) Date: Thu, 30 Apr 2015 13:28:55 +0200 Subject: [vtkusers] Efficiently visualizing duplicate data in biological model Message-ID: <554211F7.2060605@surfsara.nl> Hi, (Sorry for the lengthy introduction below, I feel some detail is needed before framing my question :)) I'm working with output data from a simulation of certain biological cells, currently a few hundred of them. Each cell is modeled with a few hundred vertices and triangles and can deform and interact with other cells. There's both per-vertex data for each cell (like force), as well as per-biological-cell data for the whole cell (like volume, amount of deformation, etc). The two different sets of data are stored in separate HDF5 files per timestep and we're using Xdmf to read the cell geometry + per-vertex data in as VTK polydata for visualization. The per-biological-cell data is stored as arrays of scalars indexed by biological cell ID. The (biological) cell polydata has a per-vertex "cellId" scalar value referencing this cell ID. For visualizing the per-biological-cell values (coloring a whole biological cell with one color based on the "cell-global" value) I'm currently using a bit of Python to add extra point-data arrays to the polydata for each per-biological-cell value, thereby massively duplicating the per-biological-cell values to each point/vertex. This works, but it's a bit slow already (I'm processing on-the-fly during reading) and the datasets will need to scale up to much larger numbers of cells. Duplicating the per-biological-cell values to each point-data array and storing them in a preprocess is doable, but wastes a lot of disk space. And the current separation of files for per-vertex and per-biological-cell data seems natural (although obviously they could be datasets in the same HDF5 file, but that wouldn't solve the duplication issue I'm pondering on). I've tried to find good ways to handle this case in VTK (or even on the level of Xdmf), but don't see filters or operations that handle this case out of the box. Is there a better approach than the "manual" data duplication that I'm using at the moment? Thanks in advance for any reply, Paul -- Paul Melis | Groepsleider & Adviseur Visualisatie | SURFsara | | Science Park 140 | 1098 XG Amsterdam | | T 020 800 1312 | paul.melis at surfsara.nl | www.surfsara.nl | From richard.j.brown at live.co.uk Thu Apr 30 09:44:04 2015 From: richard.j.brown at live.co.uk (mbcx9rb9) Date: Thu, 30 Apr 2015 06:44:04 -0700 (MST) Subject: [vtkusers] vtkGDCMImageReader spacing Message-ID: <1430401444878-5731702.post@n5.nabble.com> Hi, I'm at a complete loss to understand whats going on with the vtkGDCMImageReader. I have created a simple example containing two adjacent DICOM slices. Their z-positions are 83.75mm and 82.50mm, respectively. However, when I put the two into the same vtkGDCMImageReader, my bounds are from 83.75mm to 84.75mm. Why is the location of the second slice always wrong when the two are together? And furthermore, why is the spacing wrong (it seems to think there is a spacing of 1mm, when in reality it is 1.25mm)? When I read in the whole stack of images, this trend continues (wrong spacing and wrong direction), which makes it impossible to superimpose a RT Structure file, since it is in a completely different location. Any help would be greatly appreciated. I have attached two example images and the code: CT.dcm CT.dcm // vtk #include #include // gdcm #include int main() { const char *firstFile = "/Users/CRCT_Richard/Documents/PhD/Scan_Data/Laure/TDMGLIO/CT.1.2.840.113619.2.234.90587441419.3074.1422364474001.3380.dcm"; const char *secondFile = "/Users/CRCT_Richard/Documents/PhD/Scan_Data/Laure/TDMGLIO/CT.1.2.840.113619.2.234.90587441419.3074.1422364474005.3381.dcm"; // reader for first file vtkSmartPointer file1 = vtkSmartPointer::New(); file1->SetFileName(firstFile); file1->FileLowerLeftOn(); file1->Update(); // reader for second file vtkSmartPointer file2 = vtkSmartPointer::New(); file2->SetFileName(secondFile); file2->FileLowerLeftOn(); file2->Update(); // vtkStringArray for both files together vtkSmartPointer filenames = vtkSmartPointer::New(); filenames->InsertNextValue(firstFile); filenames->InsertNextValue(secondFile); // reader for both files together vtkSmartPointer bothFilesTogether = vtkSmartPointer::New(); bothFilesTogether->SetFileNames(filenames); bothFilesTogether->FileLowerLeftOn(); bothFilesTogether->Update(); // cout info std::cout << "centre of file1 in z-direction: " << file1->GetOutput()->GetOrigin()[2] << std::endl; std::cout << "centre of file2 in z-direction: " << file2->GetOutput()->GetOrigin()[2] << std::endl; std::cout << "lower bound of bothFilesTogether: " << bothFilesTogether->GetOutput()->GetBounds()[4] << " and upper bound: " << bothFilesTogether->GetOutput()->GetBounds()[5] << std::endl; std::cout << "spacing for file1 in z-direction: " << file1->GetOutput()->GetSpacing()[2] << std::endl; std::cout << "spacing for file in z-direction: " << file2->GetOutput()->GetSpacing()[2] << std::endl; std::cout << "spacing for bothFilesTogether in z-direction: " << file1->GetOutput()->GetSpacing()[2] << std::endl; } -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkGDCMImageReader-spacing-tp5731702.html Sent from the VTK - Users mailing list archive at Nabble.com. From paul.melis at surfsara.nl Thu Apr 30 10:51:02 2015 From: paul.melis at surfsara.nl (Paul Melis) Date: Thu, 30 Apr 2015 16:51:02 +0200 Subject: [vtkusers] [EXTERNAL] Efficiently visualizing duplicate data in biological model In-Reply-To: References: <554211F7.2060605@surfsara.nl> Message-ID: <55424156.9030607@surfsara.nl> Hi Gerrick, I tried to make the two different "cells" apparent: VTK cells and biological cells in the model (the latter being represented by a piece of polydata), but apparently failed :) The filters you suggest work on VTK points and cells only, not the higher level of biological cells in the model I'm looking for. I'll try to add more detail. I have several biological cells in my polydata object that are each represented by a few hundred points and triangles (basically a distorted sphere per biological cell). All cells in the simulation are represented by a single VTK polydata object (so not a polydata object per cell). There is a point-data array called "cellId" that holds the biological cell ID, so polydata points that form the same biological cell in the model will have the same cell ID value. For each of the biological cells there is a single value for a number of model output values, e.g. volume of the biological cell, total amount of distortion, etc. These values I'd like to visualize by coloring the whole cell (i.e. that cell's subset of the polydata) with a color-mapped value. It seems the only way to do that in VTK is to propagate the value to show for a cell (say volume) to all that cell's polydata points, for each of the biological cells, and then do color-mapped rendering as usual. However, this value propagation is not something VTK can do for me it seems, so I've written it manually in Python at the moment. The way this works is that I add a point-data array to the polydata object for each value, e.g. Volume. It then takes the values per biological cell from an HDF5 file and assigns those values to the polydata points, based on the biological cell ID of each point, thereby duplicating e.g. the volume value for cell 123 on all points having cellID value 123. This value propagation takes a bit of processing that I'd like to minimize while interactively visualizing and reading in new timesteps. Preprocessing all timestep files is possible, but will add a lot of duplicate data, something I'd like to avoid. Regards, Paul On 04/30/2015 04:27 PM, Gerrick Bivins wrote: > Hi Paul, > I'm a little confused on what your data layout is and how you'd actually like it to be > but have you tried using either of these: > http://www.vtk.org/doc/nightly/html/classvtkCellDataToPointData.html > http://www.vtk.org/doc/nightly/html/classvtkPointDataToCellData.html > > Gerrick > > > -----Original Message----- > From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Paul Melis > Sent: Thursday, April 30, 2015 6:29 AM > To: vtkusers at vtk.org > Subject: [EXTERNAL] [vtkusers] Efficiently visualizing duplicate data in biological model > > Hi, > > (Sorry for the lengthy introduction below, I feel some detail is needed before framing my question :)) > > I'm working with output data from a simulation of certain biological cells, currently a few hundred of them. Each cell is modeled with a few hundred vertices and triangles and can deform and interact with other cells. There's both per-vertex data for each cell (like force), as well as per-biological-cell data for the whole cell (like volume, amount of deformation, etc). The two different sets of data are stored in separate > HDF5 files per timestep and we're using Xdmf to read the cell geometry + per-vertex data in as VTK polydata for visualization. > > The per-biological-cell data is stored as arrays of scalars indexed by biological cell ID. The (biological) cell polydata has a per-vertex "cellId" scalar value referencing this cell ID. For visualizing the per-biological-cell values (coloring a whole biological cell with one color based on the "cell-global" value) I'm currently using a bit of Python to add extra point-data arrays to the polydata for each per-biological-cell value, thereby massively duplicating the per-biological-cell values to each point/vertex. This works, but it's a bit slow already (I'm processing on-the-fly during reading) and the datasets will need to scale up to much larger numbers of cells. > Duplicating the per-biological-cell values to each point-data array and storing them in a preprocess is doable, but wastes a lot of disk space. > And the current separation of files for per-vertex and per-biological-cell data seems natural (although obviously they could be datasets in the same HDF5 file, but that wouldn't solve the duplication issue I'm pondering on). > > I've tried to find good ways to handle this case in VTK (or even on the level of Xdmf), but don't see filters or operations that handle this case out of the box. Is there a better approach than the "manual" data duplication that I'm using at the moment? > > Thanks in advance for any reply, > Paul > From Gerrick.Bivins at halliburton.com Thu Apr 30 10:27:53 2015 From: Gerrick.Bivins at halliburton.com (Gerrick Bivins) Date: Thu, 30 Apr 2015 14:27:53 +0000 Subject: [vtkusers] [EXTERNAL] Efficiently visualizing duplicate data in biological model In-Reply-To: <554211F7.2060605@surfsara.nl> References: <554211F7.2060605@surfsara.nl> Message-ID: Hi Paul, I'm a little confused on what your data layout is and how you'd actually like it to be but have you tried using either of these: http://www.vtk.org/doc/nightly/html/classvtkCellDataToPointData.html http://www.vtk.org/doc/nightly/html/classvtkPointDataToCellData.html Gerrick -----Original Message----- From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Paul Melis Sent: Thursday, April 30, 2015 6:29 AM To: vtkusers at vtk.org Subject: [EXTERNAL] [vtkusers] Efficiently visualizing duplicate data in biological model Hi, (Sorry for the lengthy introduction below, I feel some detail is needed before framing my question :)) I'm working with output data from a simulation of certain biological cells, currently a few hundred of them. Each cell is modeled with a few hundred vertices and triangles and can deform and interact with other cells. There's both per-vertex data for each cell (like force), as well as per-biological-cell data for the whole cell (like volume, amount of deformation, etc). The two different sets of data are stored in separate HDF5 files per timestep and we're using Xdmf to read the cell geometry + per-vertex data in as VTK polydata for visualization. The per-biological-cell data is stored as arrays of scalars indexed by biological cell ID. The (biological) cell polydata has a per-vertex "cellId" scalar value referencing this cell ID. For visualizing the per-biological-cell values (coloring a whole biological cell with one color based on the "cell-global" value) I'm currently using a bit of Python to add extra point-data arrays to the polydata for each per-biological-cell value, thereby massively duplicating the per-biological-cell values to each point/vertex. This works, but it's a bit slow already (I'm processing on-the-fly during reading) and the datasets will need to scale up to much larger numbers of cells. Duplicating the per-biological-cell values to each point-data array and storing them in a preprocess is doable, but wastes a lot of disk space. And the current separation of files for per-vertex and per-biological-cell data seems natural (although obviously they could be datasets in the same HDF5 file, but that wouldn't solve the duplication issue I'm pondering on). I've tried to find good ways to handle this case in VTK (or even on the level of Xdmf), but don't see filters or operations that handle this case out of the box. Is there a better approach than the "manual" data duplication that I'm using at the moment? Thanks in advance for any reply, Paul -- Paul Melis | Groepsleider & Adviseur Visualisatie | SURFsara | Science Park 140 | | 1098 XG Amsterdam | T 020 800 1312 | paul.melis at surfsara.nl | | www.surfsara.nl | _______________________________________________ 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 ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. From nil.goyette at imeka.ca Thu Apr 30 10:54:41 2015 From: nil.goyette at imeka.ca (Nil Goyette) Date: Thu, 30 Apr 2015 10:54:41 -0400 Subject: [vtkusers] vtkPolyDataToImageStencil Message-ID: <55424231.6090105@imeka.ca> Hi all, I'm using vtkPolyDataToImageStencil to get all voxels index inside of a surface. If I understand correctly, I have only two choices here: - vtkImageStencil to create a new image - vtkImageStencilIterator to iterate on the values (of another image) The problem is, I have a different goal in mind. I need the index of all voxels inside a surface. I read the vtkPolyDataToImageStencil code and tried to create my own "iterator" but there's probably something I don't understand; GetNextExtent always return 0. bool GetNext(int& x1, int& x2, int& y, int& z) { // m_Y, m_Z and m_Iter == 0 int maxX, maxY, maxZ, dump; m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); maxX *= 2; maxY *= 2; maxZ *= 2; for ( ; m_Z <= maxZ; ++m_Z) { for ( ; m_Y <= maxY; ++m_Y) { if (m_ImageStencilData->GetNextExtent(x1, x2, 0, maxX, m_Y, m_Z, m_Iter)) { y = m_Y; z = m_Z; return true; } } } return false; } Is there a way to access all inside-voxels hidden in the vtkPolyDataToImageStencil? By index or by index range, it's not important. I just want to know to access them without useless work (like creating an image) because it's gonna be called often; it needs to be fast. Thank you for your time. Nil -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Apr 30 11:53:24 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 30 Apr 2015 09:53:24 -0600 Subject: [vtkusers] vtkPolyDataToImageStencil In-Reply-To: <55424231.6090105@imeka.ca> References: <55424231.6090105@imeka.ca> Message-ID: Hi Nil, I wrote a stencil iterator that provides the x, y, and z indices (not in VTK yet). It still requires an image to iterate over, but it might be worth a glance: https://github.com/dgobbi/AIRS/blob/master/ImageSegmentation/vtkImageRegionIterator.h In order for your GetNext() function to work as an iterator function, it should not have any loops, just conditionals: if ->GetNextExtent() returns zero, it should reset m_Iter to zero and increment m_Y if m_Y > maxY, it should reset m_Y to zero and increment m_Z if m_Z > maxZ, it should reset m_Z to zero and return false Also, maxZ, maxY, and maxX should not be multiplied by two :) - David On Thu, Apr 30, 2015 at 8:54 AM, Nil Goyette wrote: > Hi all, > > I'm using vtkPolyDataToImageStencil to get all voxels index inside of a > surface. If I understand correctly, I have only two choices here: > - vtkImageStencil to create a new image > - vtkImageStencilIterator to iterate on the values (of another image) > The problem is, I have a different goal in mind. I need the index of all > voxels inside a surface. > > I read the vtkPolyDataToImageStencil code and tried to create my own > "iterator" but there's probably something I don't understand; > GetNextExtent always return 0. > bool GetNext(int& x1, int& x2, int& y, int& z) > { > // m_Y, m_Z and m_Iter == 0 > int maxX, maxY, maxZ, dump; > m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); > maxX *= 2; maxY *= 2; maxZ *= 2; > > for ( ; m_Z <= maxZ; ++m_Z) > { > for ( ; m_Y <= maxY; ++m_Y) > { > if (m_ImageStencilData->GetNextExtent(x1, x2, 0, maxX, m_Y, m_Z, > m_Iter)) > { > y = m_Y; z = m_Z; > return true; > } > } > } > return false; > } > > Is there a way to access all inside-voxels hidden in the > vtkPolyDataToImageStencil? By index or by index range, it's not > important. I just want to know to access them without useless work (like > creating an image) because it's gonna be called often; it needs to be fast. > Thank you for your time. > > Nil > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Apr 30 12:55:11 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 30 Apr 2015 10:55:11 -0600 Subject: [vtkusers] vtkPolyDataToImageStencil In-Reply-To: References: <55424231.6090105@imeka.ca> Message-ID: On Thu, Apr 30, 2015 at 9:53 AM, David Gobbi wrote: > Hi Nil, > > I wrote a stencil iterator that provides the x, y, and z indices (not in > VTK yet). It still requires an image to iterate over, but it might be > worth a glance: > > https://github.com/dgobbi/AIRS/blob/master/ImageSegmentation/vtkImageRegionIterator.h > > In order for your GetNext() function to work as an iterator function, it > should not have any loops, just conditionals: > > if ->GetNextExtent() returns zero, it should reset m_Iter to zero and > increment m_Y > if m_Y > maxY, it should reset m_Y to zero and increment m_Z > if m_Z > maxZ, it should reset m_Z to zero and return false > I realized that it isn't quite as simple as what I wrote. Everything has to be in a loop, because it has to keep trying until it gets a valid extent: bool gotExtent = false; while (!gotExtent) { gotExtent = m_ImageStencilData->GetNextExtent() if gotExtent is zero, it should reset m_Iter to zero and increment m_Y if m_Y > maxY, it should reset m_Y to zero and increment m_Z if m_Z > maxZ, it should reset m_Z to zero and return false } No guarantees, of course, since it's completely untested pseudocode. - David On Thu, Apr 30, 2015 at 8:54 AM, Nil Goyette wrote: > >> Hi all, >> >> I'm using vtkPolyDataToImageStencil to get all voxels index inside of a >> surface. If I understand correctly, I have only two choices here: >> - vtkImageStencil to create a new image >> - vtkImageStencilIterator to iterate on the values (of another image) >> The problem is, I have a different goal in mind. I need the index of all >> voxels inside a surface. >> >> I read the vtkPolyDataToImageStencil code and tried to create my own >> "iterator" but there's probably something I don't understand; >> GetNextExtent always return 0. >> bool GetNext(int& x1, int& x2, int& y, int& z) >> { >> // m_Y, m_Z and m_Iter == 0 >> int maxX, maxY, maxZ, dump; >> m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); >> maxX *= 2; maxY *= 2; maxZ *= 2; >> >> for ( ; m_Z <= maxZ; ++m_Z) >> { >> for ( ; m_Y <= maxY; ++m_Y) >> { >> if (m_ImageStencilData->GetNextExtent(x1, x2, 0, maxX, m_Y, m_Z, >> m_Iter)) >> { >> y = m_Y; z = m_Z; >> return true; >> } >> } >> } >> return false; >> } >> >> Is there a way to access all inside-voxels hidden in the >> vtkPolyDataToImageStencil? By index or by index range, it's not >> important. I just want to know to access them without useless work (like >> creating an image) because it's gonna be called often; it needs to be fast. >> Thank you for your time. >> >> Nil >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nil.goyette at imeka.ca Thu Apr 30 13:54:02 2015 From: nil.goyette at imeka.ca (Nil Goyette) Date: Thu, 30 Apr 2015 13:54:02 -0400 Subject: [vtkusers] vtkPolyDataToImageStencil In-Reply-To: References: <55424231.6090105@imeka.ca> Message-ID: <55426C3A.7030302@imeka.ca> Hi David, Haha, wow, I was totally not understanding this method! It does make sense now. Thank you :) One last question, just to be sure, what does the y and z parameters become? Here's the complete method, for clarity and for the next vtk users: bool GetNext(int& x1, int& x2, int& y, int& z) { int maxX, maxY, maxZ, dump; m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); bool gotExtent = false; while (!gotExtent) { gotExtent = m_ImageStencilData->GetNextExtent( x1, x2, 0, maxX, m_Y, m_Z, m_Iter) > 0; if (!gotExtent) { m_Iter = 0; ++m_Y; } if (m_Y > maxY) { m_Y = 0; ++m_Z; } if (m_Z > maxZ) { m_Z = 0; return false; } } y = m_Y; z = m_Z;// *y and z ???* return true; } Nil Le 2015-04-30 12:55, David Gobbi a ?crit : > On Thu, Apr 30, 2015 at 9:53 AM, David Gobbi > wrote: > > Hi Nil, > > I wrote a stencil iterator that provides the x, y, and z indices > (not in VTK yet). It still requires an image to iterate over, but > it might be worth a glance: > https://github.com/dgobbi/AIRS/blob/master/ImageSegmentation/vtkImageRegionIterator.h > > In order for your GetNext() function to work as an iterator > function, it should not have any loops, just conditionals: > > if ->GetNextExtent() returns zero, it should reset m_Iter to zero > and increment m_Y > if m_Y > maxY, it should reset m_Y to zero and increment m_Z > if m_Z > maxZ, it should reset m_Z to zero and return false > > > I realized that it isn't quite as simple as what I wrote. Everything > has to be in a loop, because it has to keep trying until it gets a > valid extent: > > bool gotExtent = false; > while (!gotExtent) > { > gotExtent = m_ImageStencilData->GetNextExtent() > if gotExtent is zero, it should reset m_Iter to zero and increment m_Y > if m_Y > maxY, it should reset m_Y to zero and increment m_Z > if m_Z > maxZ, it should reset m_Z to zero and return false > } > > No guarantees, of course, since it's completely untested pseudocode. > > - David > > > On Thu, Apr 30, 2015 at 8:54 AM, Nil Goyette > wrote: > > Hi all, > > I'm using vtkPolyDataToImageStencil to get all voxels index > inside of a surface. If I understand correctly, I have only > two choices here: > - vtkImageStencil to create a new image > - vtkImageStencilIterator to iterate on the values (of another > image) > The problem is, I have a different goal in mind. I need the > index of all voxels inside a surface. > > I read the vtkPolyDataToImageStencil code and tried to create > my own "iterator" but there's probably something I don't > understand; GetNextExtent always return 0. > bool GetNext(int& x1, int& x2, int& y, int& z) > { > // m_Y, m_Z and m_Iter == 0 > int maxX, maxY, maxZ, dump; > m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); > maxX *= 2; maxY *= 2; maxZ *= 2; > > for ( ; m_Z <= maxZ; ++m_Z) > { > for ( ; m_Y <= maxY; ++m_Y) > { > if (m_ImageStencilData->GetNextExtent(x1, x2, 0, maxX, > m_Y, m_Z, m_Iter)) > { > y = m_Y; z = m_Z; > return true; > } > } > } > return false; > } > > Is there a way to access all inside-voxels hidden in the > vtkPolyDataToImageStencil? By index or by index range, it's > not important. I just want to know to access them without > useless work (like creating an image) because it's gonna be > called often; it needs to be fast. Thank you for your time. > > Nil > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Apr 30 14:19:30 2015 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 30 Apr 2015 12:19:30 -0600 Subject: [vtkusers] vtkPolyDataToImageStencil In-Reply-To: <55426C3A.7030302@imeka.ca> References: <55424231.6090105@imeka.ca> <55426C3A.7030302@imeka.ca> Message-ID: Hi Nil, I'm not sure what you mean by "what will they become". Each time your GetNext() method is called and returns "true", the values (x1, x2, y, z) will define a horizontal line segment between (x1,y,z) and (x2,y,z). Thanks for writing out the method in full. Now that I see the code I think it looks better if the last condition calls "break" instead of "return false": bool GetNext(int& x1, int& x2, int& y, int& z) { int maxX, maxY, maxZ, dump; m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); bool gotExtent = false; while (!gotExtent) { gotExtent = m_ImageStencilData->GetNextExtent( x1, x2, 0, maxX, m_Y, m_Z, m_Iter) > 0; if (!gotExtent) { m_Iter = 0; ++m_Y; } if (m_Y > maxY) { m_Y = 0; ++m_Z; } if (m_Z > maxZ) { m_Z = 0; break; } } y = m_Y; z = m_Z; return gotExtent; } On Thu, Apr 30, 2015 at 11:54 AM, Nil Goyette wrote: > Hi David, > > Haha, wow, I was totally not understanding this method! It does make > sense now. Thank you :) > > One last question, just to be sure, what does the y and z parameters > become? Here's the complete method, for clarity and for the next vtk users: > bool GetNext(int& x1, int& x2, int& y, int& z) > { > int maxX, maxY, maxZ, dump; > m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); > > bool gotExtent = false; > while (!gotExtent) > { > gotExtent = m_ImageStencilData->GetNextExtent( > x1, x2, 0, maxX, m_Y, m_Z, m_Iter) > 0; > > if (!gotExtent) { m_Iter = 0; ++m_Y; } > if (m_Y > maxY) { m_Y = 0; ++m_Z; } > if (m_Z > maxZ) { m_Z = 0; return false; } > } > > y = m_Y; z = m_Z; // *y and z ???* > return true; > } > > Nil > > > Le 2015-04-30 12:55, David Gobbi a ?crit : > > On Thu, Apr 30, 2015 at 9:53 AM, David Gobbi > wrote: > >> Hi Nil, >> >> I wrote a stencil iterator that provides the x, y, and z indices (not >> in VTK yet). It still requires an image to iterate over, but it might be >> worth a glance: >> >> https://github.com/dgobbi/AIRS/blob/master/ImageSegmentation/vtkImageRegionIterator.h >> >> In order for your GetNext() function to work as an iterator function, >> it should not have any loops, just conditionals: >> >> if ->GetNextExtent() returns zero, it should reset m_Iter to zero and >> increment m_Y >> if m_Y > maxY, it should reset m_Y to zero and increment m_Z >> if m_Z > maxZ, it should reset m_Z to zero and return false >> > > I realized that it isn't quite as simple as what I wrote. Everything > has to be in a loop, because it has to keep trying until it gets a valid > extent: > > bool gotExtent = false; > while (!gotExtent) > { > gotExtent = m_ImageStencilData->GetNextExtent() > if gotExtent is zero, it should reset m_Iter to zero and increment m_Y > if m_Y > maxY, it should reset m_Y to zero and increment m_Z > if m_Z > maxZ, it should reset m_Z to zero and return false > } > > No guarantees, of course, since it's completely untested pseudocode. > > - David > > > On Thu, Apr 30, 2015 at 8:54 AM, Nil Goyette >> wrote: >> >>> Hi all, >>> >>> I'm using vtkPolyDataToImageStencil to get all voxels index inside of >>> a surface. If I understand correctly, I have only two choices here: >>> - vtkImageStencil to create a new image >>> - vtkImageStencilIterator to iterate on the values (of another image) >>> The problem is, I have a different goal in mind. I need the index of all >>> voxels inside a surface. >>> >>> I read the vtkPolyDataToImageStencil code and tried to create my own >>> "iterator" but there's probably something I don't understand; >>> GetNextExtent always return 0. >>> bool GetNext(int& x1, int& x2, int& y, int& z) >>> { >>> // m_Y, m_Z and m_Iter == 0 >>> int maxX, maxY, maxZ, dump; >>> m_ImageStencilData->GetExtent(dump, maxX, dump, maxY, dump, maxZ); >>> maxX *= 2; maxY *= 2; maxZ *= 2; >>> >>> for ( ; m_Z <= maxZ; ++m_Z) >>> { >>> for ( ; m_Y <= maxY; ++m_Y) >>> { >>> if (m_ImageStencilData->GetNextExtent(x1, x2, 0, maxX, m_Y, m_Z, >>> m_Iter)) >>> { >>> y = m_Y; z = m_Z; >>> return true; >>> } >>> } >>> } >>> return false; >>> } >>> >>> Is there a way to access all inside-voxels hidden in the >>> vtkPolyDataToImageStencil? By index or by index range, it's not >>> important. I just want to know to access them without useless work (like >>> creating an image) because it's gonna be called often; it needs to be fast. >>> Thank you for your time. >>> >>> Nil >>> >>> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Apr 30 22:09:01 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 30 Apr 2015 22:09:01 -0400 Subject: [vtkusers] Bug fix for boolean operations filter Message-ID: Hi all, Today I committed a bug fix to vtkImplicitPolyDataDistance that should fix at least some of the known problems with vtkBooleanOperationPolyDataFilter. commit 67122e8421c833769fff90c8a0a113007e0383cf Author: Cory Quammen Date: Wed Apr 29 23:02:34 2015 -0400 BUG: Fixed error in area-weighted normal When the closest point on a surface to a test point is on an edge, the area-weighted normal is the average of the normals of the faces adjacent to the edge. The contribution from one of the faces was being added twice, producing the incorrect area-weighted normal. This resulted in the wrong sign for the signed distance in some cases. This patch fixes the error. Changed TestImplicitPolyDataDistance.cxx to fail prior to this change and pass after the change. The previous test exercised vtkImplicityPolyDataDistance but did not check the results. The new test checks against a baseline. For anyone who has tried to use the boolean operations filter but found it to be buggy, especially where it added extraneous triangles to the output, I encourage you to check out the current VTK master branch and see if this fixes your problem. If not, please let me know. There is still a known problem for input geometries that have long skinny triangles [1], but I think today's bug fix should take care of many of the problems people have reported. Thanks, Cory [1] http://www.paraview.org/Bug/view.php?id=13708 -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: