MeVisLab Toolbox Reference
|
#include <mlMLToROIContourSequence.h>
Public Types | |
enum | ImageReferenceMode { RequireExactlyOneSlice , DoNotReferenceImage , ReferenceImageIfOneSlice } |
Public Member Functions | |
MLToROIContourSequence (boost::function< void(float)> *setProgress) | |
Constructor. | |
void | setTreatCollinearAsPlanar (bool collinearIsPlanar) |
Set treatCollinearAsPlanar option. | |
DCMTree::TreePtr | convert (PagedImage *image, CSOList *csoList, int precision) |
Converter function. | |
void | setImageReferenceMode (ImageReferenceMode mode) |
Set image reference mode, which tells the MLToROIContourSequence when to create a reference to an image slice. | |
ImageReferenceMode | imageReferenceMode () const |
Definition at line 61 of file mlMLToROIContourSequence.h.
Enumerator | |
---|---|
RequireExactlyOneSlice | always reference one image slice, print an error if the CSO does not lie in exactly one existing slice |
DoNotReferenceImage | never reference image |
ReferenceImageIfOneSlice | reference one image slice if the CSO lies in one slice |
Definition at line 80 of file mlMLToROIContourSequence.h.
Constructor.
setProgress | - Callback function for setting the conversion progress. If no progress feedback is required pass NULL. |
DCMTree::TreePtr ml::MLToROIContourSequence::convert | ( | PagedImage * | image, |
CSOList * | csoList, | ||
int | precision ) |
|
inline |
Definition at line 89 of file mlMLToROIContourSequence.h.
|
inline |
Set image reference mode, which tells the MLToROIContourSequence when to create a reference to an image slice.
Definition at line 88 of file mlMLToROIContourSequence.h.
Set treatCollinearAsPlanar option.
If set, collinear CSOs (e.g., where all points are in a line) are marked as CLOSED_PLANAR or OPEN_PLANAR, otherwise they are marked as OPEN_NONPLANAR.