ITK  4.13.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< typename TMesh >
32 class ITK_TEMPLATE_EXPORT LevelSetDomainPartitionMesh :
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 
56  typedef typename Superclass::IdentifierListType IdentifierListType;
57 
58  typedef std::map< PointIdentifierType, IdentifierListType > ListMeshType;
59 
60  itkSetObjectMacro( Mesh, MeshType );
61 
62 protected:
64  virtual ~LevelSetDomainPartitionMesh();
65 
68  virtual void PopulateListDomain();
69 
72  void AllocateListDomain();
73 
74 private:
75  ITK_DISALLOW_COPY_AND_ASSIGN(LevelSetDomainPartitionMesh);
76 
79 };
80 
81 } //end namespace itk
82 
83 #ifndef ITK_MANUAL_INSTANTIATION
84 #include "itkLevelSetDomainPartitionMesh.hxx"
85 #endif
86 
87 #endif
Implements the N-dimensional mesh structure.
Definition: itkMesh.h:108
MeshType::PointsContainerConstPointer PointsContainerConstPointer
Superclass::IdentifierListType IdentifierListType
std::map< PointIdentifierType, IdentifierListType > ListMeshType
MeshType::PointIdentifierType PointIdentifierType
LevelSetDomainPartitionBase< TMesh > Superclass
Helper class used to partition domain and efficiently compute overlap.
MeshType::PointsContainerConstIterator PointsContainerConstIterator
Helper class used to partition domain and efficiently compute overlap.