GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LSMToMegaCapture.h
Go to the documentation of this file.
1 /*=========================================================================
2  Authors: The GoFigure Dev. Team.
3  at Megason Lab, Systems biology, Harvard Medical school, 2009-11
4 
5  Copyright (c) 2009-11, President and Fellows of Harvard College.
6  All rights reserved.
7 
8  Redistribution and use in source and binary forms, with or without
9  modification, are permitted provided that the following conditions are met:
10 
11  Redistributions of source code must retain the above copyright notice,
12  this list of conditions and the following disclaimer.
13  Redistributions in binary form must reproduce the above copyright notice,
14  this list of conditions and the following disclaimer in the documentation
15  and/or other materials provided with the distribution.
16  Neither the name of the President and Fellows of Harvard College
17  nor the names of its contributors may be used to endorse or promote
18  products derived from this software without specific prior written
19  permission.
20 
21  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
23  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
25  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
26  OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
27  OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
28  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
30  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
31  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 
33 =========================================================================*/
34 
35 #ifndef __LSMToMegaCapture_h
36 #define __LSMToMegaCapture_h
37 
38 #if defined( WIN32 )
39 #pragma warning( disable: 4251 )
40 #endif
41 
42 #include <vector>
43 #include <string>
45 
46 #include "QGoIOConfigure.h"
47 
48 class vtkLSMReader;
49 
53 class QGOIO_EXPORT LSMToMegaCapture
54 {
55 public:
58 
63  void SetFileName(const std::string & iFileName);
64 
69  void SetOutputFileType(const GoFigure::FileType & iFileType);
70 
71  void Export(const std::string & iDirectoryPath);
72 
73  void SetPlaque(const unsigned int & iPlaque);
74 
75  void SetRow(const unsigned int & iRow);
76 
77  void SetColumn(const unsigned int & iCol);
78 
79  void SetXTile(const unsigned int & iXt);
80 
81  void SetYTile(const unsigned int & iYt);
82 
83  void SetZTile(const unsigned int & iZt);
84 
85  std::vector< vtkLSMReader * > GetLSMReaders();
86 
87 protected:
88  std::string m_FileName;
89  std::vector< vtkLSMReader * > m_LSMReaders;
90  unsigned int m_Plaque;
91  unsigned int m_Row;
92  unsigned int m_Column;
93  unsigned int m_XTile;
94  unsigned int m_YTile;
95  unsigned int m_ZTile;
96  double m_XOverlap;
97  double m_YOverlap;
98  double m_ZOverlap;
99  unsigned int m_NumberOfChannels;
100  unsigned int m_NumberOfTimePoints;
102  std::string m_BaseName;
103 };
104 #endif
unsigned int m_Plaque
unsigned int m_ZTile
std::string m_FileName
unsigned int m_Row
unsigned int m_NumberOfTimePoints
GoFigure::FileType m_FileType
unsigned int m_XTile
Convert 1 LSM (5D file) into megacapture files.
unsigned int m_YTile
unsigned int m_Column
std::vector< vtkLSMReader * > m_LSMReaders
std::string m_BaseName
unsigned int m_NumberOfChannels