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 "vtkExtentTranslator.h"
23 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
24 
25 class vtkImageDataLIC2D;
26 
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
35 
37  void SetAlgorithm(vtkImageDataLIC2D*);
38  vtkImageDataLIC2D* GetAlgorithm();
40 
41  void SetInputExtentTranslator(vtkExtentTranslator*);
42  vtkGetObjectMacro(InputExtentTranslator, vtkExtentTranslator);
43 
44  vtkSetVector6Macro(InputWholeExtent, int);
45  vtkGetVector6Macro(InputWholeExtent, int);
46 
47  virtual int PieceToExtentThreadSafe(int piece, int numPieces,
48  int ghostLevel, int *wholeExtent,
49  int *resultExtent, int splitMode,
50  int byPoints);
51 
52 //BTX
53 protected:
56 
57  int InputWholeExtent[6];
60 private:
62  void operator=(const vtkImageDataLIC2DExtentTranslator&); // Not implemented.
63 //ETX
64 };
65 
66 #endif