1 // Created on: 1999-02-24
2 // Created by: Christian CAILLET
3 // Copyright (c) 1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _IGESSelect_RemoveCurves_HeaderFile
18 #define _IGESSelect_RemoveCurves_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
23 #include <Standard_Boolean.hxx>
24 #include <IGESSelect_ModelModifier.hxx>
25 class IFSelect_ContextModif;
26 class IGESData_IGESModel;
27 class Interface_CopyTool;
28 class TCollection_AsciiString;
31 class IGESSelect_RemoveCurves;
32 DEFINE_STANDARD_HANDLE(IGESSelect_RemoveCurves, IGESSelect_ModelModifier)
34 //! Removes Curves UV or 3D (not both !) from Faces, those
35 //! designated by the Selection. No Selection means all the file
36 class IGESSelect_RemoveCurves : public IGESSelect_ModelModifier
42 //! Creates a RemoveCurves from Faces (141/142/143/144)
43 //! UV True : Removes UV Curves (pcurves)
44 //! UV False : Removes 3D Curves
45 Standard_EXPORT IGESSelect_RemoveCurves(const Standard_Boolean UV);
47 //! Specific action : Removes the Curves
48 Standard_EXPORT void Performing (IFSelect_ContextModif& ctx, const Handle(IGESData_IGESModel)& target, Interface_CopyTool& TC) const Standard_OVERRIDE;
50 //! Returns a text which is
51 //! "Remove Curves UV on Face" or "Remove Curves 3D on Face"
52 Standard_EXPORT TCollection_AsciiString Label() const Standard_OVERRIDE;
57 DEFINE_STANDARD_RTTIEXT(IGESSelect_RemoveCurves,IGESSelect_ModelModifier)
67 Standard_Boolean theUV;
78 #endif // _IGESSelect_RemoveCurves_HeaderFile