/usr/include/oce/QANewBRepNaming_Gluing.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 110 111 112 | // 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 _QANewBRepNaming_Gluing_HeaderFile
#define _QANewBRepNaming_Gluing_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopoDS_Shape.hxx>
#include <TDF_LabelMap.hxx>
#include <QANewBRepNaming_TopNaming.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <Standard_Boolean.hxx>
class Standard_NullObject;
class TDF_Label;
class QANewModTopOpe_Glue;
class TopoDS_Shape;
class TDF_LabelMap;
class TopTools_DataMapOfShapeInteger;
//! Loads a result of Gluing operation in Data Framework
class QANewBRepNaming_Gluing : public QANewBRepNaming_TopNaming
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT QANewBRepNaming_Gluing();
Standard_EXPORT QANewBRepNaming_Gluing(const TDF_Label& theResultLabel);
Standard_EXPORT void Init (const TDF_Label& theResultLabel) ;
//! Loads a Gluing in a data framework
Standard_EXPORT void Load (QANewModTopOpe_Glue& theMkGluing) ;
Standard_EXPORT TDF_Label Content() const;
Standard_EXPORT void SetContext (const TopoDS_Shape& theObject, const TopoDS_Shape& theTool) ;
Standard_EXPORT void SetLog (const TDF_LabelMap& theLog) ;
protected:
private:
//! If the shape is a compound the method
//! returns the underlying shape type.
Standard_EXPORT TopAbs_ShapeEnum ShapeType (const TopoDS_Shape& theShape) const;
//! If the shape is a compound the method
//! returns the underlying shape.
Standard_EXPORT TopoDS_Shape GetShape (const TopoDS_Shape& theShape) const;
//! A default implementation for naming of modified shapes of the operation
Standard_EXPORT void LoadModifiedShapes (QANewModTopOpe_Glue& theMakeShape) const;
//! A default implementation for naming of modified shapes of the operation
Standard_EXPORT void LoadDeletedShapes (QANewModTopOpe_Glue& theMakeShape) const;
//! Loads the content of the result.
Standard_EXPORT void LoadContent (QANewModTopOpe_Glue& theMakeShape) const;
//! Loads the result.
Standard_EXPORT void LoadResult (QANewModTopOpe_Glue& theMakeShape) const;
//! Returns true if the result is not the same as the object shape.
Standard_EXPORT Standard_Boolean IsResultChanged (QANewModTopOpe_Glue& theMakeShape) const;
//! Loads the deletion of the degenerated edges.
Standard_EXPORT void LoadSectionEdges (QANewModTopOpe_Glue& theMakeShape) const;
Standard_EXPORT void AddToTheUnique (const TopoDS_Shape& theUnique, const TopoDS_Shape& theIdentifier) ;
//! Reset myShared map - shapes, which are modified by both object and tool.
Standard_EXPORT void RecomputeUnique (QANewModTopOpe_Glue& theMakeShape) ;
Standard_EXPORT void LoadSourceShapes (TopTools_DataMapOfShapeInteger& theSources) const;
//! A default implementation for naming of generated shapes of the operation
Standard_EXPORT void LoadUniqueShapes (QANewModTopOpe_Glue& theMakeShape, const TopTools_DataMapOfShapeInteger& theSources) ;
TopTools_IndexedDataMapOfShapeListOfShape myUnique;
TopoDS_Shape myContext;
TDF_LabelMap myLog;
};
#endif // _QANewBRepNaming_Gluing_HeaderFile
|