#include <ImageSequence.h>
Public Types | |
typedef TImage | ImageType |
Type of image associated with this channel. | |
Public Member Functions | |
void | Image (ImageType *image, bool manage=false, bool copy=false) |
ImageType * | Image () const |
Get image associated with this channel. | |
ImageChannel (ImageType *image=NULL, bool manage=false, bool copy=false) | |
ImageChannel (const ImageChannel &) | |
template<class TOtherImage > | |
ImageChannel (const ImageChannel< TOtherImage > &) | |
ImageChannel & | operator= (const ImageChannel &) |
template<class TOtherImage > | |
ImageChannel & | operator= (const ImageChannel< TOtherImage > &) |
virtual | ~ImageChannel () |
Destructor. | |
Public Member Functions inherited from mirtk::Object | |
virtual const char * | NameOfClass () const =0 |
Get name of class, which this object is an instance of. | |
virtual ParameterList | Parameter () const |
Get parameter name/value pairs. | |
bool | Parameter (const ParameterList &) |
Set parameters from name/value pairs. | |
virtual bool | Set (const char *name, const char *value) |
virtual | ~Object () |
Destructor. | |
Protected Attributes | |
ImageType * | _Image |
Image associated with this channel. | |
bool | _Manage |
Whether to manage the associated image. | |
Additional Inherited Members | |
Static Public Member Functions inherited from mirtk::Object | |
static const char * | NameOfType () |
Get name of this class type. | |
Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
Static Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
Single channel of a multi-channel image
Definition at line 41 of file ImageSequence.h.
mirtk::ImageChannel< TImage >::ImageChannel | ( | ImageType * | image = NULL , |
bool | manage = false , |
||
bool | copy = false |
||
) |
Constructor
[in] | image | Image associated with channel. |
[in] | manage | Whether to manage memory of image. |
[in] | copy | Whether to copy image if manage is false . |
Definition at line 55 of file ImageSequence.hh.
mirtk::ImageChannel< TImage >::ImageChannel | ( | const ImageChannel< TImage > & | other | ) |
Copy constructor
Definition at line 85 of file ImageSequence.hh.
mirtk::ImageChannel< TImage >::ImageChannel | ( | const ImageChannel< TOtherImage > & | ) |
Copy constructor
void mirtk::ImageChannel< TImage >::Image | ( | ImageType * | image, |
bool | manage = false , |
||
bool | copy = false |
||
) |
Set image associated with this channel
[in] | image | Image associated with this channel. |
[in] | manage | Whether to manage memory of image. |
[in] | copy | Whether to copy image if manage is false . |
Definition at line 139 of file ImageSequence.hh.
ImageChannel< TImage > & mirtk::ImageChannel< TImage >::operator= | ( | const ImageChannel< TImage > & | other | ) |
Assignment operator
Definition at line 74 of file ImageSequence.hh.
ImageChannel& mirtk::ImageChannel< TImage >::operator= | ( | const ImageChannel< TOtherImage > & | ) |
Assignment operator