ITK  4.9.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<typename 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<typename TPoint >
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(NumberOfCoefficients) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoefficientVectorType
template<typename TPoint >
typedef PointType::CoordRepType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::CoordType
template<typename TPoint >
typedef TPoint itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::PointType
template<typename TPoint >
typedef PointType::VectorType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VectorType
template<typename TPoint >
typedef vnl_matrix< CoordType > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLMatrixType
template<typename TPoint >
typedef vnl_vector_fixed< CoordType, itkGetStaticConstMacro(PointDimension) > itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::VNLVectorType

Constructor & Destructor Documentation

template<typename TPoint >
itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::QuadEdgeMeshDecimationQuadricElementHelper ( const CoefficientVectorType iCoefficients)
inline

Member Function Documentation

template<typename TPoint >
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::AddPoint ( const PointType iP,
const VectorType iN,
const CoordType iWeight = static_cast< CoordType >( 1. ) 
)
inline
template<typename TPoint >
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::AddTriangle ( const PointType iP1,
const PointType iP2,
const PointType iP3,
const CoordType iWeight = static_cast< CoordType >( 1. ) 
)
inline
template<typename TPoint >
void itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeAMatrixAndBVector ( )
inlineprotected
template<typename TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeError ( const PointType iP) const
inline
template<typename TPoint >
CoordType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeErrorAtOptimalLocation ( const PointType iP)
inline
template<typename TPoint >
PointType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation ( const PointType iP)
inline
template<typename TPoint >
PointType itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation ( const unsigned int &  )
inline

TODO to be implemented!!!

Definition at line 166 of file itkQuadEdgeMeshDecimationQuadricElementHelper.h.

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

Member Data Documentation

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

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