contrib/mul/mipa/mipa_identity_normaliser.h
Go to the documentation of this file.
00001 #ifndef mipa_identity_normaliser_h_
00002 #define mipa_identity_normaliser_h_
00003 //:
00004 // \file
00005 // \author Martin Roberts
00006 // \brief Do nowt
00007 
00008 #include <vcl_string.h>
00009 #include <vcl_iosfwd.h>
00010 #include <vsl/vsl_fwd.h>
00011 #include <vnl/vnl_fwd.h>
00012 #include <mipa/mipa_vector_normaliser.h>
00013 
00014 class mbl_read_props_type;
00015 
00016 class mipa_identity_normaliser : public mipa_vector_normaliser
00017 {
00018  public:
00019 
00020   virtual ~mipa_identity_normaliser() {}
00021 
00022   //: Normalise the sample.
00023   virtual void normalise(vnl_vector<double>& sample) const;
00024 
00025   //: Name of the class
00026   virtual vcl_string is_a() const;
00027 
00028   //: Create a copy on the heap and return base class pointer
00029   virtual mipa_vector_normaliser* clone() const;
00030 
00031   //: Print class to os
00032   virtual void print_summary(vcl_ostream& os) const;
00033 
00034   //: Save class to binary file stream
00035   virtual void b_write(vsl_b_ostream& bfs) const;
00036 
00037   //: Load class from binary file stream
00038   virtual void b_read(vsl_b_istream& bfs);
00039 };
00040 
00041 #endif // mipa_identity_normaliser_h_