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
50 class vtkImageData;
51 class vtkMath;
52 
54 {
55 public:
56  static vtkboneAIMReader *New();
57  vtkTypeMacro(vtkboneAIMReader, vtkImageAlgorithm);
58  void PrintSelf(ostream& os, vtkIndent indent);
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 
98 protected:
100  ~vtkboneAIMReader();
101 
103 
104  vtkSetStringMacro(ProcessingLog);
106 
107  int RequestInformation(vtkInformation* request,
108  vtkInformationVector** inputVector,
109  vtkInformationVector* outputVector);
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 
124 private:
125  // Prevent compiler from making default versions of these.
127  void operator=(const vtkboneAIMReader&);
128 };
129 
130 #endif
#define VTKBONE_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
read Scanco .aim files.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)