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