X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2FCutModule%2Fkernel%2FCutModelFigureSphere.h;fp=lib%2FmaracasVisuLib%2Fsrc%2FCutModule%2Fkernel%2FCutModelFigureSphere.h;h=4ce69c666c7c273157c9a3a104ee29a2ae80c3c8;hb=2d5984d688d7b149aa7706a0a0bf8c4b4556d788;hp=0000000000000000000000000000000000000000;hpb=3ad85f9f850002ba3883d0a6688027c21784377b;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.h b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.h new file mode 100644 index 0000000..4ce69c6 --- /dev/null +++ b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.h @@ -0,0 +1,21 @@ +#ifndef CutModelFigureSphere_H_ +#define CutModelFigureSphere_H_ + +#include "CutModelFigure.h" +#include "vtkSphereSource.h" + +class CutModelFigureSphere : public CutModelFigure +{ +public: + CutModelFigureSphere(); + virtual ~CutModelFigureSphere(); + virtual bool IfPointInside(double x, double y, double z); + virtual double GetTheoricVolume(); + virtual char *GetName(); + virtual vtkPolyData* getPolyData(); +private: + vtkSphereSource* _vtksphere; +protected: +}; + +#endif /*FIGURECUTTINGSPHEREMODEL_H_*/