]> Creatis software - clitk.git/blobdiff - vv/vvImageWriter.txx
added functionality for OBJ meshes. Untested.
[clitk.git] / vv / vvImageWriter.txx
index 8d9187c016a4627a6b921d03ffe57bf15702bb97..35e5790c27dac6129000cc04cae4c7dd7615fb02 100644 (file)
@@ -1,10 +1,7 @@
 /*=========================================================================
 
  Program:   vv
- Module:    $RCSfile: vvImageWriter.txx,v $
  Language:  C++
- Date:      $Date: 2010/01/06 13:31:57 $
- Version:   $Revision: 1.1 $
  Author :   Pierre Seroul (pierre.seroul@gmail.com)
 
 Copyright (C) 2008
@@ -38,6 +35,10 @@ void vvImageWriter::UpdateWithDim(std::string OutputPixelType)
     {
         UpdateWithDimAndOutputPixelType<short,VImageDimension>();
     }
+    else if (OutputPixelType == "unsigned short")
+    {
+        UpdateWithDimAndOutputPixelType<unsigned short,VImageDimension>();
+    }
     else if (OutputPixelType == "unsigned_short")
     {
         UpdateWithDimAndOutputPixelType<unsigned short,VImageDimension>();