Enumerations | Functions

ipSegmentationError.h File Reference

Go to the source code of this file.

Enumerations

enum  {
  ipMITKSegmentationOK = 0, ipMITKSegmentationOUT_OF_MEMORY, ipMITKSegmentationWRONG_TYPE, ipMITKSegmentationUNDO_DISABLED,
  ipMITKSegmentationPIC_NULL, ipMITKSegmentationUNKNOWN_ERROR
}

Functions

void ipMITKSegmentationError (int error)
 Prints an error message and exits if an error has occurred.
void ipMITKSegmentationCheck (mitkIpPicDescriptor *segmentation)
 Checks the segmentation image.

Enumeration Type Documentation

anonymous enum
Enumerator:
ipMITKSegmentationOK 
ipMITKSegmentationOUT_OF_MEMORY 

Not enough memory available.

ipMITKSegmentationWRONG_TYPE 

Segmentation image has a wrong type.

ipMITKSegmentationUNDO_DISABLED 

Undo cannot be performed.

ipMITKSegmentationPIC_NULL 

PIC descriptor is null.

ipMITKSegmentationUNKNOWN_ERROR 

Some unknown error occurred.

Definition at line 20 of file ipSegmentationError.h.


Function Documentation

void ipMITKSegmentationCheck ( mitkIpPicDescriptor *  segmentation )

Checks the segmentation image.

Parameters:
segmentationthe segmentation image.
void ipMITKSegmentationError ( int  error )

Prints an error message and exits if an error has occurred.

Parameters:
errorerror code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines