VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkSMPContourGrid.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef vtkSMPContourGrid_h 00026 #define vtkSMPContourGrid_h 00027 00028 #include "vtkFiltersSMPModule.h" // For export macro 00029 #include "vtkContourGrid.h" 00030 00031 class VTKFILTERSSMP_EXPORT vtkSMPContourGrid : public vtkContourGrid 00032 { 00033 public: 00034 vtkTypeMacro(vtkSMPContourGrid,vtkContourGrid); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 static vtkSMPContourGrid *New(); 00039 00041 00048 vtkSetMacro(MergePieces, bool); 00049 vtkGetMacro(MergePieces, bool); 00050 vtkBooleanMacro(MergePieces, bool); 00052 00054 00055 virtual int ProcessRequest(vtkInformation*, 00056 vtkInformationVector**, 00057 vtkInformationVector*); 00059 00060 protected: 00061 vtkSMPContourGrid(); 00062 ~vtkSMPContourGrid(); 00063 00064 virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00065 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00066 00067 virtual int FillOutputPortInformation(int port, vtkInformation* info); 00068 00069 bool MergePieces; 00070 00071 private: 00072 vtkSMPContourGrid(const vtkSMPContourGrid&); // Not implemented. 00073 void operator=(const vtkSMPContourGrid&); // Not implemented. 00074 }; 00075 00076 #endif