mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 02:28:35 +05:00
120 lines
2.9 KiB
C++
120 lines
2.9 KiB
C++
|
// File generated by CPPExt (Value)
|
||
|
// Copyright (C) 1991,1995 by
|
||
|
//
|
||
|
// MATRA DATAVISION, FRANCE
|
||
|
//
|
||
|
// This software is furnished in accordance with the terms and conditions
|
||
|
// of the contract and with the inclusion of the above copyright notice.
|
||
|
// This software or any other copy thereof may not be provided or otherwise
|
||
|
// be made available to any other person. No title to an ownership of the
|
||
|
// software is hereby transferred.
|
||
|
//
|
||
|
// At the termination of the contract, the software and all copies of this
|
||
|
// software must be deleted.
|
||
|
|
||
|
#ifndef _NMTAlgo_Builder_HeaderFile
|
||
|
#define _NMTAlgo_Builder_HeaderFile
|
||
|
|
||
|
#ifndef _BRepAlgo_Image_HeaderFile
|
||
|
#include <BRepAlgo_Image.hxx>
|
||
|
#endif
|
||
|
#ifndef _TopTools_IndexedMapOfShape_HeaderFile
|
||
|
#include <TopTools_IndexedMapOfShape.hxx>
|
||
|
#endif
|
||
|
#ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
|
||
|
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
|
||
|
#endif
|
||
|
#ifndef _TopTools_IndexedDataMapOfShapeShape_HeaderFile
|
||
|
#include <TopTools_IndexedDataMapOfShapeShape.hxx>
|
||
|
#endif
|
||
|
#ifndef _NMTAlgo_Algo_HeaderFile
|
||
|
#include <NMTAlgo_Algo.hxx>
|
||
|
#endif
|
||
|
#ifndef _Standard_Boolean_HeaderFile
|
||
|
#include <Standard_Boolean.hxx>
|
||
|
#endif
|
||
|
class NMTTools_DSFiller;
|
||
|
class TopoDS_Edge;
|
||
|
class TopoDS_Face;
|
||
|
|
||
|
|
||
|
#ifndef _Standard_HeaderFile
|
||
|
#include <Standard.hxx>
|
||
|
#endif
|
||
|
#ifndef _Standard_Macro_HeaderFile
|
||
|
#include <Standard_Macro.hxx>
|
||
|
#endif
|
||
|
|
||
|
class NMTAlgo_Builder : public NMTAlgo_Algo {
|
||
|
|
||
|
public:
|
||
|
|
||
|
void* operator new(size_t,void* anAddress)
|
||
|
{
|
||
|
return anAddress;
|
||
|
}
|
||
|
void* operator new(size_t size)
|
||
|
{
|
||
|
return Standard::Allocate(size);
|
||
|
}
|
||
|
void operator delete(void *anAddress)
|
||
|
{
|
||
|
if (anAddress) Standard::Free((Standard_Address&)anAddress);
|
||
|
}
|
||
|
// Methods PUBLIC
|
||
|
//
|
||
|
Standard_EXPORT NMTAlgo_Builder();
|
||
|
Standard_EXPORT virtual ~NMTAlgo_Builder();
|
||
|
Standard_EXPORT virtual void Clear() ;
|
||
|
Standard_EXPORT virtual void ComputeWithFiller(const NMTTools_DSFiller& aDSF) ;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
protected:
|
||
|
|
||
|
// Methods PROTECTED
|
||
|
//
|
||
|
Standard_EXPORT void FillImagesEdges() ;
|
||
|
Standard_EXPORT void FillIn2DParts() ;
|
||
|
Standard_EXPORT void FillImagesFaces() ;
|
||
|
Standard_EXPORT void FillSDFaces() ;
|
||
|
Standard_EXPORT void SplitVertices() ;
|
||
|
Standard_EXPORT Standard_Boolean IsSectionEdge(const TopoDS_Edge& E) const;
|
||
|
Standard_EXPORT Standard_Boolean HasSameDomainF(const TopoDS_Face& F) const;
|
||
|
Standard_EXPORT Standard_Boolean IsSameDomainF(const TopoDS_Face& F1,const TopoDS_Face& F2) const;
|
||
|
|
||
|
|
||
|
// Fields PROTECTED
|
||
|
//
|
||
|
BRepAlgo_Image myImagesEdges;
|
||
|
BRepAlgo_Image myImagesFaces;
|
||
|
TopTools_IndexedMapOfShape myQueryShapes;
|
||
|
TopTools_IndexedDataMapOfShapeListOfShape myIn2DParts;
|
||
|
TopTools_IndexedDataMapOfShapeListOfShape mySectionParts;
|
||
|
TopTools_IndexedDataMapOfShapeShape mySDFaces;
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
|
// Methods PRIVATE
|
||
|
//
|
||
|
|
||
|
|
||
|
// Fields PRIVATE
|
||
|
//
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
// other Inline functions and methods (like "C++: function call" methods)
|
||
|
//
|
||
|
|
||
|
|
||
|
#endif
|