#include "Script/ImageScript.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Image/ShapeOps.H"
#include "Raster/Raster.H"
#include "Util/log.H"
#include "rutz/error.h"
#include "rutz/fstring.h"
#include "rutz/sfmt.h"
#include "tcl/conversions.h"
#include "tcl/list.h"
#include "tcl/obj.h"
#include "tcl/pkg.h"
#include <cstdio>
#include <cstdlib>
#include <tcl.h>
Go to the source code of this file.
Classes | |
struct | ImageObj< T > |
Defines | |
#define | INST_IMG_OBJ_TYPE(T) |
Functions | |
INST_IMG_OBJ_TYPE (byte) | |
INST_IMG_OBJ_TYPE (float) | |
INST_IMG_OBJ_TYPE (PixRGB< byte >) | |
INST_IMG_OBJ_TYPE (PixRGB< float >) | |
int | Bimage_Init (Tcl_Interp *interp) |
int | Fimage_Init (Tcl_Interp *interp) |
int | Cbimage_Init (Tcl_Interp *interp) |
int | Cfimage_Init (Tcl_Interp *interp) |
int | Raster_Init (Tcl_Interp *interp) |
Definition in file ImageScript.C.
#define INST_IMG_OBJ_TYPE | ( | T | ) |
tcl::obj tcl::aux_convert_from(Image< T > img) \ { return image2tcl(img); } \ \ Image< T > tcl::aux_convert_to(Tcl_Obj* obj, Image<T>*) \ { return tcl2image< T >(obj); } \ \ template <> \ Tcl_ObjType ImageObj< T >::objType = \ { \ const_cast<char*>("Image<" #T ">"), \ &ImageObj< T >::freeInternalRep, \ &ImageObj< T >::dupInternalRep, \ &ImageObj< T >::updateString, \ &ImageObj< T >::setFromAny \ }
Definition at line 199 of file ImageScript.C.