vtkbone
vtkboneAIMReader.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
39#ifndef __vtkboneAIMReader_h
40#define __vtkboneAIMReader_h
41
42#include "vtkImageAlgorithm.h"
43#ifdef N88_BUILD_AS_PARAVIEW_PLUGIN
44#define VTKBONE_EXPORT VTK_EXPORT
45#else
46#include "vtkboneWin32Header.h"
47#endif
48
49// Forward declarations
50class vtkImageData;
51class vtkMath;
52
53class VTKBONE_EXPORT vtkboneAIMReader : public vtkImageAlgorithm
54{
55public:
58 void PrintSelf(ostream& os, vtkIndent indent) override;
59
61
62 vtkSetStringMacro(FileName);
63 vtkGetStringMacro(FileName);
65
67
68 vtkSetMacro(DataOnCells, int);
69 vtkGetMacro(DataOnCells, int);
70 vtkBooleanMacro(DataOnCells, int);
72
74
75 vtkGetMacro(Error, int);
77
79
80 vtkGetVector3Macro(Dimension, int);
82
84
85 vtkGetVector3Macro(Position, int);
87
89
90 vtkGetVector3Macro(ElementSize, double);
92
94
95 vtkGetStringMacro(ProcessingLog);
97
98protected:
101
103
104 vtkSetStringMacro(ProcessingLog);
106
108 vtkInformationVector** inputVector,
109 vtkInformationVector* outputVector) override;
112 vtkInformationVector*) override;
113
114 char *FileName;
115 int DataOnCells; // Flag to put data on cells instead of points.
116
118 int Dimension[3];
119 int Position[3];
120 double ElementSize[3];
121
122 int Error;
123
124private:
125 // Prevent compiler from making default versions of these.
127 void operator=(const vtkboneAIMReader&);
128};
129
130#endif
void operator=(const vtkObjectBase &)
read Scanco .aim files.
static vtkboneAIMReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override