|
||||
File indexing completed on 2025-01-18 10:03:09
0001 // Created on: 2022-06-30 0002 // Created by: Alexander MALYSHEV 0003 // Copyright (c) 2022-2022 OPEN CASCADE SAS 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 _BRepBuilderAPI_MakeShapeOnMesh_HeaderFile 0017 #define _BRepBuilderAPI_MakeShapeOnMesh_HeaderFile 0018 0019 #include <BRepBuilderAPI_MakeShape.hxx> 0020 #include <Poly_Triangulation.hxx> 0021 0022 //! Builds shape on per-facet basis on the input mesh. Resulting shape has shared 0023 //! edges by construction, but no maximization (unify same domain) is applied. 0024 //! No generation history is provided. 0025 class BRepBuilderAPI_MakeShapeOnMesh : public BRepBuilderAPI_MakeShape 0026 { 0027 public: 0028 0029 DEFINE_STANDARD_ALLOC 0030 0031 //! Ctor. Sets mesh to process. 0032 //! @param theMesh [in] - Mesh to construct shape for. 0033 BRepBuilderAPI_MakeShapeOnMesh(const Handle(Poly_Triangulation)& theMesh) 0034 : myMesh(theMesh) 0035 {} 0036 0037 //! Builds shape on mesh. 0038 Standard_EXPORT virtual void Build(const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE; 0039 0040 private: 0041 0042 Handle(Poly_Triangulation) myMesh; 0043 0044 }; 0045 0046 #endif // _BRepBuilderAPI_MakeShapeOnMesh_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |