#include <ShapeEnergyInterface.hpp>
Public Member Functions | |
virtual const shape_t & | current_shape () const =0 |
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.
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 >.