37 #ifndef AIMS_DEF_GENERAL_H 38 #define AIMS_DEF_GENERAL_H 51 #define AIMS_MAGIC_NUMBER 0x41424344 54 #if !(defined(__GNUC__) || defined(__attribute__)) 55 #define __attribute__(a) AIMSDATA_API int AimsFileDimZOf(const std::string &filename)
Return the Z dimension of a text file.
AIMSDATA_API int AimsSpaceLevelOf(const std::string &filename)
Return the dimemsion of the space data (1D, 2D, 3D or 4D)
AimsBasicType
The 5 basic types of data.
AIMSDATA_API int AimsFileDimXOf(const std::string &filename)
Return the X dimension of a text file.
AIMSDATA_API void AimsPrintVersion(void)
Print A.I.M.S. version.
AIMSDATA_API bool AimsIsPoint3dData(const std::string &filename)
Return true if the file contains 3D point data.
AimsDisplayFormalism
Display formalism.
The class for EcatSino data write operation.
AIMSDATA_API bool AimsIsPoint2dData(const std::string &filename)
Return true if the file contains 2D point data.
AIMSDATA_API std::string AimsStringTypeOf(int type)
Send a string containing AIMS_XXXX.
AIMSDATA_API bool AimsIsComplexType(int type)
Return True if AIMS_XXXX is complex.
class __attribute__((__deprecated__("Use Volume, which now manages views, instead."))) VolumeView
AIMSDATA_API int AimsNCompOf(int type)
Return the number of components of AIMS_XXXX.
AIMSDATA_API int AimsFileDimYOf(const std::string &filename)
Return the Y dimension of a text file.
AIMSDATA_API void AimsClear(void)
Clear the screen.
AIMSDATA_API double AimsMaxValOf(int type)
Return the maximum value of a AIMS_XXXX data.
AIMSDATA_API double AimsMinValOf(int type)
Return the minimum value of a AIMS_XXXX data.
AIMSDATA_API bool AimsIsScientificNumberChar(int c)
std::string aimsVersion()
AIMSDATA_API bool AimsIsSignedType(int type)
Return True if AIMS_XXXX is signed.
AIMSDATA_API void AimsWarning(const std::string &message)
Give a warning message on display.
AIMSDATA_API void AimsError(const std::string &message) __attribute__((__noreturn__))
Give an error message on display.
AIMSDATA_API bool AimsIsComplexData(const std::string &filename)
Return true if the file contains complex data.
AIMSDATA_API void AimsScanNflush(char **str, char *strRef)
Read the next word from *str, put it in strRef and move *str behind the word.
AIMSDATA_API int AimsFileDimTOf(const std::string &filename)
Return the T dimension of a text file.