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/vtkSMPWarpVector.h

57 lines
1.5 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkSMPWarpVector.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 vtkSMPWarpVector
* @brief multithreaded vtkWarpVector
*
* Just like parent, but uses the SMP framework to do the work on many threads.
*/
#ifndef vtkSMPWarpVector_h
#define vtkSMPWarpVector_h
#include "vtkFiltersSMPModule.h" // For export macro
#include "vtkWarpVector.h"
class vtkInformation;
class vtkInformationVector;
class VTKFILTERSSMP_EXPORT vtkSMPWarpVector : public vtkWarpVector
{
public :
vtkTypeMacro(vtkSMPWarpVector,vtkWarpVector);
static vtkSMPWarpVector *New();
void PrintSelf(ostream& os, vtkIndent indent);
protected :
vtkSMPWarpVector();
~vtkSMPWarpVector();
/**
* Overridden to use threads.
*/
int RequestData(vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
private :
vtkSMPWarpVector(const vtkSMPWarpVector&) VTK_DELETE_FUNCTION;
void operator=(const vtkSMPWarpVector&) VTK_DELETE_FUNCTION;
};
#endif //vtkSMPWarpVector_h