imaging::ShapeEnergyInterface< shape_t > Class Template Reference
[Shape Module]

Abstract class interface for energies depending on vector valued input data which define an input shape. More...

#include <ShapeEnergyInterface.hpp>

Inheritance diagram for imaging::ShapeEnergyInterface< shape_t >:

imaging::EnergyInterface imaging::MumfordShahEnergy< shape_t > imaging::SnakesEnergy< shape_t > imaging::StatisticalRegularization< shape_t >

List of all members.

Public Member Functions

virtual const shape_t & current_shape () const =0


Detailed Description

template<class shape_t>
class imaging::ShapeEnergyInterface< shape_t >

Abstract class interface for energies depending on vector valued input data which define an input shape.

In addition to the requirements of EnergyInterface, classes implementing ShapeEnergyInterface provide a current shape computed from the current argument. Minimizers can access this shape to obtain geometric information (via BoundaryDiscretizer) about the current argument.


Member Function Documentation

template<class shape_t>
virtual const shape_t& imaging::ShapeEnergyInterface< shape_t >::current_shape (  )  const [pure virtual]

Returns the current shape. This function should not actually compute the current shape but return the cached result of the last call to set_argument()!

Implemented in imaging::MumfordShahEnergy< shape_t >, imaging::SnakesEnergy< shape_t >, and imaging::StatisticalRegularization< shape_t >.


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

Generated on Tue Feb 10 10:01:31 2009 for imaging2 by  doxygen 1.5.5