|
||||
File indexing completed on 2025-01-18 10:03:14
0001 // Created on: 2016-04-07 0002 // Copyright (c) 2016 OPEN CASCADE SAS 0003 // Created by: Oleg AGASHIN 0004 // 0005 // This file is part of Open CASCADE Technology software library. 0006 // 0007 // This library is free software; you can redistribute it and/or modify it under 0008 // the terms of the GNU Lesser General Public License version 2.1 as published 0009 // by the Free Software Foundation, with special exception defined in the file 0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0011 // distribution for complete text of the license and disclaimer of any warranty. 0012 // 0013 // Alternatively, this file may be used under the terms of Open CASCADE 0014 // commercial license or contractual agreement. 0015 0016 #ifndef _BRepMesh_ModelBuilder_HeaderFile 0017 #define _BRepMesh_ModelBuilder_HeaderFile 0018 0019 #include <IMeshTools_ModelBuilder.hxx> 0020 #include <Standard_Type.hxx> 0021 #include <TopoDS_Shape.hxx> 0022 0023 //! Class implements interface representing tool for discrete model building. 0024 //! 0025 //! The following statuses should be used by default: 0026 //! Message_Done1 - model has been successfully built. 0027 //! Message_Fail1 - empty shape. 0028 //! Message_Fail2 - model has not been build due to unexpected reason. 0029 class BRepMesh_ModelBuilder : public IMeshTools_ModelBuilder 0030 { 0031 public: 0032 0033 //! Constructor. 0034 Standard_EXPORT BRepMesh_ModelBuilder (); 0035 0036 //! Destructor. 0037 Standard_EXPORT virtual ~BRepMesh_ModelBuilder (); 0038 0039 DEFINE_STANDARD_RTTIEXT(BRepMesh_ModelBuilder, IMeshTools_ModelBuilder) 0040 0041 protected: 0042 0043 //! Creates discrete model for the given shape. 0044 //! Returns nullptr in case of failure. 0045 Standard_EXPORT virtual Handle (IMeshData_Model) performInternal ( 0046 const TopoDS_Shape& theShape, 0047 const IMeshTools_Parameters& theParameters) Standard_OVERRIDE; 0048 }; 0049 0050 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |