Warning, file /include/opencascade/IMeshTools_ModelBuilder.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _IMeshTools_ModelBuilder_HeaderFile
0017 #define _IMeshTools_ModelBuilder_HeaderFile
0018
0019 #include <Message_Algorithm.hxx>
0020 #include <Standard_ErrorHandler.hxx>
0021 #include <Standard_Failure.hxx>
0022 #include <Standard_Type.hxx>
0023 #include <IMeshData_Model.hxx>
0024
0025 struct IMeshTools_Parameters;
0026
0027
0028
0029
0030
0031
0032
0033 class IMeshTools_ModelBuilder : public Message_Algorithm
0034 {
0035 public:
0036
0037
0038 virtual ~IMeshTools_ModelBuilder()
0039 {
0040 }
0041
0042
0043
0044 Handle (IMeshData_Model) Perform (
0045 const TopoDS_Shape& theShape,
0046 const IMeshTools_Parameters& theParameters)
0047 {
0048 ClearStatus ();
0049
0050 try
0051 {
0052 OCC_CATCH_SIGNALS
0053
0054 return performInternal (theShape, theParameters);
0055 }
0056 catch (Standard_Failure const&)
0057 {
0058 SetStatus (Message_Fail2);
0059 return NULL;
0060 }
0061 }
0062
0063 DEFINE_STANDARD_RTTIEXT(IMeshTools_ModelBuilder, Message_Algorithm)
0064
0065 protected:
0066
0067
0068 IMeshTools_ModelBuilder()
0069 {
0070 }
0071
0072
0073
0074 Standard_EXPORT virtual Handle (IMeshData_Model) performInternal (
0075 const TopoDS_Shape& theShape,
0076 const IMeshTools_Parameters& theParameters) = 0;
0077 };
0078
0079 #endif