PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkFcsvWriter.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkFcsvWriter_h
8 #define __vtkFcsvWriter_h
9 
10 // Local includes
11 #include "vtkPlusDataCollectionExport.h"
12 #include "vtkFcsvReader.h"
13 
14 // VTK includes
15 #include <vtkObject.h>
16 
24 class vtkPlusDataCollectionExport vtkFcsvWriter : public vtkObject
25 {
26 public:
27  static vtkFcsvWriter* New();
28  vtkTypeMacro(vtkFcsvWriter, vtkObject);
29  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
30 
31  /* Load an FCSV file */
32  void Update(void);
33 
35  vtkSetMacro(FileName, std::string);
37  vtkGetMacro(FileName, std::string);
38 
39  void CopyFcsvDataObject(const FcsvData& dataObject);
41  {
42  return FcsvDataObject;
43  };
44 
45 protected:
46  vtkFcsvWriter();
47  virtual ~vtkFcsvWriter();
48 
49  std::string FileName;
51 
52 private:
53  vtkFcsvWriter(const vtkFcsvWriter&); //purposely not implemented
54  vtkFcsvWriter& operator=(const vtkFcsvWriter&); //purposely not implemented
55 };
56 
57 #endif // __FcsvWriter_h
Describes a fiducial list.
Definition: vtkFcsvReader.h:39
std::string FileName
Definition: vtkFcsvWriter.h:49
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
const FcsvData & GetFcsvDataObject()
Definition: vtkFcsvWriter.h:40
FcsvData FcsvDataObject
Definition: vtkFcsvWriter.h:50