Skip to content

Commit

Permalink
STYLE: Remove VectorContainer Identifier template argument in MeshTraits
Browse files Browse the repository at this point in the history
Following pull request InsightSoftwareConsortium#4856
commit edae0bc
"STYLE: Remove IdentifierType template argument from VectorContainer uses"
  • Loading branch information
N-Dekker committed Oct 10, 2024
1 parent 15af3ae commit f613c01
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Modules/Core/Common/include/itkDefaultStaticMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits

/** The container type for use in storing points. It must conform to
* the IndexedContainer interface. */
using PointsContainer = VectorContainer<PointIdentifier, PointType>;
using PointsContainer = VectorContainer<PointType>;

/** The container type that will be used to store boundary links
* back to cells. This must conform to the STL "set" interface. */
Expand All @@ -114,23 +114,23 @@ class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits

/** The container type for use in storing cells. It must conform to
* the IndexedContainer interface. */
using CellsContainer = VectorContainer<CellIdentifier, CellType *>;
using CellsContainer = VectorContainer<CellType *>;

/** The CellLinks container should be a container of PointCellLinksContainer,
* which should be a container conforming to the STL "set" interface. */
using PointCellLinksContainer = std::set<CellIdentifier>;

/** The container type for use in storing point links back to cells.
* It must conform to the IndexedContainer interface. */
using CellLinksContainer = VectorContainer<PointIdentifier, PointCellLinksContainer>;
using CellLinksContainer = VectorContainer<PointCellLinksContainer>;

/** The container type for use in storing point data. It must conform to
* the IndexedContainer interface. */
using PointDataContainer = VectorContainer<PointIdentifier, PixelType>;
using PointDataContainer = VectorContainer<PixelType>;

/** The container type for use in storing cell data. It must conform to
* the IndexedContainer interface. */
using CellDataContainer = VectorContainer<CellIdentifier, CellPixelType>;
using CellDataContainer = VectorContainer<CellPixelType>;
};
} // end namespace itk

Expand Down

0 comments on commit f613c01

Please sign in to comment.