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.
59 lines
2.0 KiB
C++
59 lines
2.0 KiB
C++
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: vtkSMPContourGridManyPiece.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 vtkSMPContourGridManyPieces
|
|
* @brief a subclass of vtkContourGrid that works in parallel
|
|
* vtkSMPContourGridManyPieces performs the same functionaliy as vtkContourGrid but does
|
|
* it using multiple threads. This filter generates a multi-block of vtkPolyData. It
|
|
* will generate a relatively large number of pieces - the number is dependent on
|
|
* the input size and number of threads available. See vtkSMPContourGrid is you are
|
|
* interested in a filter that merges the piece. This will probably be merged with
|
|
* vtkContourGrid in the future.
|
|
*/
|
|
|
|
#ifndef vtkSMPContourGridManyPieces_h
|
|
#define vtkSMPContourGridManyPieces_h
|
|
|
|
#include "vtkFiltersSMPModule.h" // For export macro
|
|
#include "vtkContourGrid.h"
|
|
|
|
class vtkPolyData;
|
|
|
|
class VTKFILTERSSMP_EXPORT vtkSMPContourGridManyPieces : public vtkContourGrid
|
|
{
|
|
public:
|
|
vtkTypeMacro(vtkSMPContourGridManyPieces,vtkContourGrid);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
/**
|
|
* Constructor.
|
|
*/
|
|
static vtkSMPContourGridManyPieces *New();
|
|
|
|
protected:
|
|
vtkSMPContourGridManyPieces();
|
|
~vtkSMPContourGridManyPieces();
|
|
|
|
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
|
|
|
|
virtual int FillOutputPortInformation(int port, vtkInformation* info);
|
|
|
|
private:
|
|
vtkSMPContourGridManyPieces(const vtkSMPContourGridManyPieces&) VTK_DELETE_FUNCTION;
|
|
void operator=(const vtkSMPContourGridManyPieces&) VTK_DELETE_FUNCTION;
|
|
};
|
|
|
|
#endif
|