From hans_meine at gmx.net Wed Nov 5 08:49:02 2014 From: hans_meine at gmx.net (Hans Meine) Date: Wed, 5 Nov 2014 14:49:02 +0100 Subject: [Ctk-developers] CLI module documentation Message-ID: <9B71FF94-1AC2-4A09-86EE-EC8FB69D9068@gmx.net> Hi, since I was repeatly missing an introductory resource for CLI modules (in particular, when telling people outside the Slicer/CTK communities about the CLI module idea), with a general explanation, as well as pointers to all relevant information, I just created http://www.commontk.org/index.php/Documentation/Command_Line_Interface as a ?portal page?. Please point people to that in order to explain the idea of CLI modules, and feel free to add more links to additional resources and information. Furthermore, I added a pointer to this mailiing list, too, in case someone wants to discuss changes/amendments to the spec. Best regards Hans From julien.finet at kitware.com Wed Nov 5 09:01:12 2014 From: julien.finet at kitware.com (Julien Finet) Date: Wed, 5 Nov 2014 15:01:12 +0100 Subject: [Ctk-developers] CLI module documentation In-Reply-To: <9B71FF94-1AC2-4A09-86EE-EC8FB69D9068@gmx.net> References: <9B71FF94-1AC2-4A09-86EE-EC8FB69D9068@gmx.net> Message-ID: That's great Hans, well done! I would suggest adding a simple diagram that summarizes what CLIs do. It can be very helpful for people foreign to the concept. Maybe Steve has an old Slicer diagram that could be cleaned up? My 2 cents, Julien. On Wed, Nov 5, 2014 at 2:49 PM, Hans Meine wrote: > Hi, > > since I was repeatly missing an introductory resource for CLI modules (in > particular, when telling people outside the Slicer/CTK communities about > the CLI module idea), with a general explanation, as well as pointers to > all relevant information, I just created > http://www.commontk.org/index.php/Documentation/Command_Line_Interface as > a ?portal page?. Please point people to that in order to explain the idea > of CLI modules, and feel free to add more links to additional resources and > information. > > Furthermore, I added a pointer to this mailiing list, too, in case someone > wants to discuss changes/amendments to the spec. > > Best regards > Hans > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at public.kitware.com > http://public.kitware.com/mailman/listinfo/ctk-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pieper at isomics.com Wed Nov 5 09:45:23 2014 From: pieper at isomics.com (Steve Pieper) Date: Wed, 5 Nov 2014 09:45:23 -0500 Subject: [Ctk-developers] CLI module documentation In-Reply-To: References: <9B71FF94-1AC2-4A09-86EE-EC8FB69D9068@gmx.net> Message-ID: This figure illustrates how CLIs can run either as a shared library (inside the box) or as an executable using different IO. Mechanisms. The other figure shows the processing threads being isolated from the GUI thread using a mutex locked message queue. There are some other figures in these slides that might be helpful. http://www.na-mic.org/Wiki/images/7/7e/AHM_2014_Engineering_Retrospective.pptx It might be good to draw newer figures though, since these are looking a bit dated. -Steve [image: Inline image 3] [image: Inline image 4] On Wed, Nov 5, 2014 at 9:01 AM, Julien Finet wrote: > That's great Hans, well done! > > I would suggest adding a simple diagram that summarizes what CLIs do. It > can be very helpful for people foreign to the concept. > > Maybe Steve has an old Slicer diagram that could be cleaned up? > > My 2 cents, > Julien. > > > > On Wed, Nov 5, 2014 at 2:49 PM, Hans Meine wrote: > >> Hi, >> >> since I was repeatly missing an introductory resource for CLI modules (in >> particular, when telling people outside the Slicer/CTK communities about >> the CLI module idea), with a general explanation, as well as pointers to >> all relevant information, I just created >> http://www.commontk.org/index.php/Documentation/Command_Line_Interface >> as a ?portal page?. Please point people to that in order to explain the >> idea of CLI modules, and feel free to add more links to additional >> resources and information. >> >> Furthermore, I added a pointer to this mailiing list, too, in case >> someone wants to discuss changes/amendments to the spec. >> >> Best regards >> Hans >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at public.kitware.com >> http://public.kitware.com/mailman/listinfo/ctk-developers >> > > > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at public.kitware.com > http://public.kitware.com/mailman/listinfo/ctk-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 127011 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 8460 bytes Desc: not available URL: From ricardo.ortiz at kitware.com Wed Nov 19 10:19:18 2014 From: ricardo.ortiz at kitware.com (Ricardo Ortiz) Date: Wed, 19 Nov 2014 10:19:18 -0500 Subject: [Ctk-developers] ctkTransferFunctionWidget examples Message-ID: Hello folks, Does anyone knows of any examples that use transfer function widgets. I am trying to create a simple histogram widget (and being able to select points within the widget). Thanks in advance, /Ricardo -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricardo.ortiz at kitware.com Wed Nov 19 11:19:21 2014 From: ricardo.ortiz at kitware.com (Ricardo Ortiz) Date: Wed, 19 Nov 2014 11:19:21 -0500 Subject: [Ctk-developers] ctkTransferFunctionWidget examples In-Reply-To: References: Message-ID: To give a bit more context... I am using ctkScalarsToColorsWidget in order to create a color histogram of the displayed volume using a vtkColorTransferFunction. The problem is that the widget is not displaying anything. I am using the widget's view (ctkScalarsToColorsView) and calling setColorTransferFunctionToPlots to update its color transfer function (once I have updated it). Is this the correct way to have the widget display the colors? Thanks in advance, /Ricardo On Wed, Nov 19, 2014 at 10:19 AM, Ricardo Ortiz wrote: > Hello folks, > > Does anyone knows of any examples that use transfer function widgets. I am > trying to create a simple histogram widget (and being able to select points > within the widget). > > Thanks in advance, > > /Ricardo > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.finet at kitware.com Wed Nov 19 12:16:46 2014 From: julien.finet at kitware.com (Julien Finet) Date: Wed, 19 Nov 2014 18:16:46 +0100 Subject: [Ctk-developers] ctkTransferFunctionWidget examples In-Reply-To: References: Message-ID: Hi Ricardo, ctkTransferFunctionWidget is obsolete, please use the VTK charts instead: https://github.com/commontk/CTK/blob/master/Libs/Visualization/VTK/Widgets/ctkVTKChartView.h In your case you might want to use ctkVTKScalarsToColorsWidget Hth, Julien. On Wed, Nov 19, 2014 at 5:19 PM, Ricardo Ortiz wrote: > To give a bit more context... > > I am using ctkScalarsToColorsWidget in order to create a color histogram > of the displayed volume using a vtkColorTransferFunction. > > The problem is that the widget is not displaying anything. > I am using the widget's view (ctkScalarsToColorsView) and > calling setColorTransferFunctionToPlots to update its color transfer > function (once I have updated it). > > Is this the correct way to have the widget display the colors? > > Thanks in advance, > > /Ricardo > > > > On Wed, Nov 19, 2014 at 10:19 AM, Ricardo Ortiz > wrote: > >> Hello folks, >> >> Does anyone knows of any examples that use transfer function widgets. I >> am trying to create a simple histogram widget (and being able to select >> points within the widget). >> >> Thanks in advance, >> >> /Ricardo >> > > > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at public.kitware.com > http://public.kitware.com/mailman/listinfo/ctk-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricardo.ortiz at kitware.com Wed Nov 19 13:19:01 2014 From: ricardo.ortiz at kitware.com (Ricardo Ortiz) Date: Wed, 19 Nov 2014 13:19:01 -0500 Subject: [Ctk-developers] ctkTransferFunctionWidget examples In-Reply-To: References: Message-ID: Hi Julien, Thanks for the feedback... On Wed, Nov 19, 2014 at 12:16 PM, Julien Finet wrote: > Hi Ricardo, > > ctkTransferFunctionWidget is obsolete, please use the VTK charts instead: > > https://github.com/commontk/CTK/blob/master/Libs/Visualization/VTK/Widgets/ctkVTKChartView.h > > In your case you might want to use ctkVTKScalarsToColorsWidget > > This is the widget that I am using (sorry I meant to say ctkVTKScalarsToColorsWidget in the thread below). I am looking at how the Volume Rendering (VolumePropertiesWidget) module is using this widget, and my understanding is that ctkVTKVolumePropertiyWidget (used by VolumePropertiesWidget) uses a vtkColorTransferFunction to update the view. The main problem is that for some reason the widget does not display anything (only white). Here is a snippet of how I update the ctkVTKScalarsToColorsWidget widget (or see the updateTransferFunction() in the attached file): void updateTransferFunction() { ... d->ColorTransferFunction->SetAlpha(1.0); d->ColorTransferFunction->Build(); d->HistogramWidget->view()->setColorTransferFunctionToPlots(d->ColorTransferFunction); } Where d->HistogramWidget is an instance of ctkVTKScalarsToColorsWidget. Thanks, /Ricardo > Hth, > Julien. > > On Wed, Nov 19, 2014 at 5:19 PM, Ricardo Ortiz > wrote: > >> To give a bit more context... >> >> I am using ctkScalarsToColorsWidget in order to create a color histogram >> of the displayed volume using a vtkColorTransferFunction. >> >> The problem is that the widget is not displaying anything. >> I am using the widget's view (ctkScalarsToColorsView) and >> calling setColorTransferFunctionToPlots to update its color transfer >> function (once I have updated it). >> >> Is this the correct way to have the widget display the colors? >> >> Thanks in advance, >> >> /Ricardo >> >> >> >> On Wed, Nov 19, 2014 at 10:19 AM, Ricardo Ortiz < >> ricardo.ortiz at kitware.com> wrote: >> >>> Hello folks, >>> >>> Does anyone knows of any examples that use transfer function widgets. I >>> am trying to create a simple histogram widget (and being able to select >>> points within the widget). >>> >>> Thanks in advance, >>> >>> /Ricardo >>> >> >> >> _______________________________________________ >> Ctk-developers mailing list >> Ctk-developers at public.kitware.com >> http://public.kitware.com/mailman/listinfo/ctk-developers >> >> > ??? qSlicerScalarVolumeIntensitySegmenterHistogramWidget.cxx ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricardo.ortiz at kitware.com Wed Nov 19 14:12:30 2014 From: ricardo.ortiz at kitware.com (Ricardo Ortiz) Date: Wed, 19 Nov 2014 14:12:30 -0500 Subject: [Ctk-developers] ctkTransferFunctionWidget examples In-Reply-To: References: Message-ID: Alright, The problem was in the module widget connection to the volume node... Thanks for your help Julien. /Ricardo On Wed, Nov 19, 2014 at 1:19 PM, Ricardo Ortiz wrote: > Hi Julien, > > Thanks for the feedback... > > On Wed, Nov 19, 2014 at 12:16 PM, Julien Finet > wrote: > >> Hi Ricardo, >> >> ctkTransferFunctionWidget is obsolete, please use the VTK charts instead: >> >> https://github.com/commontk/CTK/blob/master/Libs/Visualization/VTK/Widgets/ctkVTKChartView.h >> >> In your case you might want to use ctkVTKScalarsToColorsWidget >> >> > > This is the widget that I am using (sorry I meant to say > ctkVTKScalarsToColorsWidget in the thread below). > I am looking at how the Volume Rendering (VolumePropertiesWidget) module > is using this widget, and my understanding is that > ctkVTKVolumePropertiyWidget (used by VolumePropertiesWidget) uses a > vtkColorTransferFunction to update the view. > > The main problem is that for some reason the widget does not display > anything (only white). > > Here is a snippet of how I update the ctkVTKScalarsToColorsWidget widget > (or see the updateTransferFunction() in the attached file): > > void updateTransferFunction() > { > ... > d->ColorTransferFunction->SetAlpha(1.0); > d->ColorTransferFunction->Build(); > > > d->HistogramWidget->view()->setColorTransferFunctionToPlots(d->ColorTransferFunction); > } > > Where d->HistogramWidget is an instance of ctkVTKScalarsToColorsWidget. > > Thanks, > > /Ricardo > > >> Hth, >> Julien. >> >> On Wed, Nov 19, 2014 at 5:19 PM, Ricardo Ortiz > > wrote: >> >>> To give a bit more context... >>> >>> I am using ctkScalarsToColorsWidget in order to create a color histogram >>> of the displayed volume using a vtkColorTransferFunction. >>> >>> The problem is that the widget is not displaying anything. >>> I am using the widget's view (ctkScalarsToColorsView) and >>> calling setColorTransferFunctionToPlots to update its color transfer >>> function (once I have updated it). >>> >>> Is this the correct way to have the widget display the colors? >>> >>> Thanks in advance, >>> >>> /Ricardo >>> >>> >>> >>> On Wed, Nov 19, 2014 at 10:19 AM, Ricardo Ortiz < >>> ricardo.ortiz at kitware.com> wrote: >>> >>>> Hello folks, >>>> >>>> Does anyone knows of any examples that use transfer function widgets. I >>>> am trying to create a simple histogram widget (and being able to select >>>> points within the widget). >>>> >>>> Thanks in advance, >>>> >>>> /Ricardo >>>> >>> >>> >>> _______________________________________________ >>> Ctk-developers mailing list >>> Ctk-developers at public.kitware.com >>> http://public.kitware.com/mailman/listinfo/ctk-developers >>> >>> >> ??? > qSlicerScalarVolumeIntensitySegmenterHistogramWidget.cxx > > ? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchris.fillionr at kitware.com Wed Nov 26 10:51:39 2014 From: jchris.fillionr at kitware.com (Jean-Christophe Fillion-Robin) Date: Wed, 26 Nov 2014 10:51:39 -0500 Subject: [Ctk-developers] Fwd: Downtime: www.kitware.com all day Friday In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Jake Stookey Date: Wed, Nov 26, 2014 at 10:49 AM Subject: Downtime: www.kitware.com all day Friday To: kitware-all All, Services on www will be unavailable all day Friday while we upgrade the operating system. This includes web sites, git/svn/cvs repositories, etc. A partial copy of the site will be online with maintenance notifications displayed on critical index pages. The following hostnames will be affected: activiz.kitware.com www.kitware.fr kitware.fr www.commontk.org commontk.org commontkold www.daxtoolkit.org daxtoolkit.org jobs.kitware.com www.kiwiviewer.org kiwiviewer.org www.midasplatform.org midasplatform.org midasplatform.com osa.kitware.com www.viratdata.org viratdata.org volview.com www.volview.com www.volview.org volview.org www.kitware.com kitware.com kitwa.re www.kitwa.re www.kitwarein.com www Jake -- +1 919 869 8849 -------------- next part -------------- An HTML attachment was scrubbed... URL: