|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ALDParametrizedClass public interface MTBLevelsetEnergyDerivable
Interface specifying level set energies to be used with techniques of the calculus of variations.
In general energies implementing this interface are required to allow for calculation of partial derivatives at given positions.
Method Summary | |
---|---|
double |
getDerivative(MTBLevelsetFunctionDerivable phi,
int x,
int y,
int z)
Get the energy derivative value, i.e. velocity, for position (x,y,z). |
double |
getDerivativeWithoutDelta(MTBLevelsetFunctionDerivable phi,
int x,
int y,
int z)
Get the energy derivative value, i.e. velocity, for position (x,y,z). |
boolean |
initEnergy(LevelsetSolverDerivatives solver)
Initializes the energy object according to given solver settings. |
void |
updateStatus(MTBLevelsetFunctionDerivable phi)
Function which updates the internal status of the energy. |
void |
useHeavideApproximation(boolean flag)
Enable or disable approximation of Heaviside function. |
String |
validate()
Function to validate configuration of energy object. |
Method Detail |
---|
boolean initEnergy(LevelsetSolverDerivatives solver) throws MTBLevelsetException
solver
- Reference to solver which uses this energy.
MTBLevelsetException
String validate()
void updateStatus(MTBLevelsetFunctionDerivable phi) throws MTBLevelsetException
phi
- Current level set function.
MTBLevelsetException
double getDerivative(MTBLevelsetFunctionDerivable phi, int x, int y, int z)
phi
- Level set function.x
- x coordinate of requested position.y
- y coordinate of requested position.z
- z coordinate of requested position.
double getDerivativeWithoutDelta(MTBLevelsetFunctionDerivable phi, int x, int y, int z)
Here the value of the Dirac impulse function is ignored (if present).
phi
- Level set function.x
- x coordinate of requested position.y
- y coordinate of requested position.z
- z coordinate of requested position.
void useHeavideApproximation(boolean flag)
flag
- If true, approximation is enabled, otherwise disabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |