/*========================================================================= Program: ShapeWorks: Particle-based Shape Correspondence & Visualization Module: $RCSfile: itkParticlePointIndexPair.h,v $ Date: $Date: 2011/03/23 22:40:10 $ Version: $Revision: 1.2 $ Author: $Author: wmartin $ Copyright (c) 2009 Scientific Computing and Imaging Institute. See ShapeWorksLicense.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information.=========================================================================*/#ifndef __itkParticlePointIndexPair_h#define __itkParticlePointIndexPair_h#include"itkPoint.h"namespaceitk{template<unsignedintVDimension>structParticlePointIndexPair{typedefitk::Point<double,VDimension>PointType;ParticlePointIndexPair(){}ParticlePointIndexPair(constPointType&p,unsignedinti=0){Point=p;Index=i;}ParticlePointIndexPair(constParticlePointIndexPair&o){this->operator=(o);}constParticlePointIndexPair&operator=(constParticlePointIndexPair&o){Point=o.Point;Index=o.Index;return*this;}PointTypePoint;unsignedintIndex;};}#endif