source: branches/4.0.0/components/native/itk-plugin/itkBioFormatsImageIOFactory.cxx @ 4879

Revision 4879, 1.9 KB checked in by melissa, 11 years ago (diff)

Synced 4.0.0 branch to r4878 (including r4804).

Line 
1//
2// itkBioFormatsImageIOFactory.cxx
3//
4
5/*
6OME Bio-Formats package for reading and converting biological file formats.
7Copyright (C) 2005-@year@ UW-Madison LOCI and Glencoe Software, Inc.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 3 of the License, or
12(at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22*/
23
24/*
25Adapted from the Slicer3 project: http://www.slicer.org/
26http://viewvc.slicer.org/viewcvs.cgi/trunk/Libs/MGHImageIO/
27
28See slicer-license.txt for Slicer3's licensing information.
29
30For more information about the ITK Plugin IO mechanism, see:
31http://www.itk.org/Wiki/Plugin_IO_mechanisms
32*/
33
34#include "itkBioFormatsImageIOFactory.h"
35#include "itkCreateObjectFunction.h"
36#include "itkBioFormatsImageIO.h"
37#include "itkVersion.h"
38
39namespace itk
40{
41
42  BioFormatsImageIOFactory::BioFormatsImageIOFactory()
43  {
44    this->RegisterOverride("itkImageIOBase",
45      "itkBioFormatsImageIO",
46      "BioFormats Image IO",
47      1,
48      CreateObjectFunction<BioFormatsImageIO>::New());
49  }
50
51  BioFormatsImageIOFactory::~BioFormatsImageIOFactory()
52  {
53  }
54
55  const char*
56  BioFormatsImageIOFactory::GetITKSourceVersion(void) const
57  {
58    return ITK_SOURCE_VERSION;
59  }
60
61  const char*
62  BioFormatsImageIOFactory::GetDescription() const
63  {
64    return "Bio-Formats ImageIO Factory, allows the loading of Bio-Formats-compatible images into Insight; see http://www.loci.wisc.edu/ome/formats.html";
65  }
66
67} // end namespace itk
Note: See TracBrowser for help on using the repository browser.