3 // Declaration of the MainPage class.
8 #include <TopoDS_Shape.hxx>
9 #include <STEPControl_StepModelType.hxx>
11 #include "MainPage.g.h"
16 /// An empty page that can be used on its own or navigated to within a Frame.
18 public ref class MainPage sealed
23 void OnClickOffset(Platform::Object^ theSender,
24 Windows::UI::Xaml::Input::PointerRoutedEventArgs^ theEvent);
26 void OnClickMesh(Platform::Object^ theSender,
27 Windows::UI::Xaml::Input::PointerRoutedEventArgs^ theEvent);
29 void OnClickBoolean(Platform::Object^ theSender,
30 Windows::UI::Xaml::Input::PointerRoutedEventArgs^ theEvent);
32 void OnClickDataExchange(Platform::Object^ theSender,
33 Windows::UI::Xaml::Input::PointerRoutedEventArgs^ theEvent);
35 void OnClickBuildTemporary(Platform::Object^ theSender,
36 Windows::UI::Xaml::Input::PointerRoutedEventArgs^ theEvent);
39 // test data exchange export functionality
40 Standard_Boolean SaveBREP(const wchar_t* theFilePath, const TopoDS_Shape& theShape);
41 Standard_Boolean SaveIGES(const wchar_t* theFilePath, const TopoDS_Shape& theShape);
42 Standard_Boolean SaveSTEP(const wchar_t* theFilePath, const TopoDS_Shape& theShape, const STEPControl_StepModelType theValue);
43 Standard_Boolean SaveSTL (const wchar_t* theFilePath, const TopoDS_Shape& theShape);
44 // Standard_Boolean SaveVRML(const wchar_t* theFilePath, const TopoDS_Shape& theShape);
46 // test data exchange import functionality
47 Standard_Boolean ReadBREP(const wchar_t* theFilePath, TopoDS_Shape& theShape);
48 Standard_Boolean ReadIGES(const wchar_t* theFilePath, TopoDS_Shape& theShape);
49 Standard_Boolean ReadSTEP(const wchar_t* theFilePath, TopoDS_Shape& theShape);