ITK  4.12.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
itk::SimplexMesh< TPixelType, VDimension, TMeshTraits > Class Template Reference

#include <itkSimplexMesh.h>

+ Inheritance diagram for itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >:
+ Collaboration diagram for itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >:

Detailed Description

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

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.

Author
Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.
Examples:
WikiExamples/Meshes/AreaAndVolume.cxx.

Definition at line 47 of file itkSimplexMesh.h.

Public Types

typedef CellType::CellAutoPointer CellAutoPointer
 
typedef Superclass::CellIdentifier CellIdentifier
 
typedef
Superclass::CellsContainerConstIterator 
CellsContainerConstIterator
 
typedef
Superclass::CellsContainerConstPointer 
CellsContainerConstPointer
 
typedef
Superclass::CellsContainerIterator 
CellsContainerIterator
 
typedef
Superclass::CellsContainerPointer 
CellsContainerPointer
 
typedef Superclass::CellType CellType
 
typedef SmartPointer< const SelfConstPointer
 
typedef CovariantVector
< typename
VectorType::ValueType, 3 > 
CovariantVectorType
 
typedef
GeometryMapType::ConstIterator 
GeometryMapConstIterator
 
typedef GeometryMapType::Iterator GeometryMapIterator
 
typedef GeometryMapType::Pointer GeometryMapPointer
 
typedef itk::MapContainer
< SizeValueType,
SimplexMeshGeometry * > 
GeometryMapType
 
typedef
SimplexMeshGeometry::IndexArray 
IndexArray
 
typedef itk::LineCell< CellTypeLineType
 
typedef TMeshTraits MeshTraits
 
typedef std::vector
< SizeValueType
NeighborListType
 
typedef NeighborSetType::iterator NeighborSetIterator
 
typedef std::set< SizeValueTypeNeighborSetType
 
typedef MeshTraits::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
TMeshTraits::PointIdentifier 
PointIdentifier
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
Superclass::PointsContainerConstIterator 
PointsContainerConstIterator
 
typedef
Superclass::PointsContainer::Iterator 
PointsContainerIterator
 
typedef
Superclass::PointsContainerPointer 
PointsContainerPointer
 
typedef TMeshTraits::PointType PointType
 
typedef SimplexMesh Self
 
typedef Mesh< TPixelType,
VDimension, TMeshTraits > 
Superclass
 
typedef PointType::VectorType VectorType
 
- Public Types inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
typedef MapContainer
< BoundaryAssignmentIdentifier,
CellIdentifier
BoundaryAssignmentsContainer
 
typedef
BoundaryAssignmentsContainer::Pointer 
BoundaryAssignmentsContainerPointer
 
typedef std::vector
< BoundaryAssignmentsContainerPointer
BoundaryAssignmentsContainerVector
 
typedef BoundingBoxType::Pointer BoundingBoxPointer
 
typedef BoundingBox
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
BoundingBoxType
 
typedef CellType::CellAutoPointer CellAutoPointer
 
typedef
MeshTraits::CellDataContainer 
CellDataContainer
 
typedef
CellDataContainer::ConstPointer 
CellDataContainerConstPointer
 
typedef
CellDataContainer::ConstIterator 
CellDataContainerIterator
 
typedef CellDataContainer::Pointer CellDataContainerPointer
 
typedef CellFeatureIdentifier CellFeatureCount
 
typedef
MeshTraits::CellFeatureIdentifier 
CellFeatureIdentifier
 
typedef MeshTraits::CellIdentifier CellIdentifier
 
typedef
MeshTraits::CellLinksContainer 
CellLinksContainer
 
typedef
CellLinksContainer::ConstPointer 
CellLinksContainerConstPointer
 
typedef
CellLinksContainer::ConstIterator 
CellLinksContainerIterator
 
typedef CellLinksContainer::Pointer CellLinksContainerPointer
 
typedef CellType::MultiVisitor CellMultiVisitorType
 
typedef MeshTraits::CellPixelType CellPixelType
 
