ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkContourSpatialObjectPoint.h
Go to the documentation of this file.
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 __itkContourSpatialObjectPoint_h
19 #define __itkContourSpatialObjectPoint_h
20 
21 #include "itkSpatialObjectPoint.h"
22 #include "itkCovariantVector.h"
23 
24 namespace itk
25 {
36 template< unsigned int TPointDimension = 3 >
38  public SpatialObjectPoint< TPointDimension >
39 {
40 public:
41 
46 
50 
52  virtual ~ContourSpatialObjectPoint(void);
53 
55  const PointType & GetPickedPoint(void) const;
56 
58  void SetPickedPoint(const PointType & point);
59 
60  void SetPickedPoint(const double pointx, const double pointy);
61 
62  void SetPickedPoint(const double pointx,
63  const double pointy, const double pointz);
64 
66  const VectorType & GetNormal(void) const;
67 
69  void SetNormal(const VectorType & normal);
70 
71  void SetNormal(const double normalx, const double normaly);
72 
73  void SetNormal(const double normalx,
74  const double normaly, const double normalz);
75 
78 
79 protected:
80 
83 
85  virtual void PrintSelf(std::ostream & os, Indent indent) const;
86 };
87 } // end of namespace itk
88 
89 #ifndef ITK_MANUAL_INSTANTIATION
90 #include "itkContourSpatialObjectPoint.hxx"
91 #endif
92 
93 #endif // __itkContourSpatialObjectPoint_h
const VectorType & GetNormal(void) const
virtual void PrintSelf(std::ostream &os, Indent indent) const
Point used for a Contour definition.
const PointType & GetPickedPoint(void) const
Self & operator=(const ContourSpatialObjectPoint &rhs)
Point used for spatial objets.
SpatialObjectPoint< TPointDimension > Superclass
Point< double, TPointDimension > PointType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
CovariantVector< double, TPointDimension > VectorType
void SetPickedPoint(const PointType &point)
void SetNormal(const VectorType &normal)
virtual ~ContourSpatialObjectPoint(void)