![Logo](itkLogoSmall.png) |
ITK
5.3.0
Insight Toolkit
|
Go to the documentation of this file.
38 #include "ITKMeshExport.h"
123 template <
typename TPixelType,
124 unsigned int VDimension = 3,
125 typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
126 class ITK_TEMPLATE_EXPORT
Mesh :
public PointSet<TPixelType, VDimension, TMeshTraits>
129 ITK_DISALLOW_COPY_AND_MOVE(
Mesh);
152 static constexpr
unsigned int PointDimension = TMeshTraits::PointDimension;
153 static constexpr
unsigned int MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension;
155 #if !defined(ITK_LEGACY_REMOVE)
160 static constexpr CellsAllocationMethodType CellsAllocationMethodUndefined =
161 MeshClassCellsAllocationMethodEnum::CellsAllocationMethodUndefined;
162 static constexpr CellsAllocationMethodType CellsAllocatedAsStaticArray =
164 static constexpr CellsAllocationMethodType CellsAllocatedAsADynamicArray =
166 static constexpr CellsAllocationMethodType CellsAllocatedDynamicallyCellByCell =
255 , m_FeatureId(featureId)
324 GetNumberOfCells()
const;
330 PassStructure(
Self * inputMesh);
336 Initialize()
override;
340 CopyInformation(
const DataObject * data)
override;
348 GetBoundingBox()
const;
363 GetCellLinks()
const;
418 DeleteUnusedCellData();
420 #if !defined(ITK_WRAPPING_PARSER)
434 GetBoundaryAssignments(
int dimension);
438 GetBoundaryAssignments(
int dimension)
const;
486 SetBoundaryAssignment(
int dimension,
500 GetBoundaryAssignment(
int dimension,
515 GetNumberOfCellBoundaryFeatures(
int dimension,
CellIdentifier)
const;
533 GetCellBoundaryFeatureNeighbors(
int dimension,
536 std::set<CellIdentifier> * cellSet);
543 GetCellNeighbors(
CellIdentifier cellId, std::set<CellIdentifier> * cellSet);
558 BuildCellLinks()
const;
581 PrintSelf(std::ostream & os,
Indent indent)
const override;
589 ReleaseCellsMemory();
604 extern ITKMesh_EXPORT std::ostream &
608 #ifndef ITK_MANUAL_INSTANTIATION
609 # ifndef ITK_WRAPPING_PARSER
610 # include "itkMesh.hxx"
typename MeshTraits::PointCellLinksContainer PointCellLinksContainer
typename MeshTraits::CellTraits CellTraits
SmartPointer< Self > Pointer
typename CellType::MultiVisitor CellMultiVisitorType
Represents a single vertex for a Mesh.
SmartPointer< const Self > ConstPointer
Represents a quadrilateral for a Mesh.
bool operator==(const Self &r) const
Represents a series of connected line segments for a Mesh.
typename CellDataContainer::ConstIterator CellDataContainerIterator
typename PointsContainer::Iterator PointsContainerIterator
typename PointDataContainer::Pointer PointDataContainerPointer
bool operator<(const Index< VDimension > &one, const Index< VDimension > &two)
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
typename MeshTraits::CellLinksContainer CellLinksContainer
std::ostream & operator<<(std::ostream &os, const Array< TValue > &arr)
CellsVectorContainerPointer cellOutputVectorContainer
ImageBaseType::PointType PointType
typename BoundingBoxType::Pointer BoundingBoxPointer
CellsContainerPointer m_CellsContainer
typename CellLinksContainer::Pointer CellLinksContainerPointer
typename CellsContainer::Pointer CellsContainerPointer
CellDataContainerPointer m_CellDataContainer
Represents a polygon in a Mesh.
Control indentation during Print() invocation.
typename CellsVectorContainer::Pointer CellsVectorContainerPointer
A visitor that can visit different cell types in a mesh. CellInterfaceVisitor instances can be regist...
typename CellDataContainer::ConstPointer CellDataContainerConstPointer
A wrapper of the STL "map" container.
typename CellType::CellAutoPointer CellAutoPointer
typename CellLinksContainer::ConstPointer CellLinksContainerConstPointer
typename MeshTraits::CellIdentifier CellIdentifier
Represents a second order line segment for a Mesh.
TetrahedronCell represents a tetrahedron for a Mesh.
MeshClassCellsAllocationMethod
typename MeshTraits::CellsContainer CellsContainer
typename MeshTraits::PointIdentifier PointIdentifier
ImageBaseType::RegionType RegionType
typename CellsContainer::ConstPointer CellsContainerConstPointer
MeshClassCellsAllocationMethodEnum m_CellsAllocationMethod
SelfAutoPointer CellAutoPointer
typename MeshTraits::PixelType PixelType
typename PointsContainer::Pointer PointsContainerPointer
Represents a hexahedron (cuboid) for a Mesh.
typename MeshTraits::CoordRepType CoordRepType
CellFeatureIdentifier m_FeatureId
typename CellsContainer::ConstIterator CellsContainerConstIterator
typename MeshTraits::InterpolationWeightType InterpolationWeightType
Represents a line segment for a Mesh.
typename itk::VectorContainer< IdentifierType, IdentifierType > CellsVectorContainer
typename PointDataContainer::ConstIterator PointDataContainerIterator
typename MeshTraits::PointsContainer PointsContainer
An abstract interface for cells.
typename MeshTraits::CellFeatureIdentifier CellFeatureIdentifier
typename CellLinksContainer::ConstIterator CellLinksContainerIterator
BoundingBoxPointer m_BoundingBox
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Implements the N-dimensional mesh structure.
typename MeshTraits::CellPixelType CellPixelType
typename MeshTraits::PointDataContainer PointDataContainer
typename PointCellLinksContainer::const_iterator PointCellLinksContainerIterator
Base class for most ITK classes.
std::vector< BoundaryAssignmentsContainerPointer > BoundaryAssignmentsContainerVector
typename CellsContainer::Iterator CellsContainerIterator
typename MeshTraits::PointType PointType
Represent and compute information about bounding boxes.
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
CellFeatureIdentifier CellFeatureCount
Represents a second order triangular patch for a Mesh.
typename PointsContainer::ConstIterator PointsContainerConstIterator
typename CellDataContainer::Pointer CellDataContainerPointer
typename BoundaryAssignmentsContainer::Pointer BoundaryAssignmentsContainerPointer
CellLinksContainerPointer m_CellLinksContainer
BoundaryAssignmentIdentifier(CellIdentifier cellId, CellFeatureIdentifier featureId)
typename MeshTraits::PointHashType PointHashType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
typename MeshTraits::CellDataContainer CellDataContainer
Base class for all data objects in ITK.