00001 /*************************************************************************** 00002 * Copyright (c) 2007 * 00003 * Joachim Zettler <Joachim.Zettler@gmx.de> * 00004 * Human Rezai <human@mytum.de> * 00005 * * 00006 * This file is part of the FreeCAD CAx development system. * 00007 * * 00008 * This library is free software; you can redistribute it and/or * 00009 * modify it under the terms of the GNU Library General Public * 00010 * License as published by the Free Software Foundation; either * 00011 * version 2 of the License, or (at your option) any later version. * 00012 * * 00013 * This library is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU Library General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU Library General Public * 00019 * License along with this library; see the file COPYING.LIB. If not, * 00020 * write to the Free Software Foundation, Inc., 59 Temple Place, * 00021 * Suite 330, Boston, MA 02111-1307, USA * 00022 * * 00023 ***************************************************************************/ 00024 00025 00026 #ifndef MERGEDATA_H 00027 #define MERGEDATA_H 00028 00029 #include <QStringList> 00030 #include <vector> 00031 00032 class CamExport MergeData 00033 { 00034 public: 00035 MergeData(); 00036 ~MergeData(); 00037 00038 bool WriteOutput(const QString &dateiname); 00039 void Open(); 00040 bool Einlesen(const QStringList &filenames); 00041 00042 private: 00043 std::vector<std::vector<float> > m_mergedvalues; 00044 bool m_fit; 00045 long m_howmanypoints; 00046 }; 00047 00048 00049 #endif