18 #ifndef itkSquaredEdgeLengthDecimationQuadEdgeMeshFilter_h 19 #define itkSquaredEdgeLengthDecimationQuadEdgeMeshFilter_h 30 template<
typename TInput,
typename TOutput,
typename TCriterion >
83 inline MeasureType
MeasureEdge(OutputQEType *iEdge) ITK_OVERRIDE
85 OutputPointIdentifier id_org = iEdge->GetOrigin();
86 OutputPointIdentifier id_dest = iEdge->GetDestination();
89 OutputPointType org = this->
m_OutputMesh->GetPoint(id_org);
90 OutputPointType dest = this->
m_OutputMesh->GetPoint(id_dest);
92 return static_cast< MeasureType
>( org.SquaredEuclideanDistanceTo(dest) );
102 OutputPointType
Relocate(OutputQEType *iEdge) ITK_OVERRIDE;
106 void operator=(
const Self &) ITK_DELETE_FUNCTION;
111 #include "itkSquaredEdgeLengthDecimationQuadEdgeMeshFilter.hxx"
OperatorType::Pointer OperatorPointer
SmartPointer< Self > Pointer
QuadEdgeMeshEulerOperatorJoinVertexFunction< OutputMeshType, OutputQEType > OperatorType
OutputMeshType::QEType OutputQEType
MeasureType MeasureEdge(OutputQEType *iEdge) override
Superclass::PriorityQueueItemType PriorityQueueItemType
EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion > Superclass
void operator=(const Self &) ITK_DELETE_FUNCTION
Superclass::QueueMapIterator QueueMapIterator
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
InputMeshType::Pointer InputMeshPointer
OutputMeshType::EdgeCellType OutputEdgeCellType
OutputMeshType::PointType OutputPointType
SquaredEdgeLengthDecimationQuadEdgeMeshFilter Self
OutputMeshType::PointIdentifier OutputPointIdentifier
OutputMeshType::CellsContainerIterator OutputCellsContainerIterator
PriorityQueueType::Pointer PriorityQueuePointer
OutputMeshType::Pointer OutputMeshPointer
Superclass::QueueMapType QueueMapType
OutputMeshType * m_OutputMesh
std::map< OutputQEType *, PriorityQueueItemType * > QueueMapType
Superclass::PriorityQueuePointer PriorityQueuePointer
Superclass::OperatorPointer OperatorPointer
QueueMapType::iterator QueueMapIterator
Superclass::OperatorType OperatorType
CriterionType::PriorityQueueWrapperType PriorityQueueItemType
PriorityQueueContainer< PriorityQueueItemType *, ElementWrapperPointerInterface< PriorityQueueItemType * >, PriorityType > PriorityQueueType
virtual ~SquaredEdgeLengthDecimationQuadEdgeMeshFilter()
SquaredEdgeLengthDecimationQuadEdgeMeshFilter()
OutputPointType Relocate(OutputQEType *iEdge) override
CriterionType::MeasureType MeasureType
SmartPointer< const Self > ConstPointer
CriterionType::PriorityType PriorityType
Superclass::PriorityType PriorityType
Superclass::PriorityQueueType PriorityQueueType