Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Filtering/vtkImplicitDataSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00059 #ifndef __vtkImplicitDataSet_h
00060 #define __vtkImplicitDataSet_h
00061
00062 #include "vtkImplicitFunction.h"
00063
00064 class vtkDataSet;
00065
00066 class VTK_FILTERING_EXPORT vtkImplicitDataSet : public vtkImplicitFunction
00067 {
00068 public:
00069 vtkTypeRevisionMacro(vtkImplicitDataSet,vtkImplicitFunction);
00070 void PrintSelf(ostream& os, vtkIndent indent);
00071
00074 static vtkImplicitDataSet *New();
00075
00077 unsigned long GetMTime();
00078
00080
00082 float EvaluateFunction(float x[3]);
00083 float EvaluateFunction(float x, float y, float z)
00084 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00086
00088 void EvaluateGradient(float x[3], float n[3]);
00089
00091
00092 virtual void SetDataSet(vtkDataSet*);
00093 vtkGetObjectMacro(DataSet,vtkDataSet);
00095
00097
00099 vtkSetMacro(OutValue,float);
00100 vtkGetMacro(OutValue,float);
00102
00104
00106 vtkSetVector3Macro(OutGradient,float);
00107 vtkGetVector3Macro(OutGradient,float);
00109
00110 protected:
00111 vtkImplicitDataSet();
00112 ~vtkImplicitDataSet();
00113
00114 vtkDataSet *DataSet;
00115 float OutValue;
00116 float OutGradient[3];
00117
00118 float *Weights;
00119 int Size;
00120
00121 private:
00122 vtkImplicitDataSet(const vtkImplicitDataSet&);
00123 void operator=(const vtkImplicitDataSet&);
00124 };
00125
00126 #endif
00127
00128