ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint > Class Template Reference

#include <itkQuadEdgeMeshDecimationQuadricElementHelper.h>

Detailed Description

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

TODO explicit specification for VDimension=3!!!

Definition at line 32 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) const
 
CoordType ComputeErrorAtOptimalLocation (const PointType &iP)
 
PointType ComputeOptimalLocation (const PointType &iP)
 
PointType ComputeOptimalLocation (const unsigned int &)
 
VNLMatrixType GetAMatrix ()
 
VNLVectorType GetBVector ()
 
CoefficientVectorType GetCoefficients () const
 
unsigned int GetRank () const
 
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 ()
 
 QuadEdgeMeshDecimationQuadricElementHelper (const CoefficientVectorType &iCoefficients)
 
 ~QuadEdgeMeshDecimationQuadricElementHelper ()
 

Static Public Attributes

static const unsigned int NumberOfCoefficients = PointDimension * ( PointDimension + 1 ) / 2 + PointDimension + 1
 
static const unsigned int PointDimension = PointType::PointDimension
 

Protected Member Functions

void ComputeAMatrixAndBVector ()
 

Protected Attributes

VNLMatrixType m_A
 
VNLVectorType m_B
 
CoefficientVectorType m_Coefficients
 
unsigned int m_Rank
 
CoordType m_SVDAbsoluteThreshold
 
CoordType m_SVDRelativeThreshold
 

Member Typedef Documentation

template<class TPoint >
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(NumberOfCoefficients) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoefficientVectorType
template<class TPoint >
typedef PointType::CoordRepType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoordType
template<class TPoint >
typedef TPoint itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::PointType
template<class TPoint >
typedef PointType::VectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VectorType
template<class TPoint >
typedef vnl_matrix< CoordType > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLMatrixType
template<class TPoint >
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(PointDimension) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLVectorType

Constructor & Destructor Documentation

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
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
template<class TPoint >
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector ( )
inlineprotected
template<class TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeError ( const PointType iP) const
inline

TODO this method should be really optimized!!!

Definition at line 100 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

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

template<class TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeErrorAtOptimalLocation ( const PointType iP)
inline

TODO this method should be really optimized!!!

Definition at line 136 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

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

TODO to be implemented!!!

Definition at line 166 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

template<class TPoint >
VNLMatrixType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetAMatrix ( )
inline
template<class TPoint >
VNLVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetBVector ( )
inline
template<class TPoint >
CoefficientVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetCoefficients ( ) const
inline
template<class TPoint >
unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::GetRank ( ) const
inline
template<class TPoint >
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator* ( const CoordType iV) const
inline
template<class TPoint >
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator*= ( const CoordType iV)
inline
template<class TPoint >
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+ ( const Self iRight) const
inline
template<class TPoint >
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator+= ( const Self iRight)
inline
template<class TPoint >
Self itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator- ( const Self iRight) const
inline
template<class TPoint >
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator-= ( const Self iRight)
inline
template<class TPoint >
Self& itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::operator= ( const Self iRight)
inline

Member Data Documentation

template<class TPoint >
VNLMatrixType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_A
protected
template<class TPoint >
VNLVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_B
protected
template<class TPoint >
CoefficientVectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Coefficients
protected
template<class TPoint >
unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_Rank
protected
template<class TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_SVDAbsoluteThreshold
protected
template<class TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::m_SVDRelativeThreshold
protected
template<class TPoint >
const unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::NumberOfCoefficients = PointDimension * ( PointDimension + 1 ) / 2 + PointDimension + 1
static
template<class TPoint >
const unsigned int itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::PointDimension = PointType::PointDimension
static

The documentation for this class was generated from the following file: