ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion > Class Template Reference

Quadric decimation. More...

#include <itkQuadricDecimationQuadEdgeMeshFilter.h>

Inheritance diagram for itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >:
Collaboration diagram for itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TCriterion CriterionType
typedef InputMeshType::Pointer InputMeshPointer
typedef TInput InputMeshType
typedef CriterionType::MeasureType MeasureType
typedef Superclass::OperatorPointer OperatorPointer
typedef Superclass::OperatorType OperatorType
typedef
OutputMeshType::CellsContainerIterator 
OutputCellsContainerIterator
typedef
OutputPointType::CoordRepType 
OutputCoordType
typedef
OutputMeshType::EdgeCellType 
OutputEdgeCellType
typedef OutputMeshType::Pointer OutputMeshPointer
typedef TOutput OutputMeshType
typedef
OutputMeshType::PointIdentifier 
OutputPointIdentifier
typedef
OutputMeshType::PointsContainerIterator 
OutputPointsContainerIterator
typedef
OutputMeshType::PointsContainerPointer 
OutputPointsContainerPointer
typedef OutputMeshType::PointType OutputPointType
typedef OutputMeshType::QEType OutputQEType
typedef SmartPointer< SelfPointer
typedef
Superclass::PriorityQueueItemType 
PriorityQueueItemType
typedef
Superclass::PriorityQueuePointer 
PriorityQueuePointer
typedef
Superclass::PriorityQueueType 
PriorityQueueType
typedef Superclass::PriorityType PriorityType
typedef
QuadricElementMapType::iterator 
QuadricElementMapIterator
typedef std::map
< OutputPointIdentifier,
QuadricElementType
QuadricElementMapType
typedef
QuadEdgeMeshDecimationQuadricElementHelper
< OutputPointType
QuadricElementType
typedef
Superclass::QueueMapIterator 
QueueMapIterator
typedef Superclass::QueueMapType QueueMapType
typedef
QuadricDecimationQuadEdgeMeshFilter 
Self
typedef
EdgeDecimationQuadEdgeMeshFilter
< TInput, TOutput, TCriterion > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int OutputPointDimension = OutputMeshType::PointDimension

Protected Member Functions

virtual void DeletePoint (const OutputPointIdentifier &iIdToBeDeleted, const OutputPointIdentifier &iRemaining)
virtual void Initialize ()
MeasureType MeasureEdge (OutputQEType *iEdge)
void QuadricAtOrigin (OutputQEType *iEdge, QuadricElementType &oQ)
 QuadricDecimationQuadEdgeMeshFilter ()
OutputPointType Relocate (OutputQEType *iEdge)
virtual ~QuadricDecimationQuadEdgeMeshFilter ()

Private Member Functions

void operator= (const Self &)
 QuadricDecimationQuadEdgeMeshFilter (const Self &)

Private Attributes

QuadricElementMapType m_Quadric

Detailed Description

template<class TInput, class TOutput, class TCriterion>
class itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >

Quadric decimation.

Definition at line 32 of file itkQuadricDecimationQuadEdgeMeshFilter.h.


Member Typedef Documentation

template<class TInput , class TOutput , class TCriterion >
typedef SmartPointer< const Self > itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::ConstPointer
template<class TInput , class TOutput , class TCriterion >
typedef TCriterion itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::CriterionType
template<class TInput , class TOutput , class TCriterion >
typedef InputMeshType::Pointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::InputMeshPointer
template<class TInput , class TOutput , class TCriterion >
typedef TInput itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::InputMeshType
template<class TInput , class TOutput , class TCriterion >
typedef CriterionType::MeasureType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::MeasureType
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::OperatorPointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OperatorPointer
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::OperatorType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OperatorType
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::CellsContainerIterator itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputCellsContainerIterator
template<class TInput , class TOutput , class TCriterion >
typedef OutputPointType::CoordRepType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputCoordType

Definition at line 55 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::EdgeCellType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputEdgeCellType
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::Pointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputMeshPointer
template<class TInput , class TOutput , class TCriterion >
typedef TOutput itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputMeshType
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::PointIdentifier itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputPointIdentifier
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::PointsContainerIterator itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputPointsContainerIterator
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::PointsContainerPointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputPointsContainerPointer
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::PointType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputPointType
template<class TInput , class TOutput , class TCriterion >
typedef OutputMeshType::QEType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputQEType
template<class TInput , class TOutput , class TCriterion >
typedef SmartPointer< Self > itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::Pointer
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::PriorityQueueItemType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::PriorityQueueItemType
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::PriorityQueuePointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::PriorityQueuePointer
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::PriorityQueueType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::PriorityQueueType
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::PriorityType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::PriorityType
template<class TInput , class TOutput , class TCriterion >
typedef QuadricElementMapType::iterator itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricElementMapIterator

Definition at line 84 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

template<class TInput , class TOutput , class TCriterion >
typedef std::map< OutputPointIdentifier, QuadricElementType > itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricElementMapType

Definition at line 82 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

template<class TInput , class TOutput , class TCriterion >
typedef QuadEdgeMeshDecimationQuadricElementHelper< OutputPointType > itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricElementType

Definition at line 79 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

template<class TInput , class TOutput , class TCriterion >
typedef Superclass::QueueMapIterator itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QueueMapIterator
template<class TInput , class TOutput , class TCriterion >
typedef Superclass::QueueMapType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QueueMapType
template<class TInput , class TOutput , class TCriterion >
typedef QuadricDecimationQuadEdgeMeshFilter itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::Self
template<class TInput , class TOutput , class TCriterion >
typedef EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion > itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::Superclass

Constructor & Destructor Documentation

template<class TInput , class TOutput , class TCriterion >
itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricDecimationQuadEdgeMeshFilter ( ) [protected]

Constructor.

template<class TInput , class TOutput , class TCriterion >
virtual itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::~QuadricDecimationQuadEdgeMeshFilter ( ) [protected, virtual]

Destructor.

template<class TInput , class TOutput , class TCriterion >
itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricDecimationQuadEdgeMeshFilter ( const Self ) [private]

Member Function Documentation

template<class TInput , class TOutput , class TCriterion >
virtual::itk::LightObject::Pointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInput, TOutput >.

template<class TInput , class TOutput , class TCriterion >
virtual void itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::DeletePoint ( const OutputPointIdentifier iIdToBeDeleted,
const OutputPointIdentifier iRemaining 
) [protected, virtual]

Delete point.

Parameters:
[in]iIdToBeDeletedid of the point to be deleted
[in]iRemainingid of the point to be kept

Reimplemented from itk::EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.

template<class TInput , class TOutput , class TCriterion >
virtual const char* itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.

template<class TInput , class TOutput , class TCriterion >
virtual void itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::Initialize ( ) [protected, virtual]

Compute Quadric error for all edges.

Reimplemented from itk::DecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.

template<class TInput , class TOutput , class TCriterion >
MeasureType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::MeasureEdge ( OutputQEType iEdge) [inline, protected, virtual]

Compute the measure value for iEdge.

Parameters:
[in]iEdgeinput edge
Returns:
measure value, here the corresponding quadric error

Implements itk::EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.

Definition at line 121 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeError(), and itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::ComputeOptimalLocation().

template<class TInput , class TOutput , class TCriterion >
static Pointer itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::New ( ) [static]

New macro for creation of through a Smart Pointer

Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInput, TOutput >.

template<class TInput , class TOutput , class TCriterion >
void itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::operator= ( const Self ) [private]
Todo:
Finish to implement this method!

Reimplemented from itk::EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.

template<class TInput , class TOutput , class TCriterion >
void itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::QuadricAtOrigin ( OutputQEType iEdge,
QuadricElementType oQ 
) [inline, protected]

Compute the quadric error at the origin of the edge.

Parameters:
[in]iEdgeinput edge
[in,out]oQquadric element to be modified

Definition at line 97 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

References itk::QuadEdgeMeshDecimationQuadricElementHelper< TPoint >::AddTriangle().

template<class TInput , class TOutput , class TCriterion >
OutputPointType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::Relocate ( OutputQEType iEdge) [protected, virtual]

Compute the optimal position for a given edge iEdge.

Parameters:
[in]iEdge
Returns:
the optimal point location

Implements itk::EdgeDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >.


Member Data Documentation

template<class TInput , class TOutput , class TCriterion >
QuadricElementMapType itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::m_Quadric [private]

Definition at line 160 of file itkQuadricDecimationQuadEdgeMeshFilter.h.

template<class TInput , class TOutput , class TCriterion >
const unsigned int itk::QuadricDecimationQuadEdgeMeshFilter< TInput, TOutput, TCriterion >::OutputPointDimension = OutputMeshType::PointDimension [static]

Definition at line 62 of file itkQuadricDecimationQuadEdgeMeshFilter.h.


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