Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkClipPolyData.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00081 #ifndef __vtkClipPolyData_h
00082 #define __vtkClipPolyData_h
00083
00084 #include "vtkPolyDataToPolyDataFilter.h"
00085
00086 class vtkImplicitFunction;
00087 class vtkPointLocator;
00088
00089 class VTK_GRAPHICS_EXPORT vtkClipPolyData : public vtkPolyDataToPolyDataFilter
00090 {
00091 public:
00092 vtkTypeRevisionMacro(vtkClipPolyData,vtkPolyDataToPolyDataFilter);
00093 void PrintSelf(ostream& os, vtkIndent indent);
00094
00097 static vtkClipPolyData *New();
00098
00100
00103 vtkSetMacro(Value,float);
00104 vtkGetMacro(Value,float);
00106
00108
00113 vtkSetMacro(InsideOut,int);
00114 vtkGetMacro(InsideOut,int);
00115 vtkBooleanMacro(InsideOut,int);
00117
00119
00122 virtual void SetClipFunction(vtkImplicitFunction*);
00123 vtkGetObjectMacro(ClipFunction,vtkImplicitFunction);
00125
00127
00131 vtkSetMacro(GenerateClipScalars,int);
00132 vtkGetMacro(GenerateClipScalars,int);
00133 vtkBooleanMacro(GenerateClipScalars,int);
00135
00137
00139 vtkSetMacro(GenerateClippedOutput,int);
00140 vtkGetMacro(GenerateClippedOutput,int);
00141 vtkBooleanMacro(GenerateClippedOutput,int);
00143
00145 vtkPolyData *GetClippedOutput();
00146
00148
00150 void SetLocator(vtkPointLocator *locator);
00151 vtkGetObjectMacro(Locator,vtkPointLocator);
00153
00156 void CreateDefaultLocator();
00157
00159 unsigned long GetMTime();
00160
00161 protected:
00162 vtkClipPolyData(vtkImplicitFunction *cf=NULL);
00163 ~vtkClipPolyData();
00164
00165 void Execute();
00166 vtkImplicitFunction *ClipFunction;
00167
00168 vtkPointLocator *Locator;
00169 int InsideOut;
00170 float Value;
00171 int GenerateClipScalars;
00172
00173 int GenerateClippedOutput;
00174 private:
00175 vtkClipPolyData(const vtkClipPolyData&);
00176 void operator=(const vtkClipPolyData&);
00177 };
00178
00179 #endif