#pragma once #include "ConvexUmbrellaTriMeshSdfAlgorithm.h" namespace SDF { class JitterUmbrellaSdfAlgo : public ConvexUmbrellaTriMeshSdfAlgorithm { public: JitterUmbrellaSdfAlgo(void); ~JitterUmbrellaSdfAlgo(void); //--------------------------------- // Override this. We will use the super's compute method, // but if it returns DONT_KNOW, we'll jitter the test point and just try again. // TODO - eh..this won't quite work out so nice ly. we still need all the // triangles from before and stuff. For now, i'm not gonna do that at this level. // See JitteringStlSdfAble for the higher-level jitter that works pretty well. //--------------------------------- virtual SdfValue compute_sdf_result(); }; }