mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
101 lines
3.1 KiB
C++
101 lines
3.1 KiB
C++
// Created on: 1994-11-03
|
|
// Created by: Marie Jose MARTZ
|
|
// Copyright (c) 1994-1999 Matra Datavision
|
|
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#ifndef _IGESToBRep_Actor_HeaderFile
|
|
#define _IGESToBRep_Actor_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_Type.hxx>
|
|
|
|
#include <DE_ShapeFixParameters.hxx>
|
|
#include <Standard_Integer.hxx>
|
|
#include <Transfer_ActorOfTransientProcess.hxx>
|
|
#include <Message_ProgressRange.hxx>
|
|
|
|
class Interface_InterfaceModel;
|
|
class Standard_Transient;
|
|
class Transfer_Binder;
|
|
class Transfer_TransientProcess;
|
|
|
|
class IGESToBRep_Actor;
|
|
DEFINE_STANDARD_HANDLE(IGESToBRep_Actor, Transfer_ActorOfTransientProcess)
|
|
|
|
//! This class performs the transfer of an Entity from
|
|
//! IGESToBRep
|
|
//!
|
|
//! I.E. for each type of Entity, it invokes the appropriate Tool
|
|
//! then returns the Binder which contains the Result
|
|
class IGESToBRep_Actor : public Transfer_ActorOfTransientProcess
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
Standard_EXPORT IGESToBRep_Actor();
|
|
|
|
Standard_EXPORT void SetModel (const Handle(Interface_InterfaceModel)& model);
|
|
|
|
//! ---Purpose By default continuity = 0
|
|
//! if continuity = 1 : try C1
|
|
//! if continuity = 2 : try C2
|
|
Standard_EXPORT void SetContinuity (const Standard_Integer continuity = 0);
|
|
|
|
//! Return "thecontinuity"
|
|
Standard_EXPORT Standard_Integer GetContinuity() const;
|
|
|
|
Standard_EXPORT virtual Standard_Boolean Recognize (const Handle(Standard_Transient)& start) Standard_OVERRIDE;
|
|
|
|
Standard_EXPORT virtual Handle(Transfer_Binder) Transfer
|
|
(const Handle(Standard_Transient)& start,
|
|
const Handle(Transfer_TransientProcess)& TP,
|
|
const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
|
|
|
|
//! Returns the tolerance which was actually used, either from
|
|
//! the file or from statics
|
|
Standard_EXPORT Standard_Real UsedTolerance() const;
|
|
|
|
//! Returns healing parameters map
|
|
Standard_EXPORT DE_ShapeFixParameters::HealingParamMap DEHealingParameters() const { return myDEHealingParameters; }
|
|
|
|
//! Sets healing parameters map
|
|
Standard_EXPORT void SetDEHealingParameters(DE_ShapeFixParameters::HealingParamMap theDEHealingParams) { myDEHealingParameters = theDEHealingParams; }
|
|
|
|
|
|
DEFINE_STANDARD_RTTIEXT(IGESToBRep_Actor,Transfer_ActorOfTransientProcess)
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
Handle(Interface_InterfaceModel) themodel;
|
|
Standard_Integer thecontinuity;
|
|
Standard_Real theeps;
|
|
DE_ShapeFixParameters::HealingParamMap myDEHealingParameters;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _IGESToBRep_Actor_HeaderFile
|