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 "vtkDataSetAlgorithm.h" 00058 #include "vtkDataSetAttributes.h" // needed for vtkDataSetAttributes::FieldList 00059 00060 class vtkIdTypeArray; 00061 class vtkCharArray; 00062 class vtkMaskPoints; 00063 00064 class VTK_GRAPHICS_EXPORT vtkProbePolyhedron : public vtkDataSetAlgorithm 00065 { 00066 public: 00068 00069 static vtkProbePolyhedron *New(); 00070 vtkTypeMacro(vtkProbePolyhedron,vtkDataSetAlgorithm); 00071 void PrintSelf(ostream& os, vtkIndent indent); 00073 00075 00077 void SetSource(vtkPolyData *source); 00078 vtkPolyData *GetSource(); 00080 00083 void SetSourceConnection(vtkAlgorithmOutput* algOutput); 00084 00086 00089 vtkSetMacro(ProbePointData, int); 00090 vtkGetMacro(ProbePointData, int); 00091 vtkBooleanMacro(ProbePointData, int); 00093 00095 00100 vtkSetMacro(ProbeCellData, int); 00101 vtkGetMacro(ProbeCellData, int); 00102 vtkBooleanMacro(ProbeCellData, int); 00104 00105 protected: 00106 vtkProbePolyhedron(); 00107 ~vtkProbePolyhedron(); 00108 00109 int ProbePointData; 00110 int ProbeCellData; 00111 00112 virtual int RequestData(vtkInformation *, vtkInformationVector **, 00113 vtkInformationVector *); 00114 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, 00115 vtkInformationVector *); 00116 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, 00117 vtkInformationVector *); 00118 00119 private: 00120 vtkProbePolyhedron(const vtkProbePolyhedron&); // Not implemented. 00121 void operator=(const vtkProbePolyhedron&); // Not implemented. 00122 00123 }; 00124 00125 #endif