You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkImageMirrorPad.h

56 lines
1.8 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Module: vtkImageMirrorPad.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkImageMirrorPad
* @brief Extra pixels are filled by mirror images.
*
* vtkImageMirrorPad makes an image larger by filling extra pixels with
* a mirror image of the original image (mirror at image boundaries).
*/
#ifndef vtkImageMirrorPad_h
#define vtkImageMirrorPad_h
#include "vtkImagingCoreModule.h" // For export macro
#include "vtkImagePadFilter.h"
class VTKIMAGINGCORE_EXPORT vtkImageMirrorPad : public vtkImagePadFilter
{
public:
static vtkImageMirrorPad *New();
vtkTypeMacro(vtkImageMirrorPad,vtkImagePadFilter);
protected:
vtkImageMirrorPad() {}
~vtkImageMirrorPad() {}
void ComputeInputUpdateExtent(int inExt[6], int outExt[6], int wExt[6]) VTK_OVERRIDE;
void ThreadedRequestData (vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector,
vtkImageData ***inData, vtkImageData **outData,
int ext[6], int id) VTK_OVERRIDE;
private:
vtkImageMirrorPad(const vtkImageMirrorPad&) VTK_DELETE_FUNCTION;
void operator=(const vtkImageMirrorPad&) VTK_DELETE_FUNCTION;
};
#endif
// VTK-HeaderTest-Exclude: vtkImageMirrorPad.h