Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint > Class Template Reference

#include <itkQuadEdgeMeshDecimationQuadricElementHelper.h>

List of all members.


Detailed Description

template<class TPoint>
class itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >

TODO explicit specification for VDimension=3!!!

Definition at line 33 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Public Types

typedef vnl_vector_fixed<
CoordType, itkGetStaticConstMacro(NumberOfCoefficients) > 
CoefficientVectorType
typedef PointType::CoordRepType CoordType
typedef TPoint PointType
typedef QuadEdgeMeshDecimationQuadricElementHelper Self
typedef TriangleHelper< PointTypeTriangleType
typedef PointType::VectorType VectorType
typedef vnl_matrix< CoordTypeVNLMatrixType
typedef vnl_vector_fixed<
CoordType, itkGetStaticConstMacro(PointDimension) > 
VNLVectorType

Public Member Functions

void AddPoint (const PointType &iP, const VectorType &iN, const CoordType &iWeight=static_cast< CoordType >(1.))
void AddTriangle (const PointType &iP1, const PointType &iP2, const PointType &iP3, const CoordType &iWeight=static_cast< CoordType >(1.))
CoordType ComputeError (const PointType &iP)
CoordType ComputeErrorAtOptimalLocation ()
PointType ComputeOptimalLocation (const CoordType &iValue)
PointType ComputeOptimalLocation (const unsigned int &iNumberOfEigenValues)
PointType ComputeOptimalLocation ()
VNLMatrixType GetAMatrix ()
VNLVectorType GetBVector ()
CoefficientVectorType GetCoefficients () const
unsigned int GetRank () const
 itkStaticConstMacro (NumberOfCoefficients, unsigned int, PointDimension *(PointDimension+1)/2+PointDimension+1)
 itkStaticConstMacro (PointDimension, unsigned int, PointType::PointDimension)
Self operator * (const CoordType &iV) const
Selfoperator *= (const CoordType &iV)
Self operator+ (const Self &iRight) const
Selfoperator+= (const Self &iRight)
Self operator- (const Self &iRight) const
Selfoperator-= (const Self &iRight)
Selfoperator= (const Self &iRight)
 QuadEdgeMeshDecimationQuadricElementHelper (const CoefficientVectorType &iCoefficients)
 QuadEdgeMeshDecimationQuadricElementHelper ()
 ~QuadEdgeMeshDecimationQuadricElementHelper ()

Protected Member Functions

void ComputeAMatrixAndBVector ()

Protected Attributes

VNLMatrixType m_A
VNLVectorType m_B
CoefficientVectorType m_Coefficients
unsigned int m_Rank


Member Typedef Documentation

template<class TPoint>
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(NumberOfCoefficients) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoefficientVectorType

Definition at line 54 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef PointType::CoordRepType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoordType

Definition at line 39 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef TPoint itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::PointType

Definition at line 38 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef QuadEdgeMeshDecimationQuadricElementHelper itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::Self

Definition at line 37 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef TriangleHelper< PointType > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::TriangleType

Definition at line 55 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef PointType::VectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VectorType

Definition at line 49 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef vnl_matrix< CoordType > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLMatrixType

Definition at line 50 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(PointDimension) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLVectorType

Definition at line 52 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.


Constructor & Destructor Documentation

template<class TPoint>
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::QuadEdgeMeshDecimationQuadricElementHelper (  )  [inline]

Definition at line 58 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Rank.

template<class TPoint>
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::QuadEdgeMeshDecimationQuadricElementHelper ( const CoefficientVectorType iCoefficients  )  [inline]

Definition at line 66 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Rank.

template<class TPoint>
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::~QuadEdgeMeshDecimationQuadricElementHelper (  )  [inline]

Definition at line 75 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.


Member Function Documentation

template<class TPoint>
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::AddPoint ( const PointType iP,
const VectorType iN,
const CoordType iWeight = static_cast< CoordType >( 1. ) 
) [inline]

Definition at line 181 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::AddTriangle ( const PointType iP1,
const PointType iP2,
const PointType iP3,
const CoordType iWeight = static_cast< CoordType >( 1. ) 
) [inline]

Definition at line 173 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshQuadricDecimation< TInput, TOutput, TCriterion >::QuadricAtOrigin().

template<class TPoint>
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector (  )  [inline, protected]

Definition at line 253 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetAMatrix(), itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetBVector(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::QuadEdgeMeshDecimationQuadricElementHelper().

template<class TPoint>
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeError ( const PointType iP  )  [inline]

TODO this method should be really optimized!!!

Definition at line 101 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeErrorAtOptimalLocation (  )  [inline]

TODO this method should be really optimized!!!

Definition at line 129 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshQuadricDecimation< TInput, TOutput, TCriterion >::MeasureEdge().

template<class TPoint>
PointType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation ( const CoordType iValue  )  [inline]

Definition at line 156 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
PointType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation ( const unsigned int &  iNumberOfEigenValues  )  [inline]

TODO to be implemented!!!

Definition at line 151 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
PointType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation (  )  [inline]

Definition at line 134 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshQuadricDecimation< TInput, TOutput, TCriterion >::Relocate().

template<class TPoint>
VNLMatrixType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetAMatrix (  )  [inline]

Definition at line 83 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_A.

template<class TPoint>
VNLVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetBVector (  )  [inline]

Definition at line 89 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_B.

template<class TPoint>
CoefficientVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetCoefficients ( void   )  const [inline]

Definition at line 78 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.

template<class TPoint>
unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetRank (  )  const [inline]

Definition at line 95 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Rank.

template<class TPoint>
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::itkStaticConstMacro ( NumberOfCoefficients  ,
unsigned  int,
PointDimension *(PointDimension+1)/2+PointDimension+  1 
)

template<class TPoint>
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::itkStaticConstMacro ( PointDimension  ,
unsigned  int,
PointType::PointDimension   
)

template<class TPoint>
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator * ( const CoordType iV  )  const [inline]

Definition at line 234 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator *= ( const CoordType iV  )  [inline]

Definition at line 240 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint>
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+ ( const Self iRight  )  const [inline]

Definition at line 212 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.

template<class TPoint>
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+= ( const Self iRight  )  [inline]

Definition at line 217 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.

template<class TPoint>
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator- ( const Self iRight  )  const [inline]

Definition at line 223 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.

template<class TPoint>
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator-= ( const Self iRight  )  [inline]

Definition at line 228 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.

template<class TPoint>
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator= ( const Self iRight  )  [inline]

Definition at line 206 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients.


Member Data Documentation

template<class TPoint>
VNLMatrixType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_A [protected]

Definition at line 249 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetAMatrix().

template<class TPoint>
VNLVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_B [protected]

Definition at line 250 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetBVector().

template<class TPoint>
CoefficientVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients [protected]

Definition at line 248 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetCoefficients(), itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+(), itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+=(), itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator-(), itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator-=(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator=().

template<class TPoint>
unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Rank [protected]

Definition at line 251 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

Referenced by itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetRank(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::QuadEdgeMeshDecimationQuadricElementHelper().


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 09:51:08 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000