Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / occtdemo / Validate / Validate_Presentation.h
diff --git a/samples/mfc/occtdemo/Validate/Validate_Presentation.h b/samples/mfc/occtdemo/Validate/Validate_Presentation.h
new file mode 100755 (executable)
index 0000000..db1e61a
--- /dev/null
@@ -0,0 +1,34 @@
+// Validate_Presentation.h: interface for the Validate_Presentation class.
+// Checking validity of shapes
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_Validate_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)
+#define AFX_Validate_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#include <OCCDemo_Presentation.h>
+
+class Validate_Presentation : public OCCDemo_Presentation
+{
+public:
+  // Construction
+  Validate_Presentation();
+
+public:
+  // Iteration on samples
+  virtual void DoSample();
+  // one phase of iterations
+
+private:
+  // Sample functions
+  void sample(const Standard_CString aFileName);
+  void checkShape(const TopoDS_Shape& aShape);
+
+  static Standard_CString myFileNames[];
+
+};
+
+#endif // !defined(AFX_Validate_Presentation_H__790EED7F_7BA2_11D5_BA4A_0060B0EE18EA__INCLUDED_)