Shapeworks Studio  2.1
Shape analysis software suite
itkPSMProjectWriter.h
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef __itkPSMProjectWriter_h
20 #define __itkPSMProjectWriter_h
21 
22 #include "itkPSMProject.h"
23 
24 namespace itk
25 {
26 
35 class ITK_EXPORT PSMProjectWriter : public Object
36 {
37 public:
40  typedef Object Superclass;
41  typedef SmartPointer< Self > Pointer;
42  typedef SmartPointer< const Self > ConstPointer;
43 
45  itkNewMacro(Self);
46 
48  itkTypeMacro(PSMProjectWriter, Object);
49 
51  itkSetStringMacro(FileName);
52 
54  itkGetStringMacro(FileName);
55 
58  itkGetObjectMacro( Input, PSMProject);
59  itkSetObjectMacro( Input, PSMProject);
60  itkGetConstObjectMacro( Input, PSMProject);
61 
63  virtual void Update();
64 
65  protected:
67 
68  private:
69  PSMProjectWriter(const Self &); //purposely not implemented
70  void operator=(const Self &); //purposely not implemented
71 
73  PSMProject::Pointer m_Input;
74 
76  std::string m_FileName;
77 };
78 
79 } // namespace itk
80 
81 #endif
This class is a data object that holds information about a Particle Shape Modeling project...
Definition: itkPSMProject.h:47
This class is a writer for PSMProjects.