VTK
vtkImageDataLIC2DExtentTranslator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataLIC2DExtentTranslator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
19 #ifndef __vtkImageDataLIC2DExtentTranslator_h
20 #define __vtkImageDataLIC2DExtentTranslator_h
21 
22 #include "vtkRenderingHybridOpenGLModule.h" // For export macro
23 #include "vtkExtentTranslator.h"
24 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
25 
26 class vtkImageDataLIC2D;
27 
28 class VTKRENDERINGHYBRIDOPENGL_EXPORT vtkImageDataLIC2DExtentTranslator
29  : public vtkExtentTranslator
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
39  void SetAlgorithm(vtkImageDataLIC2D*);
40  vtkImageDataLIC2D* GetAlgorithm();
42 
43  void SetInputExtentTranslator(vtkExtentTranslator*);
44  vtkGetObjectMacro(InputExtentTranslator, vtkExtentTranslator);
45 
46  vtkSetVector6Macro(InputWholeExtent, int);
47  vtkGetVector6Macro(InputWholeExtent, int);
48 
49  virtual int PieceToExtentThreadSafe(int piece, int numPieces,
50  int ghostLevel, int *wholeExtent,
51  int *resultExtent, int splitMode,
52  int byPoints);
53 
54 //BTX
55 protected:
58 
59  int InputWholeExtent[6];
62 private:
64  void operator=(const vtkImageDataLIC2DExtentTranslator&); // Not implemented.
65 //ETX
66 };
67 
68 #endif