vnl_file_matrix.h

来自「InsightToolkit-1.4.0(有大量的优化算法程序)」· C头文件 代码 · 共 36 行

H
36
字号
// This is vxl/vnl/vnl_file_matrix.h
#ifndef vnl_file_matrix_h_
#define vnl_file_matrix_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \brief Load vnl_matrix<double> from file
// \author Andrew W. Fitzgibbon, Oxford RRG
// \date   23 Dec 96
//
// \verbatim
// Modifications:
// LSB (Manchester) 23/3/01 Documenation tidied
// \endverbatim
//
//-----------------------------------------------------------------------------

#include <vnl/vnl_matrix.h>

//: Class to load a matrix from a file.
export template <class T>
class vnl_file_matrix : public vnl_matrix<T>
{
 public:
  vnl_file_matrix(char const* filename);

  operator bool() const { return ok_; }

 private:
  bool ok_;
};

#endif // vnl_file_matrix_h_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?