00001 // This is mul/vpdfl/vpdfl_gaussian_kernel_pdf_builder.h 00002 #ifndef vpdfl_gaussian_kernel_pdf_builder_h 00003 #define vpdfl_gaussian_kernel_pdf_builder_h 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \author Tim Cootes 00010 // \brief Builder for vpdfl_gaussian_kernel_pdf objects 00011 00012 #include <vpdfl/vpdfl_kernel_pdf_builder.h> 00013 00014 //======================================================================= 00015 00016 class vpdfl_gaussian_kernel_pdf; 00017 00018 //: Class to build vpdfl_gaussian_kernel_pdf objects 00019 class vpdfl_gaussian_kernel_pdf_builder : public vpdfl_kernel_pdf_builder 00020 { 00021 public: 00022 00023 //: Dflt ctor 00024 vpdfl_gaussian_kernel_pdf_builder(); 00025 00026 //: Destructor 00027 virtual ~vpdfl_gaussian_kernel_pdf_builder(); 00028 00029 //: Create empty model 00030 virtual vpdfl_pdf_base* new_model() const; 00031 00032 //: Name of the class 00033 virtual vcl_string is_a() const; 00034 00035 //: Does the name of the class match the argument? 00036 virtual bool is_class(vcl_string const& s) const; 00037 00038 //: Create a copy on the heap and return base class pointer 00039 virtual vpdfl_builder_base* clone() const; 00040 }; 00041 00042 #endif // vpdfl_gaussian_kernel_pdf_builder_h