#include <mdsTetraFeatures.h>
Inheritance diagram for mds::seg::CTetraFeatures:

Public Types | |
| enum | { NUM_OF_FEATURES = TetraFeatures::NUM_OF_FEATURES } |
| The number of features. More... | |
| enum | { MEAN_VALUE = 0, VARIANCE } |
| Indexes of the most important features. More... | |
| enum | { ERROR_NOT_EVALUATED = 1, ERROR_CANNOT_EVALUATE = 2 } |
| Error codes. More... | |
| typedef double | tFeature |
| Type of a value representing some feature. | |
| typedef mds::math::CStaticVector< double, TetraFeatures::NUM_OF_FEATURES > | tVector |
| Type of the used static vector. | |
Public Member Functions | |
| CTetraFeatures () | |
| Default constructor. | |
| int | getError () const |
| Returns current error code. | |
| const tFeature & | getFeature (tSize i) const |
| tFeature & | getFeature (mds::tSize i) |
| Returns value of the i-th feature. | |
| int | getNumOfVoxels () const |
| Returns the number of voxels taken into account. | |
| const tFeature & | getVoxelMean () const |
| tFeature & | getVoxelMean () |
| Returns mean value of all voxels in the tetrahedron. | |
| const tFeature & | getVoxelVariance () const |
| tFeature & | getVoxelVariance () |
| Returns variance of all voxels in the tetrahedron. | |
| bool | isError () const |
| Returns true if the previous evaluation of features failed. | |
| void | setError (int iError) |
| Sets the error code. | |
| void | setFeature (tSize i, tFeature Value) |
| Sets value of the i-th feature. | |
| void | setNumOfVoxels (int iValue) |
| Sets the number of voxels. | |
| void | setVoxelMean (tFeature Value) |
| Sets the voxel mean. | |
| void | setVoxelVariance (tFeature Value) |
| Sets the voxel variance. | |
| ~CTetraFeatures () | |
| Destructor. | |
Protected Attributes | |
| int | m_iError |
| Errors while evaluating the features. | |
| int | m_iNumOfVoxels |
| Total number of voxels. | |
| tFeature | m_VoxelVariance |
| Variance of the voxel values. | |
|
|
Type of a value representing some feature.
|
|
|
Type of the used static vector.
|
|
|
The number of features.
|
|
|
Indexes of the most important features.
|
|
|
Error codes.
|
|
|
Default constructor.
|
|
|
Destructor.
|
|
|
Returns current error code.
|
|
|
|
|
|
Returns value of the i-th feature.
|
|
|
Returns the number of voxels taken into account.
|
|
|
|
|
|
Returns mean value of all voxels in the tetrahedron.
|
|
|
|
|
|
Returns variance of all voxels in the tetrahedron.
|
|
|
Returns true if the previous evaluation of features failed.
|
|
|
Sets the error code.
|
|
||||||||||||
|
Sets value of the i-th feature.
|
|
|
Sets the number of voxels.
|
|
|
Sets the voxel mean.
|
|
|
Sets the voxel variance.
|
|
|
Errors while evaluating the features.
|
|
|
Total number of voxels.
|
|
|
Variance of the voxel values.
|
1.4.6-NO