|
STIR
6.3.0
|
Functions to display stir::Array objects (2d and 3d) and stir::RelatedViewgrams. More...
#include "stir/display.h"#include "stir/IndexRange3D.h"#include "stir/utilities.h"#include "stir/ML_norm.h"#include "stir/RelatedViewgrams.h"#include "stir/info.h"#include "stir/format.h"#include <iostream>#include "stir/warning.h"#include "screen.h"#include <cstring>#include "mathlink.h"#include <cstdio>Namespaces | |
| stir | |
| Namespace for the STIR library (and some/most of its applications) | |
Macros | |
| #define | STIR_SIMPLE_BITMAPS |
| Preprocessor symbol that needs to be defined to enable X-windows functionality for stir::display. More... | |
| #define | STIR_MATHLINK |
| Preprocessor symbol that needs to be defined to enable MathLink functionality for stir::display. More... | |
| #define | STIR_PGM |
| #define | Min std::min |
Functions | |
| template<class elemT , class SCALE , class CHARP > | |
| void | stir::display_bitmap (const Array< 3, elemT > &plane_stack, const VectorWithOffset< SCALE > &scale_factors, const VectorWithOffset< CHARP > &text, double maxi, const char *const title, int scale) |
| void | init_and_connectlink (char *linkname) |
| template<class elemT , class SCALE , class CHARP > | |
| void | stir::display_mathlink (const Array< 3, elemT > &plane_stack, const VectorWithOffset< SCALE > &scale_factors, const VectorWithOffset< CHARP > &text, double maxi, const char *const title, int scale) |
| template<class elemT , class SCALE , class CHARP > | |
| void | stir::display_pgm (const Array< 3, elemT > &plane_stack, const VectorWithOffset< SCALE > &scale_factors, const VectorWithOffset< CHARP > &text, double maxi, const char *const title, int scale) |
| template<class elemT , class SCALE , class CHARP > | |
| void | stir::display (const Array< 3, elemT > &plane_stack, const VectorWithOffset< SCALE > &scale_factors, const VectorWithOffset< CHARP > &text, double maxi, const char *const title, int scale) |
| template<class elemT > | |
| void | stir::display (const RelatedViewgrams< elemT > &v1, double maxi=0, const char *const title=0, int zoom=0) |
| Convenience function to display all viewgrams in a RelatedViewgrams object. | |
| void | stir::display (const DetPairData &det_pair_data, const char *const title) |
| void | stir::display (const FanProjData &fan_data, const char *const title) |
| template void | stir::display (const Array< 3, short > &plane_stack, const VectorWithOffset< short > &scale_factors, const VectorWithOffset< char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const Array< 3, short > &plane_stack, const VectorWithOffset< float > &scale_factors, const VectorWithOffset< char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const Array< 3, float > &plane_stack, const VectorWithOffset< float > &scale_factors, const VectorWithOffset< char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const Array< 3, short > &plane_stack, const VectorWithOffset< short > &scale_factors, const VectorWithOffset< const char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const Array< 3, short > &plane_stack, const VectorWithOffset< float > &scale_factors, const VectorWithOffset< const char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const Array< 3, float > &plane_stack, const VectorWithOffset< float > &scale_factors, const VectorWithOffset< const char *> &text, double maxi, const char *const title, int scale) |
| template void | stir::display (const RelatedViewgrams< float > &vs, double maxi, const char *const title, int zoom) |
Variables | |
| MLINK | lp |
Functions to display stir::Array objects (2d and 3d) and stir::RelatedViewgrams.
Three implementations now, depending on which preprocessor symbols are defined at compile-time:
STIR_SIMPLE_BITMAPS is based on some functions KT wrote in 1991, which work in XWindows, DOS (upto SVGA resolution, or using a PGA) and a VAX using a Matrox card (very much similar to PGA). It's fairly simplistic. No menus.
STIR_MATHLINK puts the imageinfo over a MathLink connection to Mathematica, where it can be displayed anyway you like.
STIR_PGM puts all images in a single PGM file.
if both STIR_SIMPLE_BITMAPS and STIR_MATHLINK are defined, stir::display asks which version you want to use
| #define STIR_SIMPLE_BITMAPS |
Preprocessor symbol that needs to be defined to enable X-windows functionality for stir::display.
Preprocessor symbol that needs to be defined to enable PGM functionality for stir::display.
| #define STIR_MATHLINK |
Preprocessor symbol that needs to be defined to enable MathLink functionality for stir::display.
1.8.13