/usr/include/oce/QANewModTopOpe_Limitation.hxx is in liboce-visualization-dev 0.18.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _QANewModTopOpe_Limitation_HeaderFile
#define _QANewModTopOpe_Limitation_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <TopoDS_Shape.hxx>
#include <QANewModTopOpe_CutPtr.hxx>
#include <QANewModTopOpe_CommonPtr.hxx>
#include <Standard_Boolean.hxx>
#include <QANewModTopOpe_ModeOfLimitation.hxx>
#include <BRepBuilderAPI_MakeShape.hxx>
class TopoDS_Shape;
class TopTools_ListOfShape;
//! provides cutting shape by face or shell;
class QANewModTopOpe_Limitation : public BRepBuilderAPI_MakeShape
{
public:
DEFINE_STANDARD_ALLOC
//! initializes and fills data structure for cutting and
//! makes cutting according to orientation theCutTool and
//! theMode.
//! if theCutTool is not face or shell does nothing.
Standard_EXPORT QANewModTopOpe_Limitation(const TopoDS_Shape& theObjectToCut, const TopoDS_Shape& theCutTool, const QANewModTopOpe_ModeOfLimitation theMode = QANewModTopOpe_Forward);
//! makes cutting according to orientation theCutTool
//! and current value of myMode. Does nothing if
//! result already exists.
Standard_EXPORT void Cut() ;
Standard_EXPORT void SetMode (const QANewModTopOpe_ModeOfLimitation theMode) ;
Standard_EXPORT QANewModTopOpe_ModeOfLimitation GetMode() const;
//! Returns the first shape.
Standard_EXPORT const TopoDS_Shape& Shape1() const;
//! Returns the second shape.
Standard_EXPORT const TopoDS_Shape& Shape2() const;
//! Returns the list of shapes modified from the shape
//! <S>.
Standard_EXPORT virtual const TopTools_ListOfShape& Modified (const TopoDS_Shape& S) ;
//! Returns the list of shapes generated from the shape <S>.
//! For use in BRepNaming.
Standard_EXPORT virtual const TopTools_ListOfShape& Generated (const TopoDS_Shape& S) ;
//! Returns true if there is at least one modified shape.
//! For use in BRepNaming.
Standard_EXPORT virtual Standard_Boolean HasModified() const;
//! Returns true if there is at least one generated shape.
//! For use in BRepNaming.
Standard_EXPORT virtual Standard_Boolean HasGenerated() const;
//! Returns true if there is at least one deleted shape.
//! For use in BRepNaming.
Standard_EXPORT virtual Standard_Boolean HasDeleted() const;
Standard_EXPORT virtual Standard_Boolean IsDeleted (const TopoDS_Shape& S) ;
Standard_EXPORT virtual void Delete() ;
Standard_EXPORT ~QANewModTopOpe_Limitation() {Delete();}
protected:
private:
TopoDS_Shape myResultFwd;
TopoDS_Shape myResultRvs;
TopoDS_Shape myObjectToCut;
TopoDS_Shape myCutTool;
QANewModTopOpe_CutPtr myCut;
QANewModTopOpe_CommonPtr myCommon;
Standard_Boolean myFwdIsDone;
Standard_Boolean myRevIsDone;
QANewModTopOpe_ModeOfLimitation myMode;
};
#endif // _QANewModTopOpe_Limitation_HeaderFile
|