00001 00006 #ifndef __IMPLICITFUNCTION__H__ 00007 #define __IMPLICITFUNCTION__H__ 00008 00009 #include <maya/MPoint.h> 00010 #include <maya/MTransformationMatrix.h> 00011 #include <maya/MString.h> 00012 00014 00024 class ImplicitFunction 00025 { 00026 public: 00028 00034 ImplicitFunction(float w); 00035 00037 00040 virtual ~ImplicitFunction() {}; 00041 00043 00051 virtual float implicitValue(MPoint p) = 0; 00052 00054 00063 virtual void applyMatrix(MTransformationMatrix matrix) = 0; 00064 00066 00074 virtual bool testInfluance(MPoint p) = 0; 00075 00077 00080 MTransformationMatrix m; 00081 00083 00086 float weight; 00087 }; 00088 00089 #endif 00090