enum  CellsAllocationMethodType {
  CellsAllocationMethodUndefined,
  CellsAllocatedAsStaticArray,
  CellsAllocatedAsADynamicArray,
  CellsAllocatedDynamicallyCellByCell
}
 
typedef MeshTraits::CellsContainer CellsContainer
 
typedef
CellsContainer::ConstIterator 
CellsContainerConstIterator
 
typedef
CellsContainer::ConstPointer 
CellsContainerConstPointer
 
typedef CellsContainer::Iterator CellsContainerIterator
 
typedef CellsContainer::Pointer CellsContainerPointer
 
typedef MeshTraits::CellTraits CellTraits
 
typedef CellInterface
< CellPixelType, CellTraits
CellType
 
typedef SmartPointer< const SelfConstPointer
 
typedef MeshTraits::CoordRepType CoordRepType
 
typedef
MeshTraits::InterpolationWeightType 
InterpolationWeightType
 
typedef TMeshTraits MeshTraits
 
typedef MeshTraits::PixelType PixelType
 
typedef
MeshTraits::PointCellLinksContainer 
PointCellLinksContainer
 
typedef
PointCellLinksContainer::const_iterator 
PointCellLinksContainerIterator
 
typedef
MeshTraits::PointDataContainer 
PointDataContainer
 
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
 
typedef PointDataContainer::Pointer PointDataContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef MeshTraits::PointHashType PointHashType
 
typedef MeshTraits::PointIdentifier PointIdentifier
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef PointsContainer::Iterator PointsContainerIterator
 
typedef PointsContainer::Pointer PointsContainerPointer
 
typedef MeshTraits::PointType PointType
 
typedef Superclass::RegionType RegionType
 
typedef Mesh Self
 
typedef PointSet< TPixelType,
VDimension, TMeshTraits > 
Superclass
 
- Public Types inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
typedef SmartPointer< const SelfConstPointer
 
typedef MeshTraits::CoordRepType CoordRepType
 
typedef TMeshTraits MeshTraits
 
typedef MeshTraits::PixelType PixelType
 
typedef
MeshTraits::PointDataContainer 
PointDataContainer
 
typedef
PointDataContainer::ConstPointer 
PointDataContainerConstPointer
 
typedef
PointDataContainer::ConstIterator 
PointDataContainerIterator
 
typedef PointDataContainer::Pointer PointDataContainerPointer
 
typedef SmartPointer< SelfPointer
 
typedef MeshTraits::PointIdentifier PointIdentifier
 
typedef MeshTraits::PointsContainer PointsContainer
 
typedef
PointsContainer::ConstIterator 
PointsContainerConstIterator
 
typedef
PointsContainer::ConstPointer 
PointsContainerConstPointer
 
typedef PointsContainer::Iterator PointsContainerIterator
 
typedef PointsContainer::Pointer PointsContainerPointer
 
typedef MeshTraits::PointType PointType
 
typedef long RegionType
 
typedef PointSet Self
 
typedef DataObject Superclass
 

Public Member Functions

CellIdentifier AddEdge (PointIdentifier startPointId, PointIdentifier endPointId)
 
CellIdentifier AddFace (CellAutoPointer &cellPointer)
 
void AddNeighbor (PointIdentifier pointId, PointIdentifier neighborId)
 
CovariantVectorType ComputeNormal (PointIdentifier idx) const
 
virtual void CopyInformation (const DataObject *data) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
PointType GetBarycentricCoordinates (PointIdentifier idx) const
 
double GetDistance (PointIdentifier idx) const
 
virtual const GeometryMapPointerGetGeometryData () const
 
virtual CellIdentifier GetLastCellId () const
 
double GetMeanCurvature (PointIdentifier idx) const
 
virtual const char * GetNameOfClass () const
 
IndexArray GetNeighbors (PointIdentifier pointId) const
 
NeighborListTypeGetNeighbors (PointIdentifier pointId, unsigned int radius, NeighborListType *list=nullptr) const
 
double GetPhi (PointIdentifier idx) const
 
double GetRadius (PointIdentifier idx) const
 
