33 #ifndef __vtkImageClip_h
34 #define __vtkImageClip_h
39 #include "vtkImagingCoreModule.h"
40 #include "vtkImageAlgorithm.h"
42 class VTKIMAGINGCORE_EXPORT
vtkImageClip :
public vtkImageAlgorithm
47 void PrintSelf(ostream& os, vtkIndent indent);
51 void SetOutputWholeExtent(
int extent[6], vtkInformation *outInfo=0);
52 void SetOutputWholeExtent(
int minX,
int maxX,
int minY,
int maxY,
54 void GetOutputWholeExtent(
int extent[6]);
58 void ResetOutputWholeExtent();
64 vtkSetMacro(ClipData,
int);
65 vtkGetMacro(ClipData,
int);
66 vtkBooleanMacro(ClipData,
int);
70 void SetOutputWholeExtent(
int piece,
int numPieces);
79 int OutputWholeExtent[6];
83 virtual int RequestInformation (vtkInformation *,
84 vtkInformationVector **,
85 vtkInformationVector *);
87 void CopyData(vtkImageData *inData, vtkImageData *outData,
int *ext);
89 virtual int RequestData(vtkInformation *,
90 vtkInformationVector **,
91 vtkInformationVector *);
int * GetOutputWholeExtent()
Reduces the image extent of the input.