vtkbone
vtkboneAIMWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Copyright 2010-2016, Numerics88 Solutions Ltd.
4 http://www.numerics88.com/
5
6 Copyright (c) Eric Nodwell and Steven K. Boyd
7 See Copyright.txt for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13
29#ifndef __vtkboneAIMWriter_h
30#define __vtkboneAIMWriter_h
31
32#include "vtkWriter.h"
33#include "vtkboneWin32Header.h"
34
35// Forward declarations
36class vtkImageData;
37
38class VTKBONE_EXPORT vtkboneAIMWriter : public vtkWriter
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
50
52
53 vtkSetStringMacro(FileName);
54 vtkGetStringMacro(FileName);
56
58
59 vtkSetStringMacro(ProcessingLog);
60 vtkGetStringMacro(ProcessingLog);
62
64 void AppendToLog(const char* textToAppend);
65
67
72 vtkSetMacro(NewProcessingLog, int);
73 vtkGetMacro(NewProcessingLog, int);
74 vtkBooleanMacro(NewProcessingLog, int);
76
77protected:
80
82 void WriteData() override;
83
84 char *FileName;
88
89 virtual int FillInputPortInformation(int port, vtkInformation *info) override;
90
91private:
92 // Prevent compiler from making default versions of these.
94 void operator=(const vtkboneAIMWriter&);
95
96};
97
98#endif
99
void operator=(const vtkObjectBase &)
writes Scanco .aim files.
vtkImageData * GetInput(int port)
virtual int FillInputPortInformation(int port, vtkInformation *info) override
void AppendToLog(const char *textToAppend)
void PrintSelf(ostream &os, vtkIndent indent) override
vtkImageData * GetInput()
void WriteData() override
static vtkboneAIMWriter * New()