[Community] Community Digest, Vol 1, Issue 42

Yang Gao yanggao at cs.utah.edu
Sat Oct 26 02:11:06 EDT 2013


Hi Johnson,

Thanks for your information. I will try it to see. Hopefully there is a new release to fix the problem.

Best,
Yang

On Oct 25, 2013, at 11:06 PM, community-request at itk.org wrote:

> Send Community mailing list submissions to
> 	community at itk.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://public.kitware.com/cgi-bin/mailman/listinfo/community
> or, via email, send a message with subject or body 'help' to
> 	community-request at itk.org
> 
> You can reach the person managing the list at
> 	community-owner at itk.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Community digest..."
> 
> 
> Today's Topics:
> 
>   1. Fail to compile irk on Mac OS X Mavericks with Xcode	5.0.1
>      (yanggao)
>   2. [Insight-developers] Confirmed compiler failure (Johnson, Hans J)
>   3. Re: [Insight-users] QuadEdgeMeshNormalFilter - Outwards	or
>      inwards (Oscar Esteban)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 25 Oct 2013 16:15:51 -0600
> From: yanggao <yanggao at cs.utah.edu>
> Subject: [Community] Fail to compile irk on Mac OS X Mavericks with
> 	Xcode	5.0.1
> To: community at itk.org
> Message-ID: <527f17e70499a0d95b0d036412e06b89 at cs.utah.edu>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Hi,
> 
> I just downloaded the latest itk-4.4.2 and cake-2.8.12, and tried to 
> build itk on Mac OS X Mavericks 10.9 with Xcode 5.0.1.
> 
> For the g++ compiler:
> $ g++ -v
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
> 
> I got the following errors:
> Scanning dependencies of target itkTestDriver
> [ 81%] Building CXX object 
> Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/itkTestDriver.cxx.o
> In file included from 
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/TestKernel/src/itkTestDriver.cxx:29:
> In file included from 
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/TestKernel/include/itkTestDriverIncludeRequiredIOFactories.h:30:
> In file included from 
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/TestKernel/include/itkTestDriverInclude.h:49:
> In file included from 
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/IO/ImageBase/include/itkImageFileWriter.h:227:
> In file included from 
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/IO/ImageBase/include/itkImageFileWriter.hxx:34:
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:51:16: 
> error:
>       no member named 'tr1' in namespace 'std'
>   typedef std::tr1::true_type  TrueType;
>           ~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:52:16: 
> error:
>       no member named 'tr1' in namespace 'std'
>   typedef std::tr1::false_type FalseType;
>           ~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:97:44: 
> error:
>       no member named 'tr1' in namespace 'std'
>                                     , std::tr1::is_pod<typename 
> _ImageTy...
>                                       ~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:97:94: 
> error:
>       expected '(' for function-style cast or type construction
>   ..., std::tr1::is_pod<typename _ImageType::InternalPixelType>()
>                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:97:96: 
> error:
>       expected expression
>   ..., std::tr1::is_pod<typename _ImageType::InternalPixelType>()
>                                                                 ^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:111:44: 
> error:
>       no member named 'tr1' in namespace 'std'
>                                     , std::tr1::is_pod<typename 
> _ImageTy...
>                                       ~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:111:94: 
> error:
>       expected '(' for function-style cast or type construction
>   ..., std::tr1::is_pod<typename _ImageType::InternalPixelType>()
>                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
> /Users/Yang/Developer/src/ITK-4.2.0/Modules/Core/Common/include/itkImageAlgorithm.h:111:96: 
> error:
>       expected expression
>   ..., std::tr1::is_pod<typename _ImageType::InternalPixelType>()
>                                                                 ^
> 8 errors generated.
> make[2]: *** 
> [Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/itkTestDriver.cxx.o] 
> Error 1
> make[1]: *** 
> [Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> How could I fix it?
> Any help would be appreciate it.
> Thanks,
> Yang
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 25 Oct 2013 22:31:03 +0000
> From: "Johnson, Hans J" <hans-johnson at uiowa.edu>
> Subject: [Community] [Insight-developers] Confirmed compiler failure
> To: ITK <insight-developers at itk.org>
> Cc: "Bradley Lowekamp \(Code Review\)" <review at kitware.com>
> Message-ID: <CE905B56.13B62%hans-johnson at uiowa.edu>
> Content-Type: text/plain; charset="us-ascii"
> 
> I can confirm compiler failure on 10.8.5 with Xcode 5.0.1
> 
> NOTE:  there is a gerrit patch set that allows compilation: http://review.source.kitware.com/#/c/13124/3
> 
> I can confirm that the above patch allow compilation to complete.
> 
> In file included from /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/TestKernel/src/itkTestDriver.cxx:29:
> In file included from /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/TestKernel/include/itkTestDriverIncludeRequiredIOFactories.h:31:
> In file included from /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/TestKernel/include/itkTestDriverInclude.h:50:
> In file included from /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/IO/ImageBase/include/itkImageFileWriter.h:228:
> In file included from /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/IO/ImageBase/include/itkImageFileWriter.hxx:34:
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:51:16: error: no member named 'tr1' in namespace 'std'
>  typedef std::tr1::true_type  TrueType;
>          ~~~~~^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:52:16: error: no member named 'tr1' in namespace 'std'
>  typedef std::tr1::false_type FalseType;
>          ~~~~~^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:142:15: error: static and non-static member functions with the same parameter types cannot be overloaded
>  static void DispatchedCopy( const InputImageType *inImage, OutputImageType *outImage,
>              ^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:136:15: note: previous declaration is here
>  static void DispatchedCopy( const InputImageType *inImage, OutputImageType *outImage,
>              ^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:98:44: error: no member named 'tr1' in namespace 'std'
>                                    , std::tr1::is_convertible<typename _ImageType1::PixelType,
>                                      ~~~~~^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:98:95: error: expected '(' for function-style cast or type construction
>                                    , std::tr1::is_convertible<typename _ImageType1::PixelType,
>                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:119:44: error: no member named 'tr1' in namespace 'std'
>                                    , std::tr1::is_convertible<typename _ImageType1::PixelType,
>                                      ~~~~~^
> /scratch/johnsonhj/src/Slicer-build/ITKv4/Modules/Core/Common/include/itkImageAlgorithm.h:119:95: error: expected '(' for function-style cast or type construction
>                                    , std::tr1::is_convertible<typename _ImageType1::PixelType,
>                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
> 
> 
> 
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
> ________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/community/attachments/20131025/a1d4929c/attachment-0001.htm>
> -------------- next part --------------
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 25 Oct 2013 22:05:47 -0700
> From: Oscar Esteban <oesteban at die.upm.es>
> Subject: Re: [Community] [Insight-users] QuadEdgeMeshNormalFilter -
> 	Outwards	or inwards
> To: Arnaud Gelas <arnaudgelas at gmail.com>
> Cc: ITK <insight-users at itk.org>
> Message-ID:
> 	<CAA4PHHhm2CbqM5qcC_8cDDO_sGBHfZ1ZTxOQjABMCYdqfUw_cA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Dear Jon, Arnaud,
> 
> Thanks a lot for your answers, and sorry that I missed your answers for a
> long while.
> 
> I didn't try to visualize it (never managed to write vectors on vtk
> polydata, probably is very easy but I must admit I've been rather sloppy
> regarding that).
> 
> What Arnaud commented makes a lot of sense. On my case, I empirically check
> the direction and they are inwards. But probably, it'd be much faster and
> reliable if I checked the order of triangles as Arnaud suggested.
> 
> Thanks a lot
> 
> Best,
> Oscar Esteban
> 
> 
> *______________________________________*
> *Oscar Esteban*
> PhD Student / Researcher
> 
> Biomedical Image Technologies (BIT), UPM
> ETSI Telecomunicaci?n Lab. C203, Av. Complutense s/n - E-28040 Madrid
> (Spain)
> +34 915 495 700 ext.4234
> 
> Signal Processing Laboratory (LTS5), EPFL-STI-IEL-LTS5
> ELD 224 (B?timent ELD), Station 11, CH-1015 Lausanne, Switzerland
> 
> 
> On 1 October 2013 01:05, Arnaud Gelas <arnaudgelas at gmail.com> wrote:
> 
>> Dear Oscar,
>> 
>> You can't know in advance if it is pointing inward or outward.
>> One itk::QuadEdgeMesh is oriented, and so the orientation of the normal
>> depends on the order triangles are filled in, then AFAIR the orientation is
>> then counterclockwise.
>> 
>> HTH
>> 
>> 
>> On Tue, Oct 1, 2013 at 9:54 AM, Jon Haitz Legarreta <
>> jhlegarreta at vicomtech.org> wrote:
>> 
>>> Dear ?scar,
>>> although I haven't tried the filter, I would dare to say that it should
>>> point outwards if done according to the "normal vector" definition.
>>> Were you able to visualize it? May be with VTK or writing the output and
>>> using Paraview?
>>> 
>>> It would be nice if you shared what it gives by default.
>>> 
>>> Kind regards,
>>> JON HAITZ
>>> 
>>> 
>>> 
>>> On 22 June 2013 13:13, Oscar Esteban <oesteban at die.upm.es> wrote:
>>> 
>>>> Dear ITK experts,
>>>> 
>>>> When computing the normals of a closed surface, the resulting vectors
>>>> are inwards or outwards?
>>>> 
>>>> I'm trying to figure it out from code but I didn't get it. I also looked
>>>> in the software guide and the documentation.
>>>> 
>>>> Best,
>>>> Oscar
>>>> 
>>>> 
>>>> *______________________________________*
>>>> *Oscar Esteban*
>>>> PhD Student / Researcher
>>>> 
>>>> Biomedical Image Technologies (BIT), UPM
>>>> ETSI Telecomunicaci?n Lab. C203, Av. Complutense s/n - E-28040 Madrid
>>>> (Spain)
>>>> +34 915 495 700 ext.4234
>>>> 
>>>> Signal Processing Laboratory (LTS5), EPFL-STI-IEL-LTS5
>>>> ELD 224 (B?timent ELD), Station 11, CH-1015 Lausanne, Switzerland
>>>> 
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>> 
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>> 
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>> 
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>> 
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>> 
>>>> 
>>> 
>>> _____________________________________
>>> Powered by www.kitware.com
>>> 
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>> 
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.php
>>> 
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>> 
>>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://public.kitware.com/pipermail/community/attachments/20131025/c435371c/attachment.htm>
> -------------- next part --------------
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 
> ------------------------------
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
> 
> 
> End of Community Digest, Vol 1, Issue 42
> ****************************************
> 




More information about the Community mailing list