MeVisLabToolboxReference
|
00001 // **InsertLicense** code 00002 //---------------------------------------------------------------------------------- 00005 00010 //---------------------------------------------------------------------------------- 00011 00012 #ifndef __CSOFunction_H 00013 #define __CSOFunction_H 00014 00015 00016 #include "MLCSOIncludes.h" 00017 00018 00019 ML_START_NAMESPACE 00020 00022 00025 class MLCSO_EXPORT CSOFunction { 00026 00027 public: 00028 00030 CSOFunction() {} 00032 virtual ~CSOFunction() {} 00033 00035 virtual float evaluateAtPos(const Vector3& ) const { return 0.0f; }; 00036 00038 virtual bool shouldParallelize() const { return false; } 00039 }; 00040 00042 00043 00044 ML_END_NAMESPACE 00045 00046 #endif // __CSOFunction_H