105 unsigned int VDimension = 3,
106 typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >
108 class ITK_TEMPLATE_EXPORT
Mesh:
public PointSet< TPixelType, VDimension, TMeshTraits >
131 itkStaticConstMacro(PointDimension,
unsigned int,
132 TMeshTraits::PointDimension);
133 itkStaticConstMacro(MaxTopologicalDimension,
unsigned int,
134 TMeshTraits::MaxTopologicalDimension);
142 CellsAllocatedDynamicallyCellByCell } CellsAllocationMethodType;
216 m_CellId(cellId), m_FeatureId(featureId) {}
253 typedef std::vector< BoundaryAssignmentsContainerPointer >
288 void PassStructure(
Self *inputMesh);
290 virtual void Initialize() ITK_OVERRIDE;
293 virtual
void CopyInformation(const
DataObject *data) ITK_OVERRIDE;
295 virtual
void Graft(const
DataObject *data) ITK_OVERRIDE;
307 CellLinksContainer * GetCellLinks();
309 const CellLinksContainer * GetCellLinks() const;
315 CellsContainer * GetCells();
317 const CellsContainer * GetCells() const;
325 CellDataContainer * GetCellData();
327 const CellDataContainer * GetCellData() const;
329 #if !defined( ITK_WRAPPING_PARSER )
338 void SetBoundaryAssignments(
int dimension,
345 int dimension)
const;
390 bool RemoveBoundaryAssignment(
int dimension,
CellIdentifier cellId,
408 std::set< CellIdentifier > *cellSet);
415 std::set< CellIdentifier > *cellSet);
424 bool GetAssignedCellBoundaryIfOneExists(
int dimension,
CellIdentifier,
430 void BuildCellLinks()
const;
441 itkSetMacro(CellsAllocationMethod, CellsAllocationMethodType);
442 itkGetConstReferenceMacro(CellsAllocationMethod, CellsAllocationMethodType);
448 ~
Mesh() ITK_OVERRIDE;
449 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
455 void ReleaseCellsMemory();
462 ITK_DISALLOW_COPY_AND_ASSIGN(
Mesh);
464 CellsAllocationMethodType m_CellsAllocationMethod;
468 #ifndef ITK_MANUAL_INSTANTIATION
469 #ifndef ITK_WRAPPING_PARSER
470 #include "itkMesh.hxx"
CellsContainerPointer m_CellsContainer
PointsContainer::ConstIterator PointsContainerConstIterator
BoundingBox< PointIdentifier, itkGetStaticConstMacro(PointDimension), CoordRepType, PointsContainer > BoundingBoxType
bool operator<(const Self &r) const
MeshTraits::PointDataContainer PointDataContainer
SelfAutoPointer CellAutoPointer
MeshTraits::PointCellLinksContainer PointCellLinksContainer
MeshTraits::PointIdentifier PointIdentifier
CellsContainer::Iterator CellsContainerIterator
PointCellLinksContainer::const_iterator PointCellLinksContainerIterator
A wrapper of the STL "map" container.
BoundaryAssignmentIdentifier Self
MeshTraits::PointsContainer PointsContainer
MeshTraits::PixelType PixelType
MeshTraits::CellIdentifier CellIdentifier
MapContainer< BoundaryAssignmentIdentifier, CellIdentifier > BoundaryAssignmentsContainer
MeshTraits::PointType PointType
CellDataContainerPointer m_CellDataContainer
A visitor that can visit different cell types in a mesh. CellInterfaceVisitor instances can be regist...
PointDataContainer::Pointer PointDataContainerPointer
Implements the N-dimensional mesh structure.
CellDataContainer::Pointer CellDataContainerPointer
Superclass::RegionType RegionType
An abstract interface for cells.
CellsContainer::ConstIterator CellsContainerConstIterator
std::vector< BoundaryAssignmentsContainerPointer > BoundaryAssignmentsContainerVector
MeshTraits::CellDataContainer CellDataContainer
CellLinksContainer::ConstIterator CellLinksContainerIterator
BoundingBoxType::Pointer BoundingBoxPointer
CellFeatureIdentifier CellFeatureCount
CellLinksContainer::ConstPointer CellLinksContainerConstPointer
bool operator==(const Self &r) const
CellLinksContainer::Pointer CellLinksContainerPointer
PointsContainer::Pointer PointsContainerPointer
MeshTraits::InterpolationWeightType InterpolationWeightType
ImageBaseType::PointType PointType
PointDataContainer::ConstIterator PointDataContainerIterator
MeshTraits::CoordRepType CoordRepType
MeshTraits::CoordRepType CoordRepType
PointSet< TPixelType, VDimension, TMeshTraits > Superclass
CellType::MultiVisitor CellMultiVisitorType
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
CellType::CellAutoPointer CellAutoPointer
MeshTraits::PointsContainer PointsContainer
MeshTraits::PointIdentifier PointIdentifier
MeshTraits::CellLinksContainer CellLinksContainer
CellsContainer::Pointer CellsContainerPointer
MeshTraits::CellFeatureIdentifier CellFeatureIdentifier
BoundaryAssignmentIdentifier(CellIdentifier cellId, CellFeatureIdentifier featureId)
SmartPointer< const Self > ConstPointer
CellsContainer::ConstPointer CellsContainerConstPointer
BoundaryAssignmentIdentifier()
CellFeatureIdentifier m_FeatureId
BoundaryAssignmentsContainer::Pointer BoundaryAssignmentsContainerPointer
MeshTraits::CellsContainer CellsContainer
CellInterface< CellPixelType, CellTraits > CellType
MeshTraits::CellPixelType CellPixelType
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
CellLinksContainerPointer m_CellLinksContainer
CellDataContainer::ConstPointer CellDataContainerConstPointer
MeshTraits::CellTraits CellTraits
MeshTraits::PointHashType PointHashType
CellDataContainer::ConstIterator CellDataContainerIterator
Base class for all data objects in ITK.
Represent and compute information about bounding boxes.
PointsContainer::Iterator PointsContainerIterator