ITK  4.3.0
Insight Segmentation and Registration Toolkit
itkLevelSetDomainPartitionMesh.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 __itkLevelSetDomainPartitionMesh_h
19 #define __itkLevelSetDomainPartitionMesh_h
20 
22 #include <map>
23 
24 namespace itk
25 {
31 template< class TMesh >
33  public LevelSetDomainPartitionBase< TMesh >
34 {
35 public:
36 
41 
42  itkStaticConstMacro( PointDimension, unsigned int, TMesh::PointDimension);
43 
44  itkTypeMacro( LevelSetDomainPartitionMesh,
46 
47  typedef TMesh MeshType;
48  typedef typename MeshType::Pointer MeshPointer;
49  typedef typename MeshType::ConstPointer MeshConstPointer;
50  typedef typename MeshType::PointType PointType;
51  typedef typename MeshType::PointIdentifierType PointIdentifierType;
52 
53  typedef typename MeshType::PointsContainerConstPointer PointsContainerConstPointer;
54  typedef typename MeshType::PointsContainerConstIterator PointsContainerConstIterator;
55 
57 
58  typedef std::map< PointIdentifierType, IdentifierListType > ListMeshType;
59 
60  itkSetObjectMacro( Mesh, MeshType );
61 
62 protected:
65 
68  virtual void PopulateListDomain();
69 
72  void AllocateListDomain();
73 
74 private:
75  LevelSetDomainPartitionMesh(const Self &); //purposely not implemented
76  void operator=(const Self &); //purposely not implemented
77 
80 };
81 
82 } //end namespace itk
83 
84 #ifndef ITK_MANUAL_INSTANTIATION
85 #include "itkLevelSetDomainPartitionBase.hxx"
86 #endif
87 
88 #endif
89