core/vil1/vil1_crop_image_impl.cxx

Go to the documentation of this file.
00001 // This is core/vil1/vil1_crop_image_impl.cxx
00002 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00003 #pragma implementation
00004 #endif
00005 //:
00006 // \file
00007 
00008 #include "vil1_crop_image_impl.h"
00009 
00010 vil1_crop_image_impl::vil1_crop_image_impl(vil1_image const& gi, int x0, int y0, int w, int h):
00011   gi_(gi),
00012   x0_(x0),
00013   y0_(y0),
00014   width_(w),
00015   height_(h)
00016 {
00017 }
00018 
00019 vil1_crop_image_impl::~vil1_crop_image_impl()
00020 {
00021 }
00022 
00023 //: Return the name of the class;
00024 vcl_string vil1_crop_image_impl::is_a() const
00025 {
00026   static const vcl_string class_name_="vil1_crop_image_impl";
00027   return class_name_;
00028 }
00029 
00030 //: Return true if the name of the class matches the argument
00031 bool vil1_crop_image_impl::is_class(vcl_string const& s) const
00032 {
00033   return s==vil1_crop_image_impl::is_a() || vil1_image_impl::is_class(s);
00034 }

Generated on Fri Aug 29 05:08:14 2008 for core/vil1 by  doxygen 1.5.1