PointType GetReferenceMetrics (PointIdentifier idx) const
 
CellIdentifier ReplaceFace (CellIdentifier replaceIndex, CellAutoPointer &cellPointer)
 
void ReplaceNeighbor (PointIdentifier pointId, PointIdentifier oldNeighborId, PointIdentifier newNeighborIdx)
 
void SetBarycentricCoordinates (PointIdentifier idx, PointType values)
 
void SetDistance (PointIdentifier idx, double values)
 
virtual void SetGeometryData (GeometryMapPointer _arg)
 
void SetGeometryData (PointIdentifier pointId, SimplexMeshGeometry *)
 
virtual void SetLastCellId (CellIdentifier _arg)
 
void SetMeanCurvature (PointIdentifier idx, double values)
 
void SetPhi (PointIdentifier idx, double values)
 
void SetRadius (PointIdentifier idx, double values)
 
void SetReferenceMetrics (PointIdentifier idx, PointType values)
 
void SwapNeighbors (PointIdentifier pointId, PointIdentifier firstNeighborId, PointIdentifier secondNeighborId)
 
- Public Member Functions inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
virtual void Accept (CellMultiVisitorType *mv) const
 
void BuildCellLinks () const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
bool GetAssignedCellBoundaryIfOneExists (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
bool GetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier *boundaryId) const
 
BoundaryAssignmentsContainerPointer GetBoundaryAssignments (int dimension)
 
const
BoundaryAssignmentsContainerPointer 
GetBoundaryAssignments (int dimension) const
 
const BoundingBoxTypeGetBoundingBox () const
 
bool GetCell (CellIdentifier, CellAutoPointer &) const
 
bool GetCellBoundaryFeature (int dimension, CellIdentifier, CellFeatureIdentifier, CellAutoPointer &) const
 
CellIdentifier GetCellBoundaryFeatureNeighbors (int dimension, CellIdentifier, CellFeatureIdentifier, std::set< CellIdentifier > *cellSet)
 
CellDataContainerGetCellData ()
 
const CellDataContainerGetCellData () const
 
CellLinksContainerGetCellLinks ()
 
const CellLinksContainerGetCellLinks () const
 
CellIdentifier GetCellNeighbors (CellIdentifier cellId, std::set< CellIdentifier > *cellSet)
 
CellsContainerGetCells ()
 
const CellsContainerGetCells () const
 
CellFeatureCount GetNumberOfCellBoundaryFeatures (int dimension, CellIdentifier) const
 
CellIdentifier GetNumberOfCells () const
 
virtual void Graft (const DataObject *data) override
 
virtual void Initialize () override
 
void PassStructure (Self *inputMesh)
 
bool RemoveBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId)
 
void SetBoundaryAssignment (int dimension, CellIdentifier cellId, CellFeatureIdentifier featureId, CellIdentifier boundaryId)
 
void SetBoundaryAssignments (int dimension, BoundaryAssignmentsContainer *)
 
void SetCell (CellIdentifier, CellAutoPointer &)
 
void SetCellData (CellDataContainer *)
 
void SetCellLinks (CellLinksContainer *)
 
void SetCells (CellsContainer *)
 
void SetCellData (CellIdentifier, CellPixelType)
 
bool GetCellData (CellIdentifier, CellPixelType *) const
 
virtual void SetCellsAllocationMethod (CellsAllocationMethodType _arg)
 
virtual const
CellsAllocationMethodType
GetCellsAllocationMethod () const
 
- Public Member Functions inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual RegionType GetBufferedRegion () const
 
virtual RegionType GetMaximumNumberOfRegions () const
 
PointIdentifier GetNumberOfPoints () const
 
PointDataContainerGetPointData ()
 
const PointDataContainerGetPointData () const
 
PointsContainerGetPoints ()
 
const PointsContainerGetPoints () const
 
virtual RegionType GetRequestedRegion () const
 
void PassStructure (Self *inputPointSet)
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
void SetPointData (PointDataContainer *)
 
void SetPoints (PointsContainer *)
 
virtual void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegionToLargestPossibleRegion () override
 
