projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r7920: changes to compile on new automake and xfree_4.3.0_0pre1v1
[ctsim.git]
/
include
/
ctndicom.h
diff --git
a/include/ctndicom.h
b/include/ctndicom.h
index 011df7c867c81ee7619993ab64ff8d84a7ca3876..7817ab46c328beba14a6bdf4e4650eda9c4e84a3 100644
(file)
--- a/
include/ctndicom.h
+++ b/
include/ctndicom.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id
: ctndicom.h,v 1.4 2001/03/05 21:59:55 kevin Exp
$
+** $Id$
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-110,21
+110,20
@@
public:
class DicomExporter {
private:
class DicomExporter {
private:
+ const ImageFile* m_pImageFile;
std::string m_strFilename;
bool m_bFail;
std::string m_strFailMessage;
std::string m_strFilename;
bool m_bFail;
std::string m_strFailMessage;
- const ImageFile* m_pImageFile;
- DCM_OBJECT* m_pFile;
-
- void saveImage (unsigned short iNRows, unsigned short iNCols, unsigned short iBitsAllocated,
- unsigned short iBitsStored, unsigned short iHighBit, unsigned short iPixRep);
+ DCM_OBJECT* m_pObject;
+ bool createDicomObject();
public:
public:
- DicomExporter (
const char* const pszFile, const
ImageFile* pImageFile);
+ DicomExporter (ImageFile* pImageFile);
~DicomExporter();
~DicomExporter();
+ bool writeFile (const char* const pszFilename);
bool fail() const {return m_bFail;}
const std::string& failMessage() const {return m_strFailMessage;}
};
bool fail() const {return m_bFail;}
const std::string& failMessage() const {return m_strFailMessage;}
};