summaryrefslogtreecommitdiffstats
path: root/include/astra/Projector2D.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-02-16 15:15:13 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-02-16 15:15:13 +0100
commitbc2e4018054f494fcba01e6a27a63e151bf1e9a4 (patch)
tree8e5343f4833c0762643e55ff63edfdd685122aad /include/astra/Projector2D.h
parent46836ee3195fdc8d09a0f03cee13b475b4ff9fc1 (diff)
downloadastra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.gz
astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.bz2
astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.xz
astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.zip
Refactor AstraObjectManager to add an AstraIndexManager
The new AstraIndexManager can be used to obtain information about objects without knowing their type.
Diffstat (limited to 'include/astra/Projector2D.h')
-rw-r--r--include/astra/Projector2D.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/astra/Projector2D.h b/include/astra/Projector2D.h
index a1ea0ce..c7a899d 100644
--- a/include/astra/Projector2D.h
+++ b/include/astra/Projector2D.h
@@ -174,7 +174,7 @@ public:
*
* @return initialized successfully
*/
- bool isInitialized();
+ bool isInitialized() const;
/** get a description of the class
*
@@ -191,7 +191,7 @@ private:
};
// inline functions
-inline bool CProjector2D::isInitialized() { return m_bIsInitialized; }
+inline bool CProjector2D::isInitialized() const { return m_bIsInitialized; }
inline CProjectionGeometry2D* CProjector2D::getProjectionGeometry() { return m_pProjectionGeometry; }
inline CVolumeGeometry2D* CProjector2D::getVolumeGeometry() { return m_pVolumeGeometry; }