|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MTBSet_ActiveContourEnergy
Common interface for sets of active contour energies.
This interface is particularly necessary for unified handling of energy sets by the I/O providers.
Method Summary | |
---|---|
MTBActiveContourEnergy |
getEnergy(int i)
Returns the energy with given index. |
Vector<MTBActiveContourEnergy> |
getGenericEnergyList()
Returns list of energies converted to generic type. |
Double |
getWeight(int i)
Returns the weight of the energy with given index. |
Vector<Double> |
getWeights()
Returns the list of weights. |
void |
setEnergyList(Vector<MTBActiveContourEnergy> es)
Sets list of energies. |
void |
setWeights(Vector<Double> ws)
Sets the weights for the energies. |
Method Detail |
---|
void setEnergyList(Vector<MTBActiveContourEnergy> es)
es
- List of energies.Vector<MTBActiveContourEnergy> getGenericEnergyList()
MTBActiveContourEnergy getEnergy(int i)
i
- Index of energy.
void setWeights(Vector<Double> ws)
ws
- List of weights.Vector<Double> getWeights()
Double getWeight(int i)
i
- Index of requested weight.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |