mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Data Exchange - DE Wrapper Shape Healing Parameters #282
Propagate shape healing parameters to STP and IGES nodes. Update naming to avoid misunderstanding.
This commit is contained in:
@@ -5370,31 +5370,31 @@ Standard_Boolean STEPCAFControl_Reader::GetViewMode() const
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Reader::SetParameters(const ParameterMap& theParameters)
|
||||
void STEPCAFControl_Reader::SetShapeFixParameters(const ParameterMap& theParameters)
|
||||
{
|
||||
myReader.SetParameters(theParameters);
|
||||
myReader.SetShapeFixParameters(theParameters);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Reader::SetParameters(ParameterMap&& theParameters)
|
||||
void STEPCAFControl_Reader::SetShapeFixParameters(ParameterMap&& theParameters)
|
||||
{
|
||||
myReader.SetParameters(std::move(theParameters));
|
||||
myReader.SetShapeFixParameters(std::move(theParameters));
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Reader::SetParameters(const DE_ShapeFixParameters& theParameters,
|
||||
void STEPCAFControl_Reader::SetShapeFixParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters)
|
||||
{
|
||||
myReader.SetParameters(theParameters, theAdditionalParameters);
|
||||
myReader.SetShapeFixParameters(theParameters, theAdditionalParameters);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
const STEPCAFControl_Reader::ParameterMap& STEPCAFControl_Reader::GetParameters() const
|
||||
const STEPCAFControl_Reader::ParameterMap& STEPCAFControl_Reader::GetShapeFixParameters() const
|
||||
{
|
||||
return myReader.GetParameters();
|
||||
return myReader.GetShapeFixParameters();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@@ -213,12 +213,12 @@ public:
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(const ParameterMap& theParameters);
|
||||
Standard_EXPORT void SetShapeFixParameters(const ParameterMap& theParameters);
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! Parameters are moved from the input map.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(ParameterMap&& theParameters);
|
||||
Standard_EXPORT void SetShapeFixParameters(ParameterMap&& theParameters);
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! Parameters from @p theParameters are copied to the internal map.
|
||||
@@ -226,12 +226,12 @@ public:
|
||||
//! if they are not present in @p theParameters.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
//! @param theAdditionalParameters the additional parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters = {});
|
||||
Standard_EXPORT void SetShapeFixParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters = {});
|
||||
|
||||
//! Returns parameters for shape processing that was set by SetParameters() method.
|
||||
//! @return the parameters for shape processing. Empty map if no parameters were set.
|
||||
Standard_EXPORT const ParameterMap& GetParameters() const;
|
||||
Standard_EXPORT const ParameterMap& GetShapeFixParameters() const;
|
||||
|
||||
//! Sets flags defining operations to be performed on shapes.
|
||||
//! @param theFlags The flags defining operations to be performed on shapes.
|
||||
|
@@ -565,31 +565,31 @@ Standard_Boolean STEPCAFControl_Writer::ExternFile(const Standard_CString theNam
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Writer::SetParameters(const ParameterMap& theParameters)
|
||||
void STEPCAFControl_Writer::SetShapeFixParameters(const ParameterMap& theParameters)
|
||||
{
|
||||
myWriter.SetParameters(theParameters);
|
||||
myWriter.SetShapeFixParameters(theParameters);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Writer::SetParameters(ParameterMap&& theParameters)
|
||||
void STEPCAFControl_Writer::SetShapeFixParameters(ParameterMap&& theParameters)
|
||||
{
|
||||
myWriter.SetParameters(std::move(theParameters));
|
||||
myWriter.SetShapeFixParameters(std::move(theParameters));
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
void STEPCAFControl_Writer::SetParameters(const DE_ShapeFixParameters& theParameters,
|
||||
void STEPCAFControl_Writer::SetShapeFixParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters)
|
||||
{
|
||||
myWriter.SetParameters(theParameters, theAdditionalParameters);
|
||||
myWriter.SetShapeFixParameters(theParameters, theAdditionalParameters);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
const STEPCAFControl_Writer::ParameterMap& STEPCAFControl_Writer::GetParameters() const
|
||||
const STEPCAFControl_Writer::ParameterMap& STEPCAFControl_Writer::GetShapeFixParameters() const
|
||||
{
|
||||
return myWriter.GetParameters();
|
||||
return myWriter.GetShapeFixParameters();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
@@ -216,12 +216,12 @@ public:
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(const ParameterMap& theParameters);
|
||||
Standard_EXPORT void SetShapeFixParameters(const ParameterMap& theParameters);
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! Parameters are moved from the input map.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(ParameterMap&& theParameters);
|
||||
Standard_EXPORT void SetShapeFixParameters(ParameterMap&& theParameters);
|
||||
|
||||
//! Sets parameters for shape processing.
|
||||
//! Parameters from @p theParameters are copied to the internal map.
|
||||
@@ -229,12 +229,12 @@ public:
|
||||
//! if they are not present in @p theParameters.
|
||||
//! @param theParameters the parameters for shape processing.
|
||||
//! @param theAdditionalParameters the additional parameters for shape processing.
|
||||
Standard_EXPORT void SetParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters = {});
|
||||
Standard_EXPORT void SetShapeFixParameters(const DE_ShapeFixParameters& theParameters,
|
||||
const ParameterMap& theAdditionalParameters = {});
|
||||
|
||||
//! Returns parameters for shape processing that was set by SetParameters() method.
|
||||
//! @return the parameters for shape processing. Empty map if no parameters were set.
|
||||
Standard_EXPORT const ParameterMap& GetParameters() const;
|
||||
Standard_EXPORT const ParameterMap& GetShapeFixParameters() const;
|
||||
|
||||
//! Sets flags defining operations to be performed on shapes.
|
||||
//! @param theFlags The flags defining operations to be performed on shapes.
|
||||
|
Reference in New Issue
Block a user