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 >
103 id[0] = iEdge->GetOrigin();
104 id[1] = iEdge->GetDestination();
105 id[2] = iEdge->GetOnext()->GetDestination();
109 for (
int i = 0; i < 3; i++ )
111 p[i] = output->GetPoint(
id[i]);
134 mid.SetToMidPoint(org, dest);
144 virtual void DeletePoint(
const OutputPointIdentifier & iIdToBeDeleted,
145 const OutputPointIdentifier & iRemaining);
151 OutputPointType Relocate(OutputQEType *iEdge);
154 virtual void Initialize();
158 void operator=(
const Self &);
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkQuadricDecimationQuadEdgeMeshFilter.hxx"