vtkbone
vtkboneISQReader.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 __vtkboneISQReader_h
40#define __vtkboneISQReader_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 vtkboneISQReader : 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
93protected:
96
98 vtkInformationVector** inputVector,
99 vtkInformationVector* outputVector) override;
102 vtkInformationVector*) override;
103
104 char *FileName;
105 int DataOnCells; // Flag to put data on cells instead of points.
106
107 int Dimension[3];
108 int Position[3];
109 double ElementSize[3];
110
111 int Error;
112
113private:
114 // Prevent compiler from making default versions of these.
116 void operator=(const vtkboneISQReader&);
117};
118
119#endif
void operator=(const vtkObjectBase &)
read Scanco .isq files.
static vtkboneISQReader * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override