ITK
4.1.0
Insight Segmentation and Registration 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 trinagle mesh)is done through a itkSimplexMeshToTriangleMeshFilter.
Definition at line 48 of file itkSimplexMesh.h.
typedef CellType::CellAutoPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 91 of file itkSimplexMesh.h.
typedef Superclass::CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 124 of file itkSimplexMesh.h.
typedef Superclass::CellsContainerConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstIterator |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 123 of file itkSimplexMesh.h.
typedef Superclass::CellsContainerConstPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstPointer |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 121 of file itkSimplexMesh.h.
typedef Superclass::CellsContainerIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerIterator |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 122 of file itkSimplexMesh.h.
typedef Superclass::CellsContainerPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerPointer |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 120 of file itkSimplexMesh.h.
typedef Superclass::CellType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellType |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 88 of file itkSimplexMesh.h.
typedef SmartPointer< const Self > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ConstPointer |
Standard typedefs.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 61 of file itkSimplexMesh.h.
typedef CovariantVector< typename VectorType::ValueType, 3 > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CovariantVectorType |
Definition at line 85 of file itkSimplexMesh.h.
typedef GeometryMapType::ConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapConstIterator |
Definition at line 105 of file itkSimplexMesh.h.
typedef GeometryMapType::Iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapIterator |
iterator definition for iterating over a geometry map
Definition at line 104 of file itkSimplexMesh.h.
typedef GeometryMapType::Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapPointer |
smartpointer def for the geometry map
Definition at line 101 of file itkSimplexMesh.h.
typedef itk::MapContainer< SizeValueType, SimplexMeshGeometry * > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapType |
map containing a SimplexMeshGeometry data object for each mesh point
Definition at line 98 of file itkSimplexMesh.h.
typedef SimplexMeshGeometry::IndexArray itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::IndexArray |
definition for array of indices.
Definition at line 64 of file itkSimplexMesh.h.
typedef itk::LineCell< CellType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::LineType |
Definition at line 94 of file itkSimplexMesh.h.
typedef TMeshTraits itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::MeshTraits |
Hold on to the type information specified by the template parameters.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 111 of file itkSimplexMesh.h.
typedef std::vector< SizeValueType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborListType |
Definition at line 73 of file itkSimplexMesh.h.
typedef NeighborSetType::iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetIterator |
Definition at line 70 of file itkSimplexMesh.h.
typedef std::set< SizeValueType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetType |
definition for a set of neighbor indices
Definition at line 67 of file itkSimplexMesh.h.
typedef MeshTraits::PixelType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PixelType |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 115 of file itkSimplexMesh.h.
typedef SmartPointer< Self > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Pointer |
Standard typedefs.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 58 of file itkSimplexMesh.h.
typedef TMeshTraits::PointIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointIdentifier |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 79 of file itkSimplexMesh.h.
typedef MeshTraits::PointsContainer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainer |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 116 of file itkSimplexMesh.h.
typedef Superclass::PointsContainerConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerConstIterator |
Create types that are iterators for each of the container types.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 119 of file itkSimplexMesh.h.
typedef Superclass::PointsContainer::Iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 118 of file itkSimplexMesh.h.
typedef Superclass::PointsContainerPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerPointer |
Create types that are pointers to each of the container types.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 117 of file itkSimplexMesh.h.
typedef TMeshTraits::PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointType |
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 76 of file itkSimplexMesh.h.
typedef SimplexMesh itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Self |
Standard typedefs.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 52 of file itkSimplexMesh.h.
typedef Mesh< TPixelType, VDimension, TMeshTraits > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Superclass |
Standard typedefs.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
Definition at line 55 of file itkSimplexMesh.h.
typedef PointType::VectorType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::VectorType |
Definition at line 82 of file itkSimplexMesh.h.
itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SimplexMesh | ( | ) | [protected] |
Constructor for use by New() method.
virtual itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::~SimplexMesh | ( | ) | [protected, virtual] |
Constructor for use by New() method.
itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SimplexMesh | ( | const Self & | ) | [private] |
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 | pointId, |
PointIdentifier | neighborId | ||
) |
Add a neighbor to a point. Note: This can destroy the simplex mesh topology! Better use te simplex mesh creation filters.
CovariantVectorType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ComputeNormal | ( | PointIdentifier | idx | ) | const |
compute the normal vector in the specified mesh point
virtual void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CopyInformation | ( | const DataObject * | data | ) | [virtual] |
copy all necessary information from passed object to the mesh
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
virtual::itk::LightObject::Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
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 const GeometryMapPointer& itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetGeometryData | ( | ) | [virtual] |
returns the current map of geometrydata
virtual CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetLastCellId | ( | ) | const [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
virtual const char* itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNameOfClass | ( | ) | const [virtual] |
Standard part of every itk Object.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
IndexArray itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors | ( | PointIdentifier | pointId | ) | const |
Get the three direct neighbors of a point
NeighborListType* itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors | ( | PointIdentifier | pointId, |
unsigned int | radius, | ||
NeighborListType * | list = NULL |
||
) | 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 Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Constructor for use by New() method.
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.
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 | pointId, |
PointIdentifier | oldNeighborId, | ||
PointIdentifier | newNeighborIdx | ||
) |
Replace a neighbor of a specific point by a new one
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetBarycentricCoordinates | ( | PointIdentifier | idx, |
PointType | values | ||
) |
Set the geometry data for a specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetDistance | ( | PointIdentifier | idx, |
double | values | ||
) |
Set the distance to the foot point for the specified point
virtual void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetGeometryData | ( | GeometryMapPointer | _arg | ) | [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 void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetLastCellId | ( | CellIdentifier | _arg | ) | [virtual] |
Get the first free id for new cells
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetMeanCurvature | ( | PointIdentifier | idx, |
double | values | ||
) |
Set the mean curvature for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetPhi | ( | PointIdentifier | idx, |
double | values | ||
) |
Set the simplex angle for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetRadius | ( | PointIdentifier | idx, |
double | values | ||
) |
Set the circum circles radius for the specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetReferenceMetrics | ( | PointIdentifier | idx, |
PointType | values | ||
) |
Set the reference metrics for a specified point
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SwapNeighbors | ( | PointIdentifier | pointId, |
PointIdentifier | firstNeighborId, | ||
PointIdentifier | secondNeighborId | ||
) |
Swap the order of two neighbors
GeometryMapPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::m_GeometryData [protected] |
The map stores a SimplexMeshGeometry object for each mesh point
Definition at line 272 of file itkSimplexMesh.h.
CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::m_LastCellId [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 280 of file itkSimplexMesh.h.