VMTK
Loading...
Searching...
No Matches
vtkvmtkImageBoxPainter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
32
33#ifndef __vtkvmtkImageBoxPainter_h
34#define __vtkvmtkImageBoxPainter_h
35
36#include "vtkSimpleImageToImageFilter.h"
37#include "vtkvmtkWin32Header.h"
38
39class VTK_VMTK_MISC_EXPORT vtkvmtkImageBoxPainter : public vtkSimpleImageToImageFilter
40{
41public:
43 vtkTypeMacro(vtkvmtkImageBoxPainter,vtkSimpleImageToImageFilter);
44
46
49 vtkGetMacro(PaintValue,double);
50 vtkSetMacro(PaintValue,double);
52
54
59 vtkGetVectorMacro(BoxBounds,double,6);
60 vtkSetVectorMacro(BoxBounds,double,6);
62
64
70 vtkGetVectorMacro(BoxExtent,int,6);
71 vtkSetVectorMacro(BoxExtent,int,6);
73
75
80 vtkGetMacro(BoxDefinition,int);
81 vtkSetMacro(BoxDefinition,int);
83
89
95
96protected:
97
100
101 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
102
104 double BoxBounds[6];
105 int BoxExtent[6];
106
108 //BTX
109 enum
110 {
113 };
114 //ETX
115
116private:
117 vtkvmtkImageBoxPainter(const vtkvmtkImageBoxPainter&); // Not implemented.
118 void operator=(const vtkvmtkImageBoxPainter&); // Not implemented.
119};
120
121#endif
122
123
124
125
126
127
128
Create a box shaped sub-volume within a 3D image and paint (assign a value to) every sub-volume eleme...
static vtkvmtkImageBoxPainter * New()