ParaView
vtkBoundedVolumeSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkBoundedVolumeSource.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkBoundedVolumeSource_h
24 #define vtkBoundedVolumeSource_h
25 
26 #include "vtkImageAlgorithm.h"
27 #include "vtkPVVTKExtensionsPointsModule.h" // for export macro
28 
29 class VTKPVVTKEXTENSIONSPOINTS_EXPORT vtkBoundedVolumeSource : public vtkImageAlgorithm
30 {
31 public:
32  static vtkBoundedVolumeSource* New();
33  vtkTypeMacro(vtkBoundedVolumeSource, vtkImageAlgorithm);
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
40  vtkSetVector3Macro(Origin, double);
41  vtkGetVector3Macro(Origin, double);
43 
45 
49  vtkSetVector3Macro(Scale, double);
50  vtkGetVector3Macro(Scale, double);
52 
54 
57  vtkSetVector3Macro(Resolution, int);
58  vtkGetVector3Macro(Resolution, int);
60 
61 protected:
64 
65  virtual int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector);
67  virtual void ExecuteDataWithInformation(vtkDataObject* data, vtkInformation* outInfo);
68 
69  double Origin[3];
70  double Scale[3];
71  int Resolution[3];
72 
73 private:
74  vtkBoundedVolumeSource(const vtkBoundedVolumeSource&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkBoundedVolumeSource&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
a source to generate an image volume.