MCPcopy Create free account
hub / github.com/SimVascular/SimVascular / CheckImageData

Function CheckImageData

Code/Source/PythonAPI/ImagingImage_PyClass.cxx:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61//////////////////////////////////////////////////////
62
63bool CheckImageData(PyUtilApiFunction& api, PyImage* self)
64{
65 if (self->image_node == nullptr) {
66 api.error("The Image object does not have image data.");
67 return false;
68 }
69
70 return true;
71}
72
73//-----------------
74// GetvtkTransform

Callers 8

Image_extract_sliceFunction · 0.85
Image_extract_slice_1Function · 0.85
Image_get_dimensionsFunction · 0.85
Image_get_originFunction · 0.85
Image_get_spacingFunction · 0.85
Image_writeFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected