VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkProbePolyhedron.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 =========================================================================*/ 00054 #ifndef __vtkProbePolyhedron_h 00055 #define __vtkProbePolyhedron_h 00056 00057 #include "vtkFiltersGeneralModule.h" // For export macro 00058 #include "vtkDataSetAlgorithm.h" 00059 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList 00060 00061 class vtkIdTypeArray; 00062 class vtkCharArray; 00063 class vtkMaskPoints; 00064 00065 class VTKFILTERSGENERAL_EXPORT vtkProbePolyhedron : public vtkDataSetAlgorithm 00066 { 00067 public: 00069 00070 static vtkProbePolyhedron *New(); 00071 vtkTypeMacro(vtkProbePolyhedron,vtkDataSetAlgorithm); 00072 void PrintSelf(ostream& os, vtkIndent indent); 00074 00076 00078 void SetSourceData(vtkPolyData *source); 00079 vtkPolyData *GetSource(); 00081 00084 void SetSourceConnection(vtkAlgorithmOutput* algOutput); 00085 00087 00090 vtkSetMacro(ProbePointData, int); 00091 vtkGetMacro(ProbePointData, int); 00092 vtkBooleanMacro(ProbePointData, int); 00094 00096 00101 vtkSetMacro(ProbeCellData, int); 00102 vtkGetMacro(ProbeCellData, int); 00103 vtkBooleanMacro(ProbeCellData, int); 00105 00106 protected: 00107 vtkProbePolyhedron(); 00108 ~vtkProbePolyhedron(); 00109 00110 int ProbePointData; 00111 int ProbeCellData; 00112 00113 virtual int RequestData(vtkInformation *, vtkInformationVector **, 00114 vtkInformationVector *); 00115 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, 00116 vtkInformationVector *); 00117 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, 00118 vtkInformationVector *); 00119 00120 private: 00121 vtkProbePolyhedron(const vtkProbePolyhedron&); // Not implemented. 00122 void operator=(const vtkProbePolyhedron&); // Not implemented. 00123 00124 }; 00125 00126 #endif