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

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

Synced 4.0.0 branch to r4878 (including r4804).

Line 
1//
2// itkBioFormatsIOPlugin.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 "itkBioFormatsIOPlugin.h"
35#include "itkBioFormatsImageIOFactory.h"
36
37/**
38 * Routine that is called when the shared library is loaded by
39 * itk::ObjectFactoryBase::LoadDynamicFactories().
40 *
41 * itkLoad() is C (not C++) function.
42 */
43itk::ObjectFactoryBase* itkLoad()
44{
45  static itk::BioFormatsImageIOFactory::Pointer f =
46    itk::BioFormatsImageIOFactory::New();
47  return f;
48}
Note: See TracBrowser for help on using the repository browser.