HarmonicExamplePerObjectDataT.hh 3.07 KB
Newer Older
Henrik Zimmer's avatar
Henrik Zimmer committed
1 2
/*===========================================================================*\
 *                                                                           *
Henrik Zimmer's avatar
Henrik Zimmer committed
3
 *                          Plugin-HarmonicExample                           *
Henrik Zimmer's avatar
Henrik Zimmer committed
4 5 6 7
 *      Copyright (C) 2008-2009 by Computer Graphics Group, RWTH Aachen      *
 *                           www.rwth-graphics.de                            *
 *                                                                           *
 *---------------------------------------------------------------------------* 
Henrik Zimmer's avatar
Henrik Zimmer committed
8
 *  This file is part of Plugin-HarmonicExample                              *
Henrik Zimmer's avatar
Henrik Zimmer committed
9
 *                                                                           *
Henrik Zimmer's avatar
Henrik Zimmer committed
10 11 12 13
 *  Plugin-HarmonicExample is free software: you can redistribute it and/or  *
 *  modify it under the terms of the GNU General Public License as published *
 *  by the Free Software Foundation, either version 3 of the License, or     *
 *  (at your option) any later version.                                      *
Henrik Zimmer's avatar
Henrik Zimmer committed
14
 *                                                                           *
Henrik Zimmer's avatar
Henrik Zimmer committed
15
 *  Plugin-HarmonicExample is distributed in the hope that it will be useful,*
Henrik Zimmer's avatar
Henrik Zimmer committed
16 17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            *
Henrik Zimmer's avatar
Henrik Zimmer committed
18
 *  GNU General Public License for more details.                             *
Henrik Zimmer's avatar
Henrik Zimmer committed
19
 *                                                                           *
Henrik Zimmer's avatar
Henrik Zimmer committed
20 21 22
 *  You should have received a copy of the GNU General Public License        *
 *  along with Plugin-HarmonicExample.                                       *
 *  If not, see <http://www.gnu.org/licenses/>.                              *
Henrik Zimmer's avatar
Henrik Zimmer committed
23 24 25
 *                                                                           *
\*===========================================================================*/ 

26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
//=============================================================================
//
// CLASS HarmonicExamplePerObjectData
//
//=============================================================================


#ifndef HARMONICEXAMPLEPEROBJECTDATA_HH
#define HARMONICEXAMPLEPEROBJECTDATA_HH

//== INCLUDES =================================================================


#include <OpenMesh/Core/IO/MeshIO.hh>
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
#include <OpenFlipper/common/perObjectData.hh>
#include "HarmonicExampleT.hh"


//== CLASS DEFINITION =========================================================


template <class MeshT>
class HarmonicExamplePerObjectDataT : public PerObjectData
{
public:

  HarmonicExamplePerObjectDataT( MeshT& _mesh) : harmonicexample_(_mesh) 
  {}
  
  virtual
  ~HarmonicExamplePerObjectDataT() 
  {}
  
Henrik Zimmer's avatar
Henrik Zimmer committed
60
  COMISO::HarmonicExampleT<MeshT>& harmonicexample() { return harmonicexample_;}
61 62 63

private:
  // create an FeatureLine
Henrik Zimmer's avatar
Henrik Zimmer committed
64
  COMISO::HarmonicExampleT<MeshT> harmonicexample_;
65 66 67 68 69 70 71
};


//=============================================================================
#endif // HARMONICEXAMPLEPEROBJECTDATA_HH defined
//=============================================================================