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 =========================================================================*/
22 #ifndef __vtkImageDataLIC2DExtentTranslator_h
23 #define __vtkImageDataLIC2DExtentTranslator_h
24 
25 #include "vtkRenderingLICModule.h" // For export macro
26 #include "vtkExtentTranslator.h"
27 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
28 
29 class vtkImageDataLIC2D;
30 
32  : public vtkExtentTranslator
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
43  void SetAlgorithm(vtkImageDataLIC2D*);
44  vtkImageDataLIC2D* GetAlgorithm();
46 
47  void SetInputExtentTranslator(vtkExtentTranslator*);
48  vtkGetObjectMacro(InputExtentTranslator, vtkExtentTranslator);
49 
50  vtkSetVector6Macro(InputWholeExtent, int);
51  vtkGetVector6Macro(InputWholeExtent, int);
52 
53  virtual int PieceToExtentThreadSafe(
54  int piece,
55  int numPieces,
56  int ghostLevel,
57  int *wholeExtent,
58  int *resultExtent,
59  int splitMode,
60  int byPoints);
61 
62 //BTX
63 protected:
66 
67  int InputWholeExtent[6];
70 private:
72  void operator=(const vtkImageDataLIC2DExtentTranslator&); // Not implemented.
73 //ETX
74 };
75 
76 #endif
Generates a structured extent from unstructured.
static vtkExtentTranslator * New()
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
#define VTKRENDERINGLIC_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkWeakPointer< vtkImageDataLIC2D > Algorithm
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:222
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:350
#define vtkGetVector6Macro(name, type)
Definition: vtkSetGet.h:370
void PrintSelf(ostream &os, vtkIndent indent)
virtual int PieceToExtentThreadSafe(int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)