00001 //: 00002 // \file 00003 // \author Martin Roberts 00004 // \brief Do nowt 00005 00006 #include "mipa_identity_normaliser.h" 00007 #include <vnl/vnl_vector.h> 00008 #include <vsl/vsl_binary_loader.h> 00009 00010 //======================================================================= 00011 00012 void mipa_identity_normaliser::normalise(vnl_vector<double>& v) const 00013 { 00014 } 00015 00016 //======================================================================= 00017 00018 vcl_string mipa_identity_normaliser::is_a() const 00019 { 00020 return vcl_string("mipa_identity_normaliser"); 00021 } 00022 00023 //: Create a copy on the heap and return base class pointer 00024 mipa_vector_normaliser* mipa_identity_normaliser::clone() const 00025 { 00026 return new mipa_identity_normaliser(); 00027 } 00028 00029 //: Print class to os 00030 void mipa_identity_normaliser::print_summary(vcl_ostream& os) const 00031 { 00032 os<<is_a()<<'\n'; 00033 } 00034 00035 const static short version_no = 1; 00036 00037 //: Save class to binary file stream 00038 void mipa_identity_normaliser::b_write(vsl_b_ostream& bfs) const 00039 { 00040 vsl_b_write(bfs,version_no); 00041 } 00042 00043 00044 //: Load class from binary file stream 00045 void mipa_identity_normaliser::b_read(vsl_b_istream& bfs) 00046 { 00047 short version; 00048 vsl_b_read(bfs,version); 00049 } 00050 00051