contrib/mul/vimt3d/vimt3d_save.h
Go to the documentation of this file.
00001 // This is mul/vimt3d/vimt3d_save.h
00002 #ifndef vimt3d_save_h_
00003 #define vimt3d_save_h_
00004 //:
00005 // \file
00006 // \author Ian Scott
00007 
00008 
00009 #include <vcl_string.h>
00010 #include <vil3d/vil3d_fwd.h>
00011 class vimt3d_transform_3d;
00012 class vimt3d_image_3d;
00013 
00014 //: Save values from a transform to an image resource.
00015 // The transform will be from world co-ordinates in metres to image co-ordinates (or mm if requested).
00016 void vimt3d_save_transform(vil3d_image_resource_sptr &ir,
00017                            const vimt3d_transform_3d& trans,
00018                            bool use_millimetres =false);
00019 
00020 //: Save image from path into given image (forcing to given pixel type)
00021 bool vimt3d_save(const vcl_string& path,
00022                  const vimt3d_image_3d& image,
00023                  bool use_millimetres =false);
00024 
00025 #endif // vimt3d_save_h_
00026