From 9c7d0f544b7a4dec54e9a75ea45b985ad7fac756 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 11 Oct 2017 14:48:22 +0200 Subject: Improve object creation error messages --- python/astra/PyIncludes.pxd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/astra/PyIncludes.pxd') diff --git a/python/astra/PyIncludes.pxd b/python/astra/PyIncludes.pxd index b40d787..c091963 100644 --- a/python/astra/PyIncludes.pxd +++ b/python/astra/PyIncludes.pxd @@ -155,6 +155,7 @@ cdef extern from "astra/ReconstructionAlgorithm2D.h" namespace "astra": cdef extern from "astra/Projector2D.h" namespace "astra": cdef cppclass CProjector2D: bool isInitialized() + bool initialize(Config) CProjectionGeometry2D* getProjectionGeometry() CVolumeGeometry2D* getVolumeGeometry() CSparseMatrix* getMatrix() @@ -162,6 +163,7 @@ cdef extern from "astra/Projector2D.h" namespace "astra": cdef extern from "astra/Projector3D.h" namespace "astra": cdef cppclass CProjector3D: bool isInitialized() + bool initialize(Config) CProjectionGeometry3D* getProjectionGeometry() CVolumeGeometry3D* getVolumeGeometry() -- cgit v1.2.3