From will.schroeder at kitware.com Fri Mar 1 07:08:53 2019 From: will.schroeder at kitware.com (Will Schroeder) Date: Fri, 1 Mar 2019 07:08:53 -0500 Subject: [vtk-developers] Fwd: VTK Discourse forum is now available In-Reply-To: References: Message-ID: Bill brings up many good points. In particular references to the old mailing lists and such. I am a big fan of making information available through multiple access vectors so it can be found and accessed through different means. On Thu, Feb 28, 2019 at 6:54 PM Bill Lorensen wrote: > I'm not sure retiring id a good idea. > > For example stack overflow mirrors the lists. > > The lists are mentioned in many web pages. > > Also, I use LastPass for password manager and its a PIA to login just to > give a dimple answer. Especially on my phone. > > What is the harm in keeping the lists? > > On Thu, Feb 28, 2019, 1:13 PM Cory Quammen via vtk-developers < > vtk-developers at vtk.org> wrote: > >> Hi folks, >> >> Just a reminder that the mailing lists vtkusers at vtk.org and >> vtk-developers at vtk.org will be retired at some point this year. Please >> post new questions and topics on https://discourse.vtk.org >> >> Details are available in the forwarded message below. >> >> Thank you, >> Cory >> >> ---------- Forwarded message --------- >> From: Cory Quammen >> Date: Mon, Jan 21, 2019 at 10:22 AM >> Subject: VTK Discourse forum is now available >> To: vtkusers , VTK Developers >> >> >> Hello VTK community, >> >> Following up on our previous discussion about transitioning the VTK >> mailing lists to Discourse [1], we now have a Discourse forum ready to >> use to discuss all things VTK. You can find it at >> >> https://discourse.vtk.org/ >> >> You can sign up for the web site using your Google or GitHub accounts >> if you prefer, otherwise you can register with a user name and >> password. >> >> Please try it out and leave any feedback you might have under the >> "Site Feedback" category (https://discourse.vtk.org/c/site-feedback) >> on the site. >> >> To set up Discourse in mailing list mode, please see: >> >> https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ >> >> While we expect the bulk of VTK-related discussion to transition to >> Discourse fairly rapidly in the near term, the current >> vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will remain >> active until at least the middle of 2019, and the archives from these >> lists will remain available after that. >> >> See you on discourse.vtk.org! >> >> Thanks, >> Cory >> >> [1] https://markmail.org/thread/2dricthoo3ugw7jv >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q=vtk-developers >> >> Follow this link to subscribe/unsubscribe: >> https://vtk.org/mailman/listinfo/vtk-developers >> >> _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=vtk-developers > > Follow this link to subscribe/unsubscribe: > https://vtk.org/mailman/listinfo/vtk-developers > > -- William J. Schroeder, PhD Kitware, Inc. - Building the World's Technical Computing Software 28 Corporate Drive Clifton Park, NY 12065 will.schroeder at kitware.com http://www.kitware.com (518) 881-4902 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Mar 1 09:40:17 2019 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 1 Mar 2019 09:40:17 -0500 Subject: [vtk-developers] [vtkusers] Fwd: VTK Discourse forum is now available In-Reply-To: References: Message-ID: The harm of keeping the list open is in splitting the attention of the community. Note that when we close the mailing list, we really mean "turn off the ability to post anything new to it". I think with some sort of response that directs people who try to discourse. The archives will still be available forever. David E DeMarle Kitware, Inc. Principal Engineer On Fri, Mar 1, 2019 at 7:09 AM Will Schroeder via vtkusers wrote: > Bill brings up many good points. In particular references to the old > mailing lists and such. I am a big fan of making information available > through multiple access vectors so it can be found and accessed through > different means. > > On Thu, Feb 28, 2019 at 6:54 PM Bill Lorensen > wrote: > >> I'm not sure retiring id a good idea. >> >> For example stack overflow mirrors the lists. >> >> The lists are mentioned in many web pages. >> >> Also, I use LastPass for password manager and its a PIA to login just to >> give a dimple answer. Especially on my phone. >> >> What is the harm in keeping the lists? >> >> On Thu, Feb 28, 2019, 1:13 PM Cory Quammen via vtk-developers < >> vtk-developers at vtk.org> wrote: >> >>> Hi folks, >>> >>> Just a reminder that the mailing lists vtkusers at vtk.org and >>> vtk-developers at vtk.org will be retired at some point this year. Please >>> post new questions and topics on https://discourse.vtk.org >>> >>> Details are available in the forwarded message below. >>> >>> Thank you, >>> Cory >>> >>> ---------- Forwarded message --------- >>> From: Cory Quammen >>> Date: Mon, Jan 21, 2019 at 10:22 AM >>> Subject: VTK Discourse forum is now available >>> To: vtkusers , VTK Developers >>> >>> >>> Hello VTK community, >>> >>> Following up on our previous discussion about transitioning the VTK >>> mailing lists to Discourse [1], we now have a Discourse forum ready to >>> use to discuss all things VTK. You can find it at >>> >>> https://discourse.vtk.org/ >>> >>> You can sign up for the web site using your Google or GitHub accounts >>> if you prefer, otherwise you can register with a user name and >>> password. >>> >>> Please try it out and leave any feedback you might have under the >>> "Site Feedback" category (https://discourse.vtk.org/c/site-feedback) >>> on the site. >>> >>> To set up Discourse in mailing list mode, please see: >>> >>> https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ >>> >>> While we expect the bulk of VTK-related discussion to transition to >>> Discourse fairly rapidly in the near term, the current >>> vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will remain >>> active until at least the middle of 2019, and the archives from these >>> lists will remain available after that. >>> >>> See you on discourse.vtk.org! >>> >>> Thanks, >>> Cory >>> >>> [1] https://markmail.org/thread/2dricthoo3ugw7jv >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=vtk-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://vtk.org/mailman/listinfo/vtk-developers >>> >>> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q=vtk-developers >> >> Follow this link to subscribe/unsubscribe: >> https://vtk.org/mailman/listinfo/vtk-developers >> >> > > -- > William J. Schroeder, PhD > Kitware, Inc. - Building the World's Technical Computing Software > 28 Corporate Drive > Clifton Park, NY 12065 > will.schroeder at kitware.com > http://www.kitware.com > (518) 881-4902 > _______________________________________________ > 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: > https://vtk.org/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elvis.stansvik at orexplore.com Fri Mar 1 09:54:28 2019 From: elvis.stansvik at orexplore.com (Elvis Stansvik) Date: Fri, 1 Mar 2019 15:54:28 +0100 Subject: [vtk-developers] [vtkusers] Fwd: VTK Discourse forum is now available In-Reply-To: References: Message-ID: Den fre 1 mars 2019 kl 15:40 skrev David E DeMarle via vtkusers : > > The harm of keeping the list open is in splitting the attention of the community. > > Note that when we close the mailing list, we really mean "turn off the ability to post anything new to it". I think with some sort of response that directs people who try to discourse. The archives will still be available forever. +1 (In Qt they recently had a debacle where they accidentally regenererated their ML archives, creating broken links all over the place (forums, commit messages, bug reports et.c.) and had to back out and restore it.) Elvis > > David E DeMarle > Kitware, Inc. > Principal Engineer > > > On Fri, Mar 1, 2019 at 7:09 AM Will Schroeder via vtkusers wrote: >> >> Bill brings up many good points. In particular references to the old mailing lists and such. I am a big fan of making information available through multiple access vectors so it can be found and accessed through different means. >> >> On Thu, Feb 28, 2019 at 6:54 PM Bill Lorensen wrote: >>> >>> I'm not sure retiring id a good idea. >>> >>> For example stack overflow mirrors the lists. >>> >>> The lists are mentioned in many web pages. >>> >>> Also, I use LastPass for password manager and its a PIA to login just to give a dimple answer. Especially on my phone. >>> >>> What is the harm in keeping the lists? >>> >>> On Thu, Feb 28, 2019, 1:13 PM Cory Quammen via vtk-developers wrote: >>>> >>>> Hi folks, >>>> >>>> Just a reminder that the mailing lists vtkusers at vtk.org and vtk-developers at vtk.org will be retired at some point this year. Please post new questions and topics on https://discourse.vtk.org >>>> >>>> Details are available in the forwarded message below. >>>> >>>> Thank you, >>>> Cory >>>> >>>> ---------- Forwarded message --------- >>>> From: Cory Quammen >>>> Date: Mon, Jan 21, 2019 at 10:22 AM >>>> Subject: VTK Discourse forum is now available >>>> To: vtkusers , VTK Developers >>>> >>>> >>>> Hello VTK community, >>>> >>>> Following up on our previous discussion about transitioning the VTK >>>> mailing lists to Discourse [1], we now have a Discourse forum ready to >>>> use to discuss all things VTK. You can find it at >>>> >>>> https://discourse.vtk.org/ >>>> >>>> You can sign up for the web site using your Google or GitHub accounts >>>> if you prefer, otherwise you can register with a user name and >>>> password. >>>> >>>> Please try it out and leave any feedback you might have under the >>>> "Site Feedback" category (https://discourse.vtk.org/c/site-feedback) >>>> on the site. >>>> >>>> To set up Discourse in mailing list mode, please see: >>>> >>>> https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ >>>> >>>> While we expect the bulk of VTK-related discussion to transition to >>>> Discourse fairly rapidly in the near term, the current >>>> vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will remain >>>> active until at least the middle of 2019, and the archives from these >>>> lists will remain available after that. >>>> >>>> See you on discourse.vtk.org! >>>> >>>> Thanks, >>>> Cory >>>> >>>> [1] https://markmail.org/thread/2dricthoo3ugw7jv >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q=vtk-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> https://vtk.org/mailman/listinfo/vtk-developers >>>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q=vtk-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://vtk.org/mailman/listinfo/vtk-developers >>> >> >> >> -- >> William J. Schroeder, PhD >> Kitware, Inc. - Building the World's Technical Computing Software >> 28 Corporate Drive >> Clifton Park, NY 12065 >> will.schroeder at kitware.com >> http://www.kitware.com >> (518) 881-4902 >> _______________________________________________ >> 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: >> https://vtk.org/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: > https://vtk.org/mailman/listinfo/vtkusers From cory.quammen at kitware.com Fri Mar 1 10:08:56 2019 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 1 Mar 2019 10:08:56 -0500 Subject: [vtk-developers] Fwd: VTK Discourse forum is now available In-Reply-To: References: Message-ID: On Thu, Feb 28, 2019 at 6:54 PM Bill Lorensen wrote: > I'm not sure retiring id a good idea. > > For example stack overflow mirrors the lists. > I think you mean MarkMail? I don't think Stack Overflow mirrors mailing lists. > The lists are mentioned in many web pages. > vtk.org/mailing-lists now redirects to vtk.org/community-support, taking care of those links. For other links, we can add text to the email list signup pages (e.g. https://vtk.org/mailman/listinfo/vtkusers) directing people to Discourse. > Also, I use LastPass for password manager and its a PIA to login just to > give a dimple answer. Especially on my phone. > You should be able to reply to emails and it will post on Discourse, no login required. > What is the harm in keeping the lists? > Having more VTK support sites diffuses VTK knowledge and splits the community. Having more sites/lists makes it harder for people with questions to search for answers in previous posts. I realize that is also an argument for not having started the VTK Discourse at all, but I think the advantages of Discourse (which we can and have debated) are greater than that of the mailing list. Cory > > On Thu, Feb 28, 2019, 1:13 PM Cory Quammen via vtk-developers < > vtk-developers at vtk.org> wrote: > >> Hi folks, >> >> Just a reminder that the mailing lists vtkusers at vtk.org and >> vtk-developers at vtk.org will be retired at some point this year. Please >> post new questions and topics on https://discourse.vtk.org >> >> Details are available in the forwarded message below. >> >> Thank you, >> Cory >> >> ---------- Forwarded message --------- >> From: Cory Quammen >> Date: Mon, Jan 21, 2019 at 10:22 AM >> Subject: VTK Discourse forum is now available >> To: vtkusers , VTK Developers >> >> >> Hello VTK community, >> >> Following up on our previous discussion about transitioning the VTK >> mailing lists to Discourse [1], we now have a Discourse forum ready to >> use to discuss all things VTK. You can find it at >> >> https://discourse.vtk.org/ >> >> You can sign up for the web site using your Google or GitHub accounts >> if you prefer, otherwise you can register with a user name and >> password. >> >> Please try it out and leave any feedback you might have under the >> "Site Feedback" category (https://discourse.vtk.org/c/site-feedback) >> on the site. >> >> To set up Discourse in mailing list mode, please see: >> >> https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ >> >> While we expect the bulk of VTK-related discussion to transition to >> Discourse fairly rapidly in the near term, the current >> vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will remain >> active until at least the middle of 2019, and the archives from these >> lists will remain available after that. >> >> See you on discourse.vtk.org! >> >> Thanks, >> Cory >> >> [1] https://markmail.org/thread/2dricthoo3ugw7jv >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q=vtk-developers >> >> Follow this link to subscribe/unsubscribe: >> https://vtk.org/mailman/listinfo/vtk-developers >> >> -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.schroeder at kitware.com Fri Mar 1 10:32:40 2019 From: will.schroeder at kitware.com (Will Schroeder) Date: Fri, 1 Mar 2019 10:32:40 -0500 Subject: [vtk-developers] Fwd: VTK Discourse forum is now available In-Reply-To: References: Message-ID: I think my biggest concern is references to the old lists, including places in mailman where you can sign up. For me, a search of "vtk mailing lists" brings up the mailman user signup list #2 in the rankings: vtkusers Info Page and #3 in the rankings: vtk.org Mailing Lists with links to the user, developer, and vtkm lists. (Fortunately the #1 ranking is the Community Support | VTK page which links to the forums which is great.) Also I suspect that there are external courses, presentations, notes, etc. out there which refer to the mailman list(s). So I suggest that these mailman-related sign up sites etc are modified with with an informative redirect to VTK resources especially the forums. Right now you can sign up and it initially acts like expected..... this might generate some frustration in an unsuspecting user. On Fri, Mar 1, 2019 at 10:09 AM Cory Quammen via vtk-developers < vtk-developers at vtk.org> wrote: > On Thu, Feb 28, 2019 at 6:54 PM Bill Lorensen > wrote: > >> I'm not sure retiring id a good idea. >> >> For example stack overflow mirrors the lists. >> > > I think you mean MarkMail? I don't think Stack Overflow mirrors mailing > lists. > > >> The lists are mentioned in many web pages. >> > > vtk.org/mailing-lists now redirects to vtk.org/community-support, taking > care of those links. For other links, we can add text to the email list > signup pages (e.g. https://vtk.org/mailman/listinfo/vtkusers) directing > people to Discourse. > > >> Also, I use LastPass for password manager and its a PIA to login just to >> give a dimple answer. Especially on my phone. >> > > You should be able to reply to emails and it will post on Discourse, no > login required. > > >> What is the harm in keeping the lists? >> > > Having more VTK support sites diffuses VTK knowledge and splits the > community. Having more sites/lists makes it harder for people with > questions to search for answers in previous posts. I realize that is also > an argument for not having started the VTK Discourse at all, but I think > the advantages of Discourse (which we can and have debated) are greater > than that of the mailing list. > > Cory > > >> >> On Thu, Feb 28, 2019, 1:13 PM Cory Quammen via vtk-developers < >> vtk-developers at vtk.org> wrote: >> >>> Hi folks, >>> >>> Just a reminder that the mailing lists vtkusers at vtk.org and >>> vtk-developers at vtk.org will be retired at some point this year. Please >>> post new questions and topics on https://discourse.vtk.org >>> >>> Details are available in the forwarded message below. >>> >>> Thank you, >>> Cory >>> >>> ---------- Forwarded message --------- >>> From: Cory Quammen >>> Date: Mon, Jan 21, 2019 at 10:22 AM >>> Subject: VTK Discourse forum is now available >>> To: vtkusers , VTK Developers >>> >>> >>> Hello VTK community, >>> >>> Following up on our previous discussion about transitioning the VTK >>> mailing lists to Discourse [1], we now have a Discourse forum ready to >>> use to discuss all things VTK. You can find it at >>> >>> https://discourse.vtk.org/ >>> >>> You can sign up for the web site using your Google or GitHub accounts >>> if you prefer, otherwise you can register with a user name and >>> password. >>> >>> Please try it out and leave any feedback you might have under the >>> "Site Feedback" category (https://discourse.vtk.org/c/site-feedback) >>> on the site. >>> >>> To set up Discourse in mailing list mode, please see: >>> >>> https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ >>> >>> While we expect the bulk of VTK-related discussion to transition to >>> Discourse fairly rapidly in the near term, the current >>> vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will remain >>> active until at least the middle of 2019, and the archives from these >>> lists will remain available after that. >>> >>> See you on discourse.vtk.org! >>> >>> Thanks, >>> Cory >>> >>> [1] https://markmail.org/thread/2dricthoo3ugw7jv >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: >>> http://markmail.org/search/?q=vtk-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> https://vtk.org/mailman/listinfo/vtk-developers >>> >>> > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=vtk-developers > > Follow this link to subscribe/unsubscribe: > https://vtk.org/mailman/listinfo/vtk-developers > > -- William J. Schroeder, PhD Kitware, Inc. - Building the World's Technical Computing Software 28 Corporate Drive Clifton Park, NY 12065 will.schroeder at kitware.com http://www.kitware.com (518) 881-4902 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosam.alsofi at gmail.com Wed Mar 6 09:35:26 2019 From: hosam.alsofi at gmail.com (Hosam S) Date: Wed, 6 Mar 2019 15:35:26 +0100 Subject: [vtk-developers] INTERPOLATE ON STL: Plotting scalar field on 50 points on An 70000-points STL surface Message-ID: Hello, I have an STL surface file. The data were sampled on 50 selected points only (wind tunnel test). I want to visualize the field as a contour on the STL file. I know basic stuff on how to use VTK python library. But this task I want it involves: - interpolating the field inside the probes-area - extrapolating outside the probes-area - then creating the final VTK file. - maybe triangulation is also needed.. OR, there might be a crazy filter in paraview that can do the whole thing! Any help would be appreciated.. HFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosam.alsofi at gmail.com Wed Mar 6 09:41:41 2019 From: hosam.alsofi at gmail.com (Hosam S) Date: Wed, 6 Mar 2019 15:41:41 +0100 Subject: [vtk-developers] INTERPOLATE ON STL: Plotting scalar field on 50 points on An 70000-points STL surface In-Reply-To: References: Message-ID: I am re-sending this since it was rejected before the subscription was accepted. Sorry about that. HFS On Wed, Mar 6, 2019 at 3:35 PM Hosam S wrote: > Hello, > > I have an STL surface file. The data were sampled on 50 selected points > only > (wind tunnel test). > I want to visualize the field as a contour on the STL file. > > I know basic stuff on how to use VTK python library. But this task I want > it > involves: > - interpolating the field inside the probes-area > - extrapolating outside the probes-area > - then creating the final VTK file. > - maybe triangulation is also needed.. > > OR, there might be a crazy filter in paraview that can do the whole thing! > > Any help would be appreciated.. > > HFS > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richardander at yahoo.com Thu Mar 7 15:39:53 2019 From: richardander at yahoo.com (richard anderson) Date: Thu, 7 Mar 2019 13:39:53 -0700 (MST) Subject: [vtk-developers] vtkImageReslice: can not get slice, extent[6] are all 0 Message-ID: <1551991193488-0.post@n5.nabble.com> Hello, I have a series of images, each of which stores its pixel data (double) in m_pImagePixel. I would like to get the slice along x, y and z directions at center of pixel data block. Following are what I did. 1. create image pixel data of whole series : p3DImageData. 2. use vtkImageImporter to load p3DImageData; 3. use vtkImageReslice to get data from vtkImageImporter; 4. get slice along x,y,z. Following is the code. I used three 4x4 matrix to change direction and get images by using the same m_reslice. However, (1) the extent[6] are 0, regardless which direction is used; (2) when axialElements is used, I can get correct pixel data for display. But using coronalElements and sagittalElements generate messy pixel data in slice; Please help point out what is wrong in my code. Thank you! //static double coronalElements[16] = { // 1, 0, 0, 0, // 0, 0, 1, 0, // 0,-1, 0, 0, // 0, 0, 0, 1 }; // static double sagittalElements[16] = { // 0, 0,-1, 0, // 1, 0, 0, 0, // 0,-1, 0, 0, // 0, 0, 0, 1 }; // Prepare image pixel; double * p3DImageData = new double [ image_width * image_height * image_depth ]; for(int idx=0; idxm_pImagePixel) pImage->LoadPixelData(); memcpy( p3DImageData + imageSize*idx, pImage->m_pImagePixel, imageSize * sizeof(double) ); } // Create image importer vtkSmartPointer imageImporter = vtkSmartPointer::New(); imageImporter->SetWholeExtent(0, image_width-1, 0, image_height-1, 0, image_depth-1); imageImporter->SetDataExtentToWholeExtent(); imageImporter->SetDataScalarTypeToDouble(); imageImporter->SetImportVoidPointer((void *) p3DImageData ); imageImporter->Update(); imageImporter->GetOutput()->GetExtent(m_extent); imageImporter->GetOutput()->GetSpacing(m_spacing); imageImporter->GetOutput()->GetOrigin(m_origin); // Get reslice data; vtkSmartPointer m_reslice = vtkSmartPointer::New(); m_reslice->SetInputConnection(imageImporter->GetOutputPort()); center[0] = m_origin[0] + m_spacing[0] * 0.5 * (m_extent[0] + m_extent[1]); center[1] = m_origin[1] + m_spacing[1] * 0.5 * (m_extent[2] + m_extent[3]); center[2] = m_origin[2] + m_spacing[2] * 0.5 * (m_extent[4] + m_extent[5]); static double axialElements[16] = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 }; // Set the slice orientation and center vtkSmartPointer resliceAxes = vtkSmartPointer::New(); resliceAxes->DeepCopy(axialElements); resliceAxes->SetElement(0, 3, center[0]); resliceAxes->SetElement(1, 3, center[1]); resliceAxes->SetElement(2, 3, center[2]); m_reslice->SetOutputDimensionality(2); m_reslice->SetResliceAxes(resliceAxes); m_reslice->SetInterpolationModeToLinear(); m_reslice->Update(); int extent[6]; m_reslice->GetOutputExtent(extent); void * p = m_reslice->GetOutput()->GetScalarPointer(); memcpy( pAxialSliceData, (double *)p, image_width * image_height* sizeof(double) ); // when changed to coronal or sagital directions, differnet 4x4 matrix is used and memcpy() will use image_width * image_depth * sizeof (double) and image_height * image_depth * sizeof (double) respectively . -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html From richardander at yahoo.com Sat Mar 9 12:42:01 2019 From: richardander at yahoo.com (richard anderson) Date: Sat, 9 Mar 2019 10:42:01 -0700 (MST) Subject: [vtk-developers] vtkImageReslice: can not get slice, extent[6] are all 0 In-Reply-To: <1551991193488-0.post@n5.nabble.com> References: <1551991193488-0.post@n5.nabble.com> Message-ID: <1552153321457-0.post@n5.nabble.com> Can anyone find the problems? -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html From bruno.santos at bluecape.com.pt Mon Mar 11 07:48:53 2019 From: bruno.santos at bluecape.com.pt (Bruno Santos) Date: Mon, 11 Mar 2019 11:48:53 +0000 Subject: [vtk-developers] vtkImageReslice: can not get slice, extent[6] are all 0 In-Reply-To: <1552153321457-0.post@n5.nabble.com> References: <1551991193488-0.post@n5.nabble.com> <1552153321457-0.post@n5.nabble.com> Message-ID: <2cd89925-e5f2-b716-eebf-c3d03bb4bace@bluecape.com.pt> Quoting from an email from a couple of weeks ago: -------- Forwarded Message -------- Subject: [vtk-developers] Fwd: VTK Discourse forum is now available Date: Thu, 28 Feb 2019 16:13:04 -0500 From: Cory Quammen via vtk-developers Reply-To: Cory Quammen To: vtkusers , VTK Developers Hi folks, Just a reminder that the mailing lists vtkusers at vtk.org and vtk-developers at vtk.org will be retired at some point this year. Please post new questions and topics on https://discourse.vtk.org Details are available in the forwarded message below. Thank you, Cory On 09/03/2019 17:42, richard anderson via vtk-developers wrote: > Can anyone find the problems? > > > > -- > Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=vtk-developers > > Follow this link to subscribe/unsubscribe: > https://vtk.org/mailman/listinfo/vtk-developers > > -- www.bluecape.com.pt an FS Dynamics company FSD blueCAPE Lda Rua Fonte dos Corvos 29 Casais da Serra 2665-305 Milharado PORTUGAL T: (+351) 926 008 657 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.santos at bluecape.com.pt Mon Mar 11 07:48:27 2019 From: bruno.santos at bluecape.com.pt (Bruno Santos) Date: Mon, 11 Mar 2019 11:48:27 +0000 Subject: [vtk-developers] INTERPOLATE ON STL: Plotting scalar field on 50 points on An 70000-points STL surface In-Reply-To: References: Message-ID: <82027803-7ed2-85ac-cee2-7f537338f366@bluecape.com.pt> Quoting from an email from a couple of weeks ago: -------- Forwarded Message -------- Subject: [vtk-developers] Fwd: VTK Discourse forum is now available Date: Thu, 28 Feb 2019 16:13:04 -0500 From: Cory Quammen via vtk-developers Reply-To: Cory Quammen To: vtkusers , VTK Developers Hi folks, Just a reminder that the mailing lists vtkusers at vtk.org and vtk-developers at vtk.org will be retired at some point this year. Please post new questions and topics on https://discourse.vtk.org Details are available in the forwarded message below. Thank you, Cory On 06/03/2019 14:41, Hosam S wrote: > I am re-sending this since it was rejected before the subscription was > accepted. > Sorry about?that. > > HFS > > On Wed, Mar 6, 2019 at 3:35 PM Hosam S > wrote: > > Hello, > > I have an STL surface file. The data were sampled on 50 selected > points only > (wind tunnel test). > I want to visualize the field as a contour on the STL file. > > I know basic stuff on how to use VTK python library. But this task > I want it > involves: > - interpolating the field inside the probes-area > - extrapolating outside the probes-area > - then creating the final VTK file. > - maybe triangulation is also needed.. > > OR, there might be a crazy filter in paraview that can do the > whole thing! > > Any help would be appreciated.. > > HFS > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=vtk-developers > > Follow this link to subscribe/unsubscribe: > https://vtk.org/mailman/listinfo/vtk-developers > -- www.bluecape.com.pt an FS Dynamics company FSD blueCAPE Lda Rua Fonte dos Corvos 29 Casais da Serra 2665-305 Milharado PORTUGAL T: (+351) 926 008 657 -------------- next part -------------- An HTML attachment was scrubbed... URL: From drouin.simon at gmail.com Fri Mar 15 18:28:45 2019 From: drouin.simon at gmail.com (Simon Drouin) Date: Fri, 15 Mar 2019 18:28:45 -0400 Subject: [vtk-developers] Running tests locally Message-ID: Hi all, I'm new to testing VTK. I'm having trouble running tests locally (static build of master on macOS 10.14). A bunch of tests fail because opengl implementation of classes are not available, e.g.: [image: image.png] Others crash on failing to create instances of vtkGPUInfoList for example. I guess I'm doing something that causes some modules not to be initialized properly when testing, but what? Could this be related to the new module system? Thanks in advance. s. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 127390 bytes Desc: not available URL: From david.gobbi at gmail.com Sat Mar 16 09:42:25 2019 From: david.gobbi at gmail.com (David Gobbi) Date: Sat, 16 Mar 2019 07:42:25 -0600 Subject: [vtk-developers] Running tests locally In-Reply-To: References: Message-ID: Hi Simon, I just ran ctest on a static build of master on my laptop (macOS 10.14 with Xcode 10.1) and didn't see any failures due to missing implementation classes. As long as VTK::RenderingOpenGL2 is in the TEST_DEPENDS section for a module, the linking and auto-initialization of the factories for the test executables should happen automatically. One caveat: I set CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 for my build, but I doubt that this would change anything. David On Fri, Mar 15, 2019 at 4:29 PM Simon Drouin wrote: > Hi all, > > I'm new to testing VTK. I'm having trouble running tests locally (static > build of master on macOS 10.14). A bunch of tests fail because opengl > implementation of classes are not available, e.g.: > > [image: image.png] > > Others crash on failing to create instances of vtkGPUInfoList for example. > I guess I'm doing something that causes some modules not to be initialized > properly when testing, but what? > > Could this be related to the new module system? > > Thanks in advance. > > s. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 127390 bytes Desc: not available URL: From zionman.hsu at gmail.com Sun Mar 17 23:34:29 2019 From: zionman.hsu at gmail.com (=?UTF-8?B?5b6Q5b+XIOiPrw==?=) Date: Mon, 18 Mar 2019 11:34:29 +0800 Subject: [vtk-developers] The vtkLSDynaReader seems not support newly announced ICFD and cese solver Message-ID: The vtkLSDynaReader class seems not support D3PLOT files written by ICFD and cese solvers. The 2017 version of LS-DYNA Database Binary Output files manual enscripts the 57th word of control data as EXTRA Control words number, of which was stated as null parameters in previous version of that manual. The EXTRA words are used by the newly announced solvers for their outputs, but seems not handled by vtkLSDynaReader class. Zionman Hsu -------------- next part -------------- An HTML attachment was scrubbed... URL: From drouin.simon at gmail.com Mon Mar 18 09:42:03 2019 From: drouin.simon at gmail.com (Simon Drouin) Date: Mon, 18 Mar 2019 09:42:03 -0400 Subject: [vtk-developers] HeaderTesting Message-ID: Hi all, Is there documentation about header include rules somewhere? One of my questions: some of my HeaderTest fail because there is more than one include in the header, even though many header files in VTK include more than one header without generating an error. For example, I have a header file with those includes: #include "vtkRenderingCoreModule.h" // For export macro #include "vtkObject.h" #include "vtkNew.h" which causes the test to fail. But many other header files have even more, e.g. vtkVolumeProperty.h: #include "vtkNew.h" // Needed for vtkNew #include "vtkRenderingCoreModule.h" // For export macro #include "vtkObject.h" and do not fail the HeaderTesting. Does the order matter? The test report says there are 2 includes, not counting "vtkRenderingCoreModule.h", I guess this one is never included in the count? There must be something obvious here that I don't see, but what? Thanks in advance. s. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Mon Mar 18 10:00:47 2019 From: ken.martin at kitware.com (Ken Martin) Date: Mon, 18 Mar 2019 10:00:47 -0400 Subject: [vtk-developers] HeaderTesting In-Reply-To: References: Message-ID: Not sure about the documentation (other than looking at the test code). But for that specific problem, only one include is allowed that doesn't have a comment after it explaining why it is included. So just add short comments, that is the trick. On Mon, Mar 18, 2019 at 9:42 AM Simon Drouin wrote: > Hi all, > > Is there documentation about header include rules somewhere? > > One of my questions: some of my HeaderTest fail because there is more than > one include in the header, even though many header files in VTK include > more than one header without generating an error. For example, I have a > header file with those includes: > > #include "vtkRenderingCoreModule.h" // For export macro > #include "vtkObject.h" > #include "vtkNew.h" > > which causes the test to fail. But many other header files have even more, > e.g. vtkVolumeProperty.h: > > #include "vtkNew.h" // Needed for vtkNew > #include "vtkRenderingCoreModule.h" // For export macro > #include "vtkObject.h" > > and do not fail the HeaderTesting. > > Does the order matter? The test report says there are 2 includes, not > counting "vtkRenderingCoreModule.h", I guess this one is never included in > the count? There must be something obvious here that I don't see, but what? > > Thanks in advance. > > s. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=vtk-developers > > Follow this link to subscribe/unsubscribe: > https://vtk.org/mailman/listinfo/vtk-developers > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 101 East Weaver Street Carrboro, North Carolina 27510 USA This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Mar 26 13:08:27 2019 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 26 Mar 2019 13:08:27 -0400 Subject: [vtk-developers] Reminder: VTK community support is now provided on discourse.vtk.org Message-ID: Hello VTK community, This is a reminder that the mailing lists vtkusers at vtk.org and vtk-developers at vtk.org will be closed to new posts in the near future. Please post new questions and topics on https://discourse.vtk.org. You can sign up for the web site using your Google or GitHub accounts if you prefer, otherwise you can register with a user name and password. To set up Discourse in mailing list mode, please see: https://discourse.vtk.org/t/using-discourse-as-a-mailing-list/ The current vtkusers at vtk.org and vtk-developers at vtk.org mailing lists will accept new posts until the middle of 2019, and the archives from these lists will remain available after that. However, the bulk of VTK discussion and community support is now happening on https://discourse.vtk.org/. See you on discourse.vtk.org! Thanks, Cory -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alfonso_Z.R at hotmail.com Tue Mar 26 14:32:32 2019 From: Alfonso_Z.R at hotmail.com (AlfonsoZR) Date: Tue, 26 Mar 2019 11:32:32 -0700 (MST) Subject: [vtk-developers] Reading multiple vtp files in directory Message-ID: <1553625152412-0.post@n5.nabble.com> Hello, I'm trying to read and render multiple files in a directory (when combined they form an object). But so far I'm getting the following error: *ERROR: In D:\VTK\VTK-src\IO\XML\vtkXMLReader.cxx, line 283 vtkXMLPolyDataReader (00D1B560): Error opening file D:\3d models\Dist\. ERROR: In D:\VTK\VTK-src\Common\ExecutionModel\vtkExecutive.cxx, line 782 vtkCompositeDataPipeline (00CC2078): Algorithm vtkXMLPolyDataReader(00D1B560) returned failure for request: vtkInformation (00D20688) Debug: Off Modified Time: 8721 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA FORWARD_DIRECTION: 0 ALGORITHM_AFTER_FORWARD: 1 FROM_OUTPUT_PORT: 0 * This is the code I'm currenty working on: * int main(int argc, char *argv[]) { std::string directoryName = "D:\\3d models\\Dist\\" ; vtkSmartPointer directory = vtkSmartPointer::New(); int opened = directory->Open(directoryName.c_str()); if(!opened) { std::cout << "No es posible abrir este directorio!" << std::endl; return EXIT_FAILURE; } int numberOfFiles = directory->GetNumberOfFiles(); std::cout << "NUmero de archivos: " << numberOfFiles << std::endl; for (int i = 0; i < numberOfFiles; i++) { std::string fileString = directoryName; ////fileString += "/"; fileString += directory->GetFile(i); std::string ext = vtksys::SystemTools::GetFilenameLastExtension(fileString); std::cout << fileString.c_str() << " extension: " << ext << std::endl; std::string name = vtksys::SystemTools::GetFilenameWithoutLastExtension(fileString); std::cout << "nombre: " << name << std::endl; const char*cstr = fileString.c_str(); std::cout << cstr << endl; vtkSmartPointer reader = vtkSmartPointer::New(); reader->SetFileName(cstr); reader->Update(); reader->GetOutput(); vtkSmartPointer transform = vtkSmartPointer::New(); transform->Scale(.005, .005, .005); vtkSmartPointer transformFilter = vtkSmartPointer::New(); transformFilter->SetInputConnection(reader->GetOutputPort()); transformFilter->SetTransform(transform); // Visualizar vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(transformFilter->GetOutputPort()); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetPosition(1.1, .5, .1); actor->SetMapper(mapper); vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); vtkNew cam; renderer->SetActiveCamera(cam); renderer->AddActor(actor); renderer->SetBackground(.2, .3, .4); renderWindow->Render(); renderWindowInteractor->Start(); } return EXIT_SUCCESS; }* When it comes to reading the contents of the folder I have no troubles, the path is correct and I'm using the correct reader for the vtp files. I can't figure out what is wrong with my program. I've used several break points and so far what i've noticed is that the reading procces in the for loop only goes as far as the first file in my folder, then it stops and renders nothing. Any ideas on what could be going wrong? -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html