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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
// 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 _HLRBRep_InternalAlgo_HeaderFile
#define _HLRBRep_InternalAlgo_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_HLRBRep_InternalAlgo.hxx>
#include <Handle_HLRBRep_Data.hxx>
#include <HLRAlgo_Projector.hxx>
#include <HLRBRep_SeqOfShapeBounds.hxx>
#include <BRepTopAdaptor_MapOfShapeTool.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_HLRTopoBRep_OutLiner.hxx>
#include <Handle_MMgt_TShared.hxx>
#include <Standard_Integer.hxx>
class HLRBRep_Data;
class Standard_OutOfRange;
class HLRAlgo_Projector;
class HLRTopoBRep_OutLiner;
class MMgt_TShared;
class HLRBRep_SeqOfShapeBounds;
class HLRBRep_ShapeBounds;
class HLRBRep_InternalAlgo : public MMgt_TShared
{
public:
Standard_EXPORT HLRBRep_InternalAlgo();
Standard_EXPORT HLRBRep_InternalAlgo(const Handle(HLRBRep_InternalAlgo)& A);
//! set the projector.
Standard_EXPORT void Projector (const HLRAlgo_Projector& P) ;
//! set the projector.
Standard_EXPORT HLRAlgo_Projector& Projector() ;
//! update the DataStructure.
Standard_EXPORT void Update() ;
//! add the shape <S>.
Standard_EXPORT void Load (const Handle(HLRTopoBRep_OutLiner)& S, const Handle(MMgt_TShared)& SData, const Standard_Integer nbIso = 0) ;
//! add the shape <S>.
Standard_EXPORT void Load (const Handle(HLRTopoBRep_OutLiner)& S, const Standard_Integer nbIso = 0) ;
//! return the index of the Shape <S> and return 0 if
//! the Shape <S> is not found.
Standard_EXPORT Standard_Integer Index (const Handle(HLRTopoBRep_OutLiner)& S) const;
//! remove the Shape of Index <I>.
Standard_EXPORT void Remove (const Standard_Integer I) ;
//! Change the Shape Data of the Shape of index <I>.
Standard_EXPORT void ShapeData (const Standard_Integer I, const Handle(MMgt_TShared)& SData) ;
Standard_EXPORT HLRBRep_SeqOfShapeBounds& SeqOfShapeBounds() ;
Standard_EXPORT Standard_Integer NbShapes() const;
Standard_EXPORT HLRBRep_ShapeBounds& ShapeBounds (const Standard_Integer I) ;
//! init the status of the selected edges depending of
//! the back faces of a closed shell.
Standard_EXPORT void InitEdgeStatus() ;
//! select all the DataStructure.
Standard_EXPORT void Select() ;
//! select only the Shape of index <I>.
Standard_EXPORT void Select (const Standard_Integer I) ;
//! select only the edges of the Shape <S>.
Standard_EXPORT void SelectEdge (const Standard_Integer I) ;
//! select only the faces of the Shape <S>.
Standard_EXPORT void SelectFace (const Standard_Integer I) ;
//! set to visible all the edges.
Standard_EXPORT void ShowAll() ;
//! set to visible all the edges of the Shape <S>.
Standard_EXPORT void ShowAll (const Standard_Integer I) ;
//! set to hide all the edges.
Standard_EXPORT void HideAll() ;
//! set to hide all the edges of the Shape <S>.
Standard_EXPORT void HideAll (const Standard_Integer I) ;
//! own hiding of all the shapes of the DataStructure
//! without hiding by each other.
Standard_EXPORT void PartialHide() ;
//! hide all the DataStructure.
Standard_EXPORT void Hide() ;
//! hide the Shape <S> by itself.
Standard_EXPORT void Hide (const Standard_Integer I) ;
//! hide the Shape <S1> by the shape <S2>.
Standard_EXPORT void Hide (const Standard_Integer I, const Standard_Integer J) ;
Standard_EXPORT void Debug (const Standard_Boolean deb) ;
Standard_EXPORT Standard_Boolean Debug() const;
Standard_EXPORT Handle(HLRBRep_Data) DataStructure() const;
DEFINE_STANDARD_RTTI(HLRBRep_InternalAlgo)
protected:
private:
//! first if <SideFace> own hiding of the side faces.
//! After hiding of the selected parts of the
//! DataStructure.
Standard_EXPORT void HideSelected (const Standard_Integer I, const Standard_Boolean SideFace) ;
Handle(HLRBRep_Data) myDS;
HLRAlgo_Projector myProj;
HLRBRep_SeqOfShapeBounds myShapes;
BRepTopAdaptor_MapOfShapeTool myMapOfShapeTool;
Standard_Boolean myDebug;
};
#endif // _HLRBRep_InternalAlgo_HeaderFile
|