#include <itkSimplexMesh.h>
Inheritance diagram for itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >:
Public Types | |
typedef SimplexMesh | Self |
typedef Mesh< TPixelType, VDimension, TMeshTraits > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef SimplexMeshGeometry::IndexArray | IndexArray |
typedef std::set< unsigned long > | NeighborSetType |
typedef NeighborSetType::iterator | NeighborSetIterator |
typedef std::vector< unsigned long > | NeighborListType |
typedef TMeshTraits::PointType | PointType |
typedef TMeshTraits::PointIdentifier | PointIdentifier |
typedef PointType::VectorType | VectorType |
typedef Superclass::CellType | CellType |
typedef CellType::CellAutoPointer | CellAutoPointer |
typedef itk::LineCell< CellType > | LineType |
typedef itk::MapContainer< unsigned long, SimplexMeshGeometry * > | GeometryMapType |
typedef GeometryMapType::Pointer | GeometryMapPointer |
typedef GeometryMapType::Iterator | GeometryMapIterator |
typedef TMeshTraits | MeshTraits |
typedef MeshTraits::PixelType | PixelType |
typedef MeshTraits::PointsContainer | PointsContainer |
typedef Superclass::PointsContainerPointer | PointsContainerPointer |
typedef Superclass::PointsContainer::Iterator | PointsContainerIterator |
typedef Superclass::PointsContainerConstIterator | PointsContainerConstIterator |
typedef Superclass::CellsContainerPointer | CellsContainerPointer |
typedef Superclass::CellsContainerIterator | CellsContainerIterator |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | SetGeometryData (GeometryMapPointer _arg) |
virtual const GeometryMapPointer & | GetGeometryData () |
virtual void | SetLastCellId (unsigned long _arg) |
virtual unsigned long | GetLastCellId () |
virtual void | CopyInformation (const DataObject *data) |
unsigned long | AddEdge (unsigned long startPointId, unsigned long endPointId) |
unsigned long | AddFace (CellAutoPointer &cellPointer) |
unsigned long | ReplaceFace (unsigned long replaceIndex, CellAutoPointer &cellPointer) |
IndexArray | GetNeighbors (unsigned long pointId) const |
NeighborListType * | GetNeighbors (unsigned long pointId, unsigned int radius, NeighborListType *list=NULL) const |
void | AddNeighbor (unsigned long pointId, unsigned long neighborId) |
void | ReplaceNeighbor (unsigned long pointId, unsigned long oldNeighborId, unsigned long newNeighborIdx) |
void | SwapNeighbors (unsigned long pointId, unsigned long firstNeighborId, unsigned long secondNeighborId) |
void | SetGeometryData (unsigned long pointId, SimplexMeshGeometry *) |
void | SetBarycentricCoordinates (unsigned long idx, PointType values) |
PointType | GetBarycentricCoordinates (unsigned long idx) const |
void | SetReferenceMetrics (unsigned long idx, PointType values) |
PointType | GetReferenceMetrics (unsigned long idx) const |
void | SetPhi (unsigned long idx, double values) |
double | GetPhi (unsigned long idx) const |
void | SetMeanCurvature (unsigned long idx, double values) |
double | GetMeanCurvature (unsigned long idx) const |
void | SetRadius (unsigned long idx, double values) |
double | GetRadius (unsigned long idx) const |
void | SetDistance (unsigned long idx, double values) |
double | GetDistance (unsigned long idx) const |
PointType | ComputeNormal (unsigned long idx) const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
SimplexMesh () | |
virtual | ~SimplexMesh () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
GeometryMapPointer | m_GeometryData |
unsigned long | m_LastCellId |
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 53 of file itkSimplexMesh.h.
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 93 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 122 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 121 of file itkSimplexMesh.h. |
|
The base cell type for cells in this mesh. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 90 of file itkSimplexMesh.h. |
|
Standard typedefs. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 66 of file itkSimplexMesh.h. |
|
iterator definition for iterating over a geometry map Definition at line 105 of file itkSimplexMesh.h. |
|
smartpointer def for the geometry map Definition at line 102 of file itkSimplexMesh.h. |
|
map containing a SimplexMeshGeometry data object for each mesh point Definition at line 99 of file itkSimplexMesh.h. |
|
definition for array of indices Definition at line 69 of file itkSimplexMesh.h. |
|
Definition at line 96 of file itkSimplexMesh.h. |
|
Hold on to the type information specified by the template parameters. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 115 of file itkSimplexMesh.h. |
|
Definition at line 78 of file itkSimplexMesh.h. |
|
Definition at line 75 of file itkSimplexMesh.h. |
|
definition for a set of neighbor indices Definition at line 72 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 116 of file itkSimplexMesh.h. |
|
Standard typedefs. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 63 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 84 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 117 of file itkSimplexMesh.h. |
|
Create types that are iterators for each of the container types. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 120 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 119 of file itkSimplexMesh.h. |
|
Create types that are pointers to each of the container types. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 118 of file itkSimplexMesh.h. |
|
Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 81 of file itkSimplexMesh.h. |
|
Standard typedefs. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 57 of file itkSimplexMesh.h. |
|
Standard typedefs. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. Definition at line 60 of file itkSimplexMesh.h. |
|
Definition at line 87 of file itkSimplexMesh.h. |
|
Constructor for use by New() method. |
|
Constructor for use by New() method. |
|
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 |
|
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. |
|
Add a neighbor to a point. Note: This can destroy the simplex mesh topology! Better use te simplex mesh creation filters. |
|
compute the normal vector in the specified mesh point |
|
copy all necessary information from passed object to the mesh Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. |
|
Set the barycentric coordinates for a specified point |
|
Get the distance to the foot point for the specified point |
|
returns the current map of geometrydata |
|
Set the id value valid for new cells |
|
Get the mean curvature for the specified point |
|
Standard part of every itk Object. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. |
|
Get all neighbor points with a specified radius |
|
Get the three direct neighbors of a point |
|
Get the simplex angle for the specified point |
|
Get the circum circles radius for the specified point |
|
Return the reference metrics for the specified point |
|
Method for creation through the object factory. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. |
|
Constructor for use by New() method. Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >. |
|
Replaces the cell specified by replaceIndex with the new cell passed by its AutoPopinter |
|
Replace a neighbor of a specific point by a new one |
|
Set the geometry data for a specified point |
|
Set the distance to the foot point for the specified point |
|
Set the geometry data for a specified point |
|
set the map of geometrydata to the new pointer |
|
Get the first free id for new cells |
|
Set the mean curvature for the specified point |
|
Set the simplex angle for the specified point |
|
Set the circum circles radius for the specified point |
|
Set the reference metrics for a specified point |
|
Swap the order of two neighbors |
|
The map stores a SimplexMeshGeometry object for each mesh point Definition at line 272 of file itkSimplexMesh.h. |
|
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 281 of file itkSimplexMesh.h. |