ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier Class Reference

#include <itkMesh.h>

Detailed Description

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
class itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier

An explicit cell boundary assignment can be accessed through the cell identifier to which the assignment is made, and the feature Id of the boundary feature within the cell that is being assigned.

This class provides a pair of these identifiers with appropriate comparison operators available for use of the Ids in sorted container classes.

Definition at line 248 of file itkMesh.h.

Public Types

using Self = BoundaryAssignmentIdentifier
 

Public Member Functions

 BoundaryAssignmentIdentifier ()=default
 
 BoundaryAssignmentIdentifier (CellIdentifier cellId, CellFeatureIdentifier featureId)
 
bool operator< (const Self &r) const
 
bool operator== (const Self &r) const
 

Public Attributes

CellIdentifier m_CellId
 
CellFeatureIdentifier m_FeatureId
 

Member Typedef Documentation

◆ Self

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
using itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::Self = BoundaryAssignmentIdentifier

Create an alias to BoundaryAssignmentIdentifier.

Definition at line 252 of file itkMesh.h.

Constructor & Destructor Documentation

◆ BoundaryAssignmentIdentifier() [1/2]

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::BoundaryAssignmentIdentifier ( )
default

Constructor just takes the cell and feature identifiers, or defaults to their individual default values.

◆ BoundaryAssignmentIdentifier() [2/2]

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::BoundaryAssignmentIdentifier ( CellIdentifier cellId,
CellFeatureIdentifier featureId )
inline

Definition at line 257 of file itkMesh.h.

References m_CellId, and m_FeatureId.

Member Function Documentation

◆ operator<()

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::operator< ( const Self & r) const
inline

Most containers require a "<" operator to be defined for their key types.

Definition at line 270 of file itkMesh.h.

References m_CellId, m_FeatureId, and operator<().

Referenced by operator<().

◆ operator==()

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
bool itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::operator== ( const Self & r) const
inline

Most containers require a "==" operator to be defined for their key types.

Definition at line 279 of file itkMesh.h.

References m_CellId, and m_FeatureId.

Member Data Documentation

◆ m_CellId

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
CellIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::m_CellId

The Cell's identification.

Definition at line 263 of file itkMesh.h.

Referenced by BoundaryAssignmentIdentifier(), operator<(), and operator==().

◆ m_FeatureId

template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits<TPixelType, VDimension, VDimension>>
CellFeatureIdentifier itk::Mesh< TPixelType, VDimension, TMeshTraits >::BoundaryAssignmentIdentifier::m_FeatureId

The identification of the feature within the cell.

Definition at line 266 of file itkMesh.h.

Referenced by BoundaryAssignmentIdentifier(), operator<(), and operator==().


The documentation for this class was generated from the following file: