18 #ifndef __itkQuadricDecimationQuadEdgeMeshFilter_h
19 #define __itkQuadricDecimationQuadEdgeMeshFilter_h
31 template<
class TInput,
class TOutput,
class TCriterion >
62 itkStaticConstMacro(OutputPointDimension,
unsigned int, OutputMeshType::PointDimension);
81 typedef std::map< OutputPointIdentifier, QuadricElementType >
102 id[0] = iEdge->GetOrigin();
103 id[1] = iEdge->GetDestination();
104 id[2] = iEdge->GetOnext()->GetDestination();
108 for (
int i = 0; i < 3; i++ )
110 p[i] = outputMesh->GetPoint(
id[i]);
131 mid.SetToMidPoint(org, dest);
141 virtual void DeletePoint(
const OutputPointIdentifier & iIdToBeDeleted,
142 const OutputPointIdentifier & iRemaining);
148 OutputPointType Relocate(OutputQEType *iEdge);
151 virtual void Initialize();
155 void operator=(
const Self &);
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkQuadricDecimationQuadEdgeMeshFilter.hxx"