Shapeworks Studio
2.1
Shape analysis software suite
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Download
File List
src
ParticleShapeworks
include
itkPSMPointIndexPair.h
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __itkPSMPointIndexPair_h
19
#define __itkPSMPointIndexPair_h
20
21
#include "itkPoint.h"
22
namespace
itk
{
33
template
<
unsigned
int
VDimension>
34
struct
PSMPointIndexPair
35
{
36
typedef
itk::Point<double, VDimension> PointType;
37
PSMPointIndexPair
() {}
38
PSMPointIndexPair
(
const
PointType &p,
unsigned
int
i=0)
39
{
40
Point
= p;
41
Index = i;
42
}
43
PSMPointIndexPair
(
const
PSMPointIndexPair
&o)
44
{ this->operator=(o); }
45
const
PSMPointIndexPair
&operator=(
const
PSMPointIndexPair
&o)
46
{
47
Point
= o.Point;
48
Index = o.Index;
49
return
*
this
;
50
}
51
PointType
Point
;
52
unsigned
int
Index;
53
};
54
55
}
56
#endif
57
itk::PSMPointIndexPair
Struct containing a Point and an index value associated with a point. This object is used mainly by P...
Definition:
itkPSMPointIndexPair.h:34
itk
Definition:
itkParticlePositionReader.h:25
Point
Definition:
Shape.h:14
Generated on Mon Aug 15 2016 13:47:14 for Shapeworks Studio by
1.8.11