ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkVideoIOFactory.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
enum | IOModeType { ReadFileMode, ReadCameraMode, WriteMode } |
typedef SmartPointer< Self > | Pointer |
typedef VideoIOFactory | Self |
typedef Object | Superclass |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static VideoIOBase::Pointer | CreateVideoIO (IOModeType mode, const char *arg) |
Protected Member Functions | |
VideoIOFactory () | |
~VideoIOFactory () | |
Private Member Functions | |
void | operator= (const Self &) |
VideoIOFactory (const Self &) |
Create instances of VideoIO objects using an object factory.
This class will create a VideoIO instance that can read/write to/from the desired file or camera. In order for a specific VideoIO type to be considered, it must be registered with the ITK ObjectFactoryBase.
Definition at line 35 of file itkVideoIOFactory.h.
typedef SmartPointer< const Self > itk::VideoIOFactory::ConstPointer |
Reimplemented from itk::Object.
Definition at line 42 of file itkVideoIOFactory.h.
typedef SmartPointer< Self > itk::VideoIOFactory::Pointer |
Reimplemented from itk::Object.
Definition at line 41 of file itkVideoIOFactory.h.
Standard class typedefs.
Reimplemented from itk::Object.
Definition at line 39 of file itkVideoIOFactory.h.
Reimplemented from itk::Object.
Definition at line 40 of file itkVideoIOFactory.h.
Mode in which the VideoIO is intended to be used
Definition at line 45 of file itkVideoIOFactory.h.
itk::VideoIOFactory::VideoIOFactory | ( | ) | [protected] |
itk::VideoIOFactory::~VideoIOFactory | ( | ) | [protected] |
itk::VideoIOFactory::VideoIOFactory | ( | const Self & | ) | [private] |
static VideoIOBase::Pointer itk::VideoIOFactory::CreateVideoIO | ( | IOModeType | mode, |
const char * | arg | ||
) | [static] |
Create the appropriate ImageIO depending on the particulars of the file. Note: arg can either be a path for reading/writing from/to a file or a a string containing an integer to use for a cameraID if reading from a camera
virtual const char* itk::VideoIOFactory::GetNameOfClass | ( | ) | const [virtual] |
Runtime type information (and related methods).
Reimplemented from itk::Object.
void itk::VideoIOFactory::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.