00001 /*========================================================================= 00002 00003 Library : Image Registration Toolkit (IRTK) 00004 Module : $Id: irtkPointToImage.h 2 2008-12-23 12:40:14Z dr $ 00005 Copyright : Imperial College, Department of Computing 00006 Visual Information Processing (VIP), 2008 onwards 00007 Date : $Date: 2008-12-23 12:40:14 +0000 (Tue, 23 Dec 2008) $ 00008 Version : $Revision: 2 $ 00009 Changes : $Author: dr $ 00010 00011 =========================================================================*/ 00012 00013 #ifndef _IRTKPOINTTOIMAGE_H 00014 00015 #define _IRTKPOINTTOIMAGE_H 00016 00026 template <class VoxelType> class irtkPointToImage : public irtkObject 00027 { 00028 00029 protected: 00030 00032 irtkPointSet *_input; 00033 00035 irtkGenericImage<VoxelType> *_output; 00036 00038 Bool _DebugFlag; 00039 00041 Bool _UseWorldCoordinates; 00042 00043 public: 00044 00046 irtkPointToImage(Bool = True); 00047 00048 // Deconstuctor 00049 virtual ~irtkPointToImage(); 00050 00052 virtual void SetInput (irtkPointSet *); 00053 00055 virtual void SetOutput(irtkGenericImage<VoxelType> *); 00056 00058 virtual void Run(); 00059 00061 SetMacro(DebugFlag, Bool); 00062 00064 GetMacro(DebugFlag, Bool); 00065 00067 virtual void Debug(char *); 00068 }; 00069 00070 #include <irtkFill.h> 00071 00072 #endif