virtual void UpdateOutputInformation () override
 
virtual bool VerifyRequestedRegion () override
 
void SetPoint (PointIdentifier, PointType)
 
bool GetPoint (PointIdentifier, PointType *) const
 
PointType GetPoint (PointIdentifier) const
 
void SetPointData (PointIdentifier, PixelType)
 
bool GetPointData (PointIdentifier, PixelType *) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
static Pointer New ()
 

Protected Member Functions

 SimplexMesh ()
 
virtual ~SimplexMesh ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
void ReleaseCellsMemory ()
 
 Mesh ()
 
 ~Mesh ()
 
- Protected Member Functions inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
 PointSet ()
 
 ~PointSet ()
 

Protected Attributes

GeometryMapPointer m_GeometryData
 
CellIdentifier m_LastCellId
 
- Protected Attributes inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
BoundaryAssignmentsContainerVector m_BoundaryAssignmentsContainers
 
BoundingBoxPointer m_BoundingBox
 
CellDataContainerPointer m_CellDataContainer
 
CellLinksContainerPointer m_CellLinksContainer
 
CellsContainerPointer m_CellsContainer
 
- Protected Attributes inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
RegionType m_BufferedRegion
 
RegionType m_MaximumNumberOfRegions
 
RegionType m_NumberOfRegions
 
PointDataContainerPointer m_PointDataContainer
 
PointsContainerPointer m_PointsContainer
 
RegionType m_RequestedNumberOfRegions
 
RegionType m_RequestedRegion
 

Additional Inherited Members

- Static Public Attributes inherited from itk::Mesh< TPixelType, VDimension, TMeshTraits >
static const unsigned int PointDimension = TMeshTraits::PointDimension
 
static const unsigned int MaxTopologicalDimension = TMeshTraits::MaxTopologicalDimension
 
- Static Public Attributes inherited from itk::PointSet< TPixelType, VDimension, TMeshTraits >
static const unsigned int PointDimension = TMeshTraits::PointDimension
 

Member Typedef Documentation

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef CellType::CellAutoPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellAutoPointer

Definition at line 90 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellIdentifier

Definition at line 123 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellsContainerConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstIterator

Definition at line 122 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellsContainerConstPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerConstPointer

Definition at line 120 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellsContainerIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerIterator

Definition at line 121 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellsContainerPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellsContainerPointer

Definition at line 119 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::CellType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CellType

Definition at line 87 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef SmartPointer< const Self > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ConstPointer

Standard typedefs.

Definition at line 60 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef CovariantVector< typename VectorType::ValueType, 3 > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CovariantVectorType

Definition at line 84 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef GeometryMapType::ConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapConstIterator

Definition at line 104 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef GeometryMapType::Iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapIterator

iterator definition for iterating over a geometry map

Definition at line 103 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef GeometryMapType::Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapPointer

smartpointer def for the geometry map

Definition at line 100 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef itk::MapContainer< SizeValueType, SimplexMeshGeometry * > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GeometryMapType

map containing a SimplexMeshGeometry data object for each mesh point

Definition at line 97 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef SimplexMeshGeometry::IndexArray itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::IndexArray

definition for array of indices.

Definition at line 63 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef itk::LineCell< CellType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::LineType

Definition at line 93 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef TMeshTraits itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::MeshTraits

Hold on to the type information specified by the template parameters.

Definition at line 110 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef std::vector< SizeValueType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborListType

Definition at line 72 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef NeighborSetType::iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetIterator

Definition at line 69 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef std::set< SizeValueType > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::NeighborSetType

definition for a set of neighbor indices

Definition at line 66 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef MeshTraits::PixelType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PixelType

Definition at line 114 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef SmartPointer< Self > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Pointer

Standard typedefs.

Definition at line 57 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef TMeshTraits::PointIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointIdentifier

Definition at line 78 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef MeshTraits::PointsContainer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainer

Definition at line 115 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::PointsContainerConstIterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerConstIterator

Definition at line 118 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::PointsContainer::Iterator itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator

Definition at line 117 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Superclass::PointsContainerPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointsContainerPointer

Definition at line 116 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef TMeshTraits::PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PointType

Definition at line 75 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef SimplexMesh itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Self

Standard typedefs.

Definition at line 51 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef Mesh< TPixelType, VDimension, TMeshTraits > itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::Superclass

Standard typedefs.

Definition at line 54 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
typedef PointType::VectorType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::VectorType

Definition at line 81 of file itkSimplexMesh.h.

Constructor & Destructor Documentation

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SimplexMesh ( )
protected

Constructor for use by New() method.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::~SimplexMesh ( )
protectedvirtual

Constructor for use by New() method.

Member Function Documentation

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
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

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
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.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
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.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
CovariantVectorType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ComputeNormal ( PointIdentifier  idx) const

compute the normal vector in the specified mesh point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CopyInformation ( const DataObject data)
overridevirtual

copy all necessary information from passed object to the mesh

Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual::itk::LightObject::Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::CreateAnother ( ) const
template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetBarycentricCoordinates ( PointIdentifier  idx) const

Set the barycentric coordinates for a specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetDistance ( PointIdentifier  idx) const

Get the distance to the foot point for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual const GeometryMapPointer& itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetGeometryData ( ) const
virtual

returns the current map of geometrydata

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual CellIdentifier itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetLastCellId ( ) const
virtual

Set the id value valid for new cells

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetMeanCurvature ( PointIdentifier  idx) const

Get the mean curvature for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual const char* itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNameOfClass ( ) const
virtual

Standard part of every itk Object.

Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
IndexArray itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors ( PointIdentifier  pointId) const

Get the three direct neighbors of a point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
NeighborListType* itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetNeighbors ( PointIdentifier  pointId,
unsigned int  radius,
NeighborListType list = nullptr 
) const

Get all neighbor points with a specified radius

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetPhi ( PointIdentifier  idx) const

Get the simplex angle for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
double itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetRadius ( PointIdentifier  idx) const

Get the circum circles radius for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
PointType itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::GetReferenceMetrics ( PointIdentifier  idx) const

Return the reference metrics for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
static Pointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::New ( )
static

Method for creation through the object factory.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Constructor for use by New() method.

Reimplemented from itk::Mesh< TPixelType, VDimension, TMeshTraits >.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
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

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::ReplaceNeighbor ( PointIdentifier  pointId,
PointIdentifier  oldNeighborId,
PointIdentifier  newNeighborIdx 
)

Replace a neighbor of a specific point by a new one

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetBarycentricCoordinates ( PointIdentifier  idx,
PointType  values 
)

Set the geometry data for a specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetDistance ( PointIdentifier  idx,
double  values 
)

Set the distance to the foot point for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetGeometryData ( GeometryMapPointer  _arg)
virtual

set the map of geometrydata to the new pointer

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetGeometryData ( PointIdentifier  pointId,
SimplexMeshGeometry  
)

Set the geometry data for a specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
virtual void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetLastCellId ( CellIdentifier  _arg)
virtual

Get the first free id for new cells

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetMeanCurvature ( PointIdentifier  idx,
double  values 
)

Set the mean curvature for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetPhi ( PointIdentifier  idx,
double  values 
)

Set the simplex angle for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetRadius ( PointIdentifier  idx,
double  values 
)

Set the circum circles radius for the specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SetReferenceMetrics ( PointIdentifier  idx,
PointType  values 
)

Set the reference metrics for a specified point

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
void itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::SwapNeighbors ( PointIdentifier  pointId,
PointIdentifier  firstNeighborId,
PointIdentifier  secondNeighborId 
)

Swap the order of two neighbors

Member Data Documentation

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
GeometryMapPointer itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >::m_GeometryData
protected

The map stores a SimplexMeshGeometry object for each mesh point

Definition at line 271 of file itkSimplexMesh.h.

template<typename TPixelType , unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension, TPixelType, TPixelType, TPixelType >>
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 279 of file itkSimplexMesh.h.


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