ITK
6.0.0
Insight Toolkit
|
#include <itkSimplexMesh.h>
The class represents a 2-simplex mesh.
A simplex mesh can be used for deformable model segmentation of 3D image data. To create a simplex mesh one needs a triangle mesh, which can be converted to using the class itkTriangleMeshToSimplexMeshFilter. The back filtering (from simplex to triangle mesh)is done through a itkSimplexMeshToTriangleMeshFilter.
Definition at line 47 of file itkSimplexMesh.h.
Protected Member Functions | |
SimplexMesh () | |
~SimplexMesh () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Member Functions inherited from itk::Mesh< TPixelType, 3, DefaultStaticMeshTraits< TPixelType, 3, 3, TPixelType, TPixelType, TPixelType > > | |
void | ReleaseCellsMemory () |
Mesh () | |
~Mesh () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Member Functions inherited from itk::PointSet< TPixelType, VDimension, DefaultStaticMeshTraits< TPixelType, 3, 3, TPixelType, TPixelType, TPixelType > > | |
PointSet ()=default | |
~PointSet () override=default | |
Protected Member Functions inherited from itk::PointSetBase< TMeshTraits::PointsContainer > | |
PointSetBase ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~PointSetBase () override=0 | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
Static Public Attributes inherited from itk::Mesh< TPixelType, 3, DefaultStaticMeshTraits< TPixelType, 3, 3, TPixelType, TPixelType, TPixelType > > | |
static constexpr unsigned int | MaxTopologicalDimension |
static constexpr unsigned int | PointDimension |
Static Public Attributes inherited from itk::PointSetBase< TMeshTraits::PointsContainer > | |
static constexpr unsigned int | PointDimension |
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer = typename CellType::CellAutoPointer |
Definition at line 92 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ConstPointer = SmartPointer<const Self> |
Standard type alias.
Definition at line 62 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CovariantVectorType = CovariantVector<typename VectorType::ValueType, 3> |
Definition at line 86 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapConstIterator = typename GeometryMapType::ConstIterator |
Definition at line 106 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapIterator = typename GeometryMapType::Iterator |
iterator definition for iterating over a geometry map
Definition at line 105 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapPointer = typename GeometryMapType::Pointer |
smartpointer def for the geometry map
Definition at line 102 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapType = itk::MapContainer<SizeValueType, SimplexMeshGeometry *> |
map containing a SimplexMeshGeometry data object for each mesh point
Definition at line 99 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::IndexArray = typename SimplexMeshGeometry::IndexArray |
definition for array of indices.
Definition at line 65 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::LineType = itk::LineCell<CellType> |
Definition at line 95 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::MeshClassCellsAllocationMethodEnum = itk::MeshEnums::MeshClassCellsAllocationMethod |
Definition at line 109 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::MeshTraits = TMeshTraits |
Hold on to the type information specified by the template parameters.
Definition at line 118 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborListType = std::vector<SizeValueType> |
Definition at line 74 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetIterator = typename NeighborSetType::iterator |
Definition at line 71 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetType = std::set<SizeValueType> |
definition for a set of neighbor indices
Definition at line 68 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PixelType = typename MeshTraits::PixelType |
Definition at line 119 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Pointer = SmartPointer<Self> |
Standard type alias.
Definition at line 59 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointIdentifier = typename TMeshTraits::PointIdentifier |
Definition at line 80 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainer = typename MeshTraits::PointsContainer |
Definition at line 120 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator = typename Superclass::PointsContainer::Iterator |
Definition at line 122 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointType = typename TMeshTraits::PointType |
Definition at line 77 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Self = SimplexMesh |
Standard type alias.
Definition at line 53 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Superclass = Mesh<TPixelType, VDimension, TMeshTraits> |
Standard type alias.
Definition at line 56 of file itkSimplexMesh.h.
using itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::VectorType = typename PointType::VectorType |
Definition at line 83 of file itkSimplexMesh.h.
|
protected |
Constructor for use by New() method.
|
overrideprotected |
Constructor for use by New() method.
CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::AddEdge | ( | PointIdentifier | startPointId, |
PointIdentifier | endPointId | ||
) |
Add a new edge to the simplex mesh by specifying the ids of the start and end point of the edge Note: This can destroy the simplex mesh structure! Better use the simplex mesh modification or creation filters
CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::AddFace | ( | CellAutoPointer & | cellPointer | ) |
Add a new simplex mesh cell to the mesh by passing an AutoPointer of a previously created simplex mesh cell
Note: This can destroy the simplex mesh structure! You should use the simplex mesh modification or creation filters.
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::AddNeighbor | ( | PointIdentifier | pointIdx, |
PointIdentifier | neighborIdx | ||
) |
Add a neighbor to a point. Note: This can destroy the simplex mesh topology! Better use the simplex mesh creation filters.
CovariantVectorType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ComputeNormal | ( | PointIdentifier | idx | ) | const |
compute the normal vector in the specified mesh point
|
overridevirtual |
copy all necessary information from passed object to the mesh
Reimplemented from itk::DataObject.
PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetBarycentricCoordinates | ( | PointIdentifier | idx | ) | const |
Set the barycentric coordinates for a specified point
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetDistance | ( | PointIdentifier | idx | ) | const |
Get the distance to the foot point for the specified point
|
virtual |
returns the current map of geometrydata
|
virtual |
Set the id value valid for new cells
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetMeanCurvature | ( | PointIdentifier | idx | ) | const |
Get the mean curvature for the specified point
|
overridevirtual |
Reimplemented from itk::DataObject.
IndexArray itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors | ( | PointIdentifier | idx | ) | const |
Get the three direct neighbors of a point
NeighborListType * itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors | ( | PointIdentifier | idx, |
unsigned int | radius, | ||
NeighborListType * | list = nullptr |
||
) | const |
Get all neighbor points with a specified radius
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetPhi | ( | PointIdentifier | idx | ) | const |
Get the simplex angle for the specified point
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetRadius | ( | PointIdentifier | idx | ) | const |
Get the circum circles radius for the specified point
PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetReferenceMetrics | ( | PointIdentifier | idx | ) | const |
Return the reference metrics for the specified point
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Constructor for use by New() method.
Reimplemented from itk::DataObject.
CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ReplaceFace | ( | CellIdentifier | replaceIndex, |
CellAutoPointer & | cellPointer | ||
) |
Replaces the cell specified by replaceIndex with the new cell passed by its AutoPointer
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ReplaceNeighbor | ( | PointIdentifier | pointIdx, |
PointIdentifier | oldIdx, | ||
PointIdentifier | newIdx | ||
) |
Replace a neighbor of a specific point by a new one
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetBarycentricCoordinates | ( | PointIdentifier | idx, |
PointType | value | ||
) |
Set the geometry data for a specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetDistance | ( | PointIdentifier | idx, |
double | value | ||
) |
Set the distance to the foot point for the specified point
|
virtual |
set the map of geometrydata to the new pointer
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetGeometryData | ( | PointIdentifier | pointId, |
SimplexMeshGeometry * | |||
) |
Set the geometry data for a specified point
|
virtual |
Get the first free id for new cells
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetMeanCurvature | ( | PointIdentifier | idx, |
double | value | ||
) |
Set the mean curvature for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetPhi | ( | PointIdentifier | idx, |
double | value | ||
) |
Set the simplex angle for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetRadius | ( | PointIdentifier | idx, |
double | value | ||
) |
Set the circum circles radius for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetReferenceMetrics | ( | PointIdentifier | idx, |
PointType | value | ||
) |
Set the reference metrics for a specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SwapNeighbors | ( | PointIdentifier | pointIdx, |
PointIdentifier | firstIdx, | ||
PointIdentifier | secondIdx | ||
) |
Swap the order of two neighbors
|
protected |
The map stores a SimplexMeshGeometry object for each mesh point
Definition at line 300 of file itkSimplexMesh.h.
|
protected |
The last cell id is the index which is used for insertion of new cells. It increases during mesh creation. This is done because one cannot rely on the size of the map or the highest index when cells are removed.
Definition at line 308 of file itkSimplexMesh.h.