ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkQuadEdgeMesh.h>
Mesh class for 2D manifolds embedded in ND space.
This implementation was contributed as a paper to the Insight Journal https://hdl.handle.net/1926/306
Definition at line 117 of file itkQuadEdgeMesh.h.
Static Public Attributes | |
static const CellIdentifier | m_NoFace |
static const PointIdentifier | m_NoPoint |
static const unsigned int | PointDimension = Traits::PointDimension |
static const unsigned int | MaxTopologicalDimension = Traits::MaxTopologicalDimension |
Static Public Attributes inherited from itk::Mesh< TPixel, VDimension, TTraits > | |
static const unsigned int | PointDimension |
static const unsigned int | MaxTopologicalDimension |
Static Public Attributes inherited from itk::PointSet< TPixel, VDimension, TTraits > | |
static const unsigned int | PointDimension |
Protected Member Functions | |
virtual void | ClearCellsContainer () |
QuadEdgeMesh () | |
virtual | ~QuadEdgeMesh () |
Protected Member Functions inherited from itk::Mesh< TPixel, VDimension, TTraits > | |
void | ReleaseCellsMemory () |
Mesh () | |
~Mesh () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Member Functions inherited from itk::PointSet< TPixel, VDimension, TTraits > | |
PointSet () | |
~PointSet () | |
Private Attributes | |
CellIdentifier | m_NumberOfEdges |
CellIdentifier | m_NumberOfFaces |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Mesh< TPixel, VDimension, TTraits > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PointSet< TPixel, VDimension, TTraits > | |
static Pointer | New () |
typedef Superclass::BoundaryAssignmentsContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::BoundaryAssignmentsContainer |
Definition at line 202 of file itkQuadEdgeMesh.h.
typedef Superclass::BoundaryAssignmentsContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::BoundaryAssignmentsContainerPointer |
Definition at line 204 of file itkQuadEdgeMesh.h.
typedef Superclass::BoundaryAssignmentsContainerVector itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::BoundaryAssignmentsContainerVector |
Definition at line 206 of file itkQuadEdgeMesh.h.
typedef Superclass::BoundingBoxPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::BoundingBoxPointer |
Definition at line 209 of file itkQuadEdgeMesh.h.
typedef Superclass::BoundingBoxType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::BoundingBoxType |
Definition at line 210 of file itkQuadEdgeMesh.h.
typedef Superclass::CellAutoPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellAutoPointer |
Definition at line 169 of file itkQuadEdgeMesh.h.
typedef Superclass::CellDataContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellDataContainer |
Definition at line 188 of file itkQuadEdgeMesh.h.
typedef Superclass::CellDataContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellDataContainerIterator |
Definition at line 192 of file itkQuadEdgeMesh.h.
typedef Superclass::CellDataContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellDataContainerPointer |
Definition at line 190 of file itkQuadEdgeMesh.h.
typedef Superclass::CellFeatureCount itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellFeatureCount |
Definition at line 171 of file itkQuadEdgeMesh.h.
typedef Superclass::CellFeatureIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellFeatureIdentifier |
Definition at line 170 of file itkQuadEdgeMesh.h.
typedef Superclass::CellIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellIdentifier |
Definition at line 167 of file itkQuadEdgeMesh.h.
typedef Superclass::CellLinksContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellLinksContainer |
Definition at line 181 of file itkQuadEdgeMesh.h.
typedef Superclass::CellLinksContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellLinksContainerIterator |
Definition at line 185 of file itkQuadEdgeMesh.h.
typedef Superclass::CellLinksContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellLinksContainerPointer |
Definition at line 183 of file itkQuadEdgeMesh.h.
typedef Superclass::CellMultiVisitorType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellMultiVisitorType |
Definition at line 172 of file itkQuadEdgeMesh.h.
typedef Superclass::CellPixelType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellPixelType |
Types defined in superclass.
Definition at line 139 of file itkQuadEdgeMesh.h.
typedef Superclass::CellsContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellsContainer |
Definition at line 173 of file itkQuadEdgeMesh.h.
typedef Superclass::CellsContainerConstIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellsContainerConstIterator |
Definition at line 177 of file itkQuadEdgeMesh.h.
typedef Superclass::CellsContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellsContainerIterator |
Definition at line 179 of file itkQuadEdgeMesh.h.
typedef Superclass::CellsContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellsContainerPointer |
Definition at line 174 of file itkQuadEdgeMesh.h.
typedef Superclass::CellTraits itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellTraits |
Definition at line 144 of file itkQuadEdgeMesh.h.
typedef Superclass::CellType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CellType |
Definition at line 168 of file itkQuadEdgeMesh.h.
typedef SmartPointer< const Self > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::ConstPointer |
Definition at line 129 of file itkQuadEdgeMesh.h.
typedef CoordRepType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CoordRepArrayType[itkGetStaticConstMacro(PointDimension)] |
Definition at line 153 of file itkQuadEdgeMesh.h.
typedef Superclass::CoordRepType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CoordRepType |
Definition at line 140 of file itkQuadEdgeMesh.h.
typedef Traits::DualDataType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::DualDataType |
Definition at line 217 of file itkQuadEdgeMesh.h.
typedef QuadEdgeMeshLineCell< CellType > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::EdgeCellType |
Possible specialized cell types.
Definition at line 228 of file itkQuadEdgeMesh.h.
typedef EdgeListType* itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::EdgeListPointerType |
Definition at line 238 of file itkQuadEdgeMesh.h.
typedef std::list< QEPrimal * > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::EdgeListType |
Definition at line 237 of file itkQuadEdgeMesh.h.
typedef Traits::FaceRefType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::FaceRefType |
Definition at line 224 of file itkQuadEdgeMesh.h.
typedef std::queue< CellIdentifier > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::FreeCellIndexesType |
Definition at line 233 of file itkQuadEdgeMesh.h.
typedef std::queue< PointIdentifier > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::FreePointIndexesType |
Free insertion indexes.
Definition at line 232 of file itkQuadEdgeMesh.h.
typedef Superclass::InterpolationWeightType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::InterpolationWeightType |
Definition at line 213 of file itkQuadEdgeMesh.h.
typedef TPixel itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PixelType |
Definition at line 123 of file itkQuadEdgeMesh.h.
typedef Superclass::PointCellLinksContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointCellLinksContainer |
Definition at line 196 of file itkQuadEdgeMesh.h.
typedef Superclass::PointCellLinksContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointCellLinksContainerIterator |
Definition at line 198 of file itkQuadEdgeMesh.h.
typedef Superclass::PointDataContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointDataContainer |
Definition at line 156 of file itkQuadEdgeMesh.h.
typedef Superclass::PointDataContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointDataContainerIterator |
Definition at line 160 of file itkQuadEdgeMesh.h.
typedef Superclass::PointDataContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointDataContainerPointer |
Definition at line 158 of file itkQuadEdgeMesh.h.
typedef SmartPointer< Self > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::Pointer |
Definition at line 128 of file itkQuadEdgeMesh.h.
typedef Superclass::PointHashType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointHashType |
Definition at line 142 of file itkQuadEdgeMesh.h.
typedef Superclass::PointIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointIdentifier |
Definition at line 141 of file itkQuadEdgeMesh.h.
typedef CellTraits::PointIdInternalIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointIdInternalIterator |
Definition at line 146 of file itkQuadEdgeMesh.h.
typedef CellTraits::PointIdIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointIdIterator |
Definition at line 147 of file itkQuadEdgeMesh.h.
typedef std::vector< PointIdentifier > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointIdList |
Auxiliary types.
Definition at line 236 of file itkQuadEdgeMesh.h.
typedef Superclass::PointsContainer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointsContainer |
Definition at line 150 of file itkQuadEdgeMesh.h.
typedef Superclass::PointsContainerConstIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointsContainerConstIterator |
Definition at line 162 of file itkQuadEdgeMesh.h.
typedef Superclass::PointsContainerIterator itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointsContainerIterator |
Definition at line 164 of file itkQuadEdgeMesh.h.
typedef Superclass::PointsContainerPointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointsContainerPointer |
Definition at line 151 of file itkQuadEdgeMesh.h.
typedef Superclass::PointType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PointType |
Definition at line 143 of file itkQuadEdgeMesh.h.
typedef QuadEdgeMeshPolygonCell< CellType > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PolygonCellType |
Definition at line 229 of file itkQuadEdgeMesh.h.
typedef Traits::PrimalDataType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::PrimalDataType |
Specific types for a quad-edge structure.
Definition at line 216 of file itkQuadEdgeMesh.h.
typedef Traits::QEDual itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::QEDual |
Definition at line 219 of file itkQuadEdgeMesh.h.
typedef Traits::QEPrimal itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::QEPrimal |
Definition at line 218 of file itkQuadEdgeMesh.h.
typedef Traits::QEPrimal itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::QEType |
Definition at line 220 of file itkQuadEdgeMesh.h.
typedef Superclass::RegionType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::RegionType |
Definition at line 211 of file itkQuadEdgeMesh.h.
typedef QuadEdgeMesh itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::Self |
Standard typedefs.
Definition at line 126 of file itkQuadEdgeMesh.h.
typedef Mesh< TPixel, VDimension, Traits > itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::Superclass |
Definition at line 127 of file itkQuadEdgeMesh.h.
typedef TTraits itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::Traits |
Input template parameters.
Definition at line 122 of file itkQuadEdgeMesh.h.
typedef Traits::VectorType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::VectorType |
Definition at line 225 of file itkQuadEdgeMesh.h.
typedef Traits::VertexRefType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::VertexRefType |
Definition at line 223 of file itkQuadEdgeMesh.h.
|
protected |
Constructor and Destructor.
|
protectedvirtual |
Constructor and Destructor.
|
virtual |
|
virtual |
|
virtual |
Add a polygonal face to the Mesh, suppose QE layer ready
|
virtual |
Add a polygonal face to the Mesh. The list of points is expected to be ordered counter-clock wise. The inside of the new face will be on the left side of the edges formed by consecutive points in this list.
|
virtual |
Adds a triangular face to the Mesh
|
virtual |
|
virtual |
|
virtual |
|
inline |
overloaded method for backward compatibility
Definition at line 292 of file itkQuadEdgeMesh.h.
|
virtual |
another way of deleting all the cells
|
protectedvirtual |
Release the memory of each one of the cells independently.
|
inline |
Definition at line 499 of file itkQuadEdgeMesh.h.
CoordRepType itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::ComputeEdgeLength | ( | QEPrimal * | e | ) |
Compute the euclidian length of argument edge.
CellIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::ComputeNumberOfEdges | ( | ) | const |
CellIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::ComputeNumberOfFaces | ( | ) | const |
PointIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::ComputeNumberOfPoints | ( | ) | const |
|
inlineoverridevirtual |
Overloaded to avoid a bug in Mesh that prevents proper inheritance Refer to http://public.kitware.com/pipermail/insight-users/2005-March/012459.html and http://public.kitware.com/pipermail/insight-users/2005-April/012613.html
Reimplemented from itk::Mesh< TPixel, VDimension, TTraits >.
Definition at line 284 of file itkQuadEdgeMesh.h.
virtual::itk::LightObject::Pointer itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::CreateAnother | ( | ) | const |
Basic Object interface.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Deletion methods
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Methods to simplify point/edge insertion/search.
|
inline |
overloaded method for backward compatibility
Definition at line 394 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 336 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 305 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 313 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 360 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 373 of file itkQuadEdgeMesh.h.
References itk::NumericTraits< T >::ZeroValue().
|
inline |
NOTE ALEX: this method do not use CellFeature and thus could be recoded
Definition at line 387 of file itkQuadEdgeMesh.h.
References itk::NumericTraits< T >::ZeroValue().
|
virtual |
|
virtual |
|
inline |
Definition at line 271 of file itkQuadEdgeMesh.h.
|
inline |
Definition at line 272 of file itkQuadEdgeMesh.h.
|
virtual |
Basic Object interface.
Reimplemented from itk::Mesh< TPixel, VDimension, TTraits >.
|
inline |
Definition at line 512 of file itkQuadEdgeMesh.h.
|
inline |
Definition at line 511 of file itkQuadEdgeMesh.h.
|
inline |
Definition at line 461 of file itkQuadEdgeMesh.h.
|
virtual |
|
virtual |
|
overridevirtual |
Overloaded to avoid a bug in Mesh that prevents proper inheritance Refer to http://public.kitware.com/pipermail/insight-users/2005-March/012459.html and http://public.kitware.com/pipermail/insight-users/2005-April/012613.html
Reimplemented from itk::Mesh< TPixel, VDimension, TTraits >.
|
overridevirtual |
Reimplemented from itk::Mesh< TPixel, VDimension, TTraits >.
itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::itkQEDefineFrontIteratorMethodsMacro | ( | Self | ) |
FrontIterator definitions
|
virtual |
|
virtual |
|
static |
Basic Object interface.
|
virtual |
|
inline |
overloaded method for backward compatibility
Definition at line 349 of file itkQuadEdgeMesh.h.
|
inlineoverridevirtual |
Reimplemented from itk::PointSet< TPixel, VDimension, TTraits >.
Definition at line 261 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 324 of file itkQuadEdgeMesh.h.
|
inline |
overloaded method for backward compatibility
Definition at line 296 of file itkQuadEdgeMesh.h.
void itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::SetCell | ( | CellIdentifier | cId, |
CellAutoPointer & | cell | ||
) |
overloaded method for backward compatibility
|
inline |
Definition at line 275 of file itkQuadEdgeMesh.h.
|
inline |
Definition at line 273 of file itkQuadEdgeMesh.h.
PointIdentifier itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::Splice | ( | QEPrimal * | a, |
QEPrimal * | b | ||
) |
void itk::QuadEdgeMesh< TPixel, VDimension, TTraits >::SqueezePointsIds | ( | ) |
squeeze the point container to be able to write the file properly
|
protected |
Definition at line 523 of file itkQuadEdgeMesh.h.
|
protected |
Definition at line 533 of file itkQuadEdgeMesh.h.
|
protected |
Definition at line 532 of file itkQuadEdgeMesh.h.
|
static |
Reserved CellIdentifier designated to represent the absence of Face
Definition at line 244 of file itkQuadEdgeMesh.h.
|
static |
Reserved PointIdentifier designated to represent the absence of Point
Definition at line 241 of file itkQuadEdgeMesh.h.
|
private |
Definition at line 529 of file itkQuadEdgeMesh.h.
|
private |
Definition at line 526 of file itkQuadEdgeMesh.h.
|
static |
Convenient constants obtained from MeshTraits.
Definition at line 135 of file itkQuadEdgeMesh.h.
|
static |
Convenient constants obtained from MeshTraits.
Definition at line 133 of file itkQuadEdgeMesh.h.