Open CASCADE Technology 7.8.0
Public Member Functions
XSAlgo_AlgoContainer Class Reference

#include <XSAlgo_AlgoContainer.hxx>

Inheritance diagram for XSAlgo_AlgoContainer:
Inheritance graph
[legend]

Public Member Functions

 XSAlgo_AlgoContainer ()
 Empty constructor.
 
void SetToolContainer (const Handle< XSAlgo_ToolContainer > &TC)
 Sets ToolContainer.
 
Handle< XSAlgo_ToolContainerToolContainer () const
 Returns ToolContainer.
 
virtual void PrepareForTransfer () const
 Performs actions necessary for preparing environment for transfer. Empty in Open version.
 
virtual TopoDS_Shape ProcessShape (const TopoDS_Shape &theShape, const Standard_Real thePrec, const Standard_Real theMaxTol, const Standard_CString thePrscfile, const Standard_CString thePseq, Handle< Standard_Transient > &theInfo, const Message_ProgressRange &theProgress=Message_ProgressRange(), const Standard_Boolean theNonManifold=Standard_False, const TopAbs_ShapeEnum theDetalisationLevel=TopAbs_VERTEX) const
 Does shape processing with specified tolerances.
 
virtual TopoDS_Shape ProcessShape (const TopoDS_Shape &theShape, const Standard_Real thePrec, const Standard_Real theMaxTol, const Standard_CString thePrscfile, const Standard_CString thePseq, Handle< Standard_Transient > &theInfo, const Handle< ShapeBuild_ReShape > &theReShape, const Message_ProgressRange &theProgress=Message_ProgressRange(), const Standard_Boolean theNonManifold=Standard_False, const TopAbs_ShapeEnum theDetalisationLevel=TopAbs_VERTEX) const
 Does shape processing with specified tolerances.
 
virtual Standard_Boolean CheckPCurve (const TopoDS_Edge &edge, const TopoDS_Face &face, const Standard_Real preci, const Standard_Boolean isSeam) const
 Checks quality of pcurve of the edge on the given face, and corrects it if necessary.
 
virtual void MergeTransferInfo (const Handle< Transfer_TransientProcess > &TP, const Handle< Standard_Transient > &info, const Standard_Integer startTPitem=1) const
 
virtual void MergeTransferInfo (const Handle< Transfer_FinderProcess > &FP, const Handle< Standard_Transient > &info) const
 Updates translation map (TP or FP) with information resulting from ShapeProcessing Parameter startTPitem can be used for optimisation, to restrict modifications to entities stored in TP starting from item startTPitem.
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Constructor & Destructor Documentation

◆ XSAlgo_AlgoContainer()

XSAlgo_AlgoContainer::XSAlgo_AlgoContainer ( )

Empty constructor.

Member Function Documentation

◆ CheckPCurve()

virtual Standard_Boolean XSAlgo_AlgoContainer::CheckPCurve ( const TopoDS_Edge edge,
const TopoDS_Face face,
const Standard_Real  preci,
const Standard_Boolean  isSeam 
) const
virtual

Checks quality of pcurve of the edge on the given face, and corrects it if necessary.

◆ MergeTransferInfo() [1/2]

virtual void XSAlgo_AlgoContainer::MergeTransferInfo ( const Handle< Transfer_FinderProcess > &  FP,
const Handle< Standard_Transient > &  info 
) const
virtual

Updates translation map (TP or FP) with information resulting from ShapeProcessing Parameter startTPitem can be used for optimisation, to restrict modifications to entities stored in TP starting from item startTPitem.

◆ MergeTransferInfo() [2/2]

virtual void XSAlgo_AlgoContainer::MergeTransferInfo ( const Handle< Transfer_TransientProcess > &  TP,
const Handle< Standard_Transient > &  info,
const Standard_Integer  startTPitem = 1 
) const
virtual

◆ PrepareForTransfer()

virtual void XSAlgo_AlgoContainer::PrepareForTransfer ( ) const
virtual

Performs actions necessary for preparing environment for transfer. Empty in Open version.

◆ ProcessShape() [1/2]

virtual TopoDS_Shape XSAlgo_AlgoContainer::ProcessShape ( const TopoDS_Shape theShape,
const Standard_Real  thePrec,
const Standard_Real  theMaxTol,
const Standard_CString  thePrscfile,
const Standard_CString  thePseq,
Handle< Standard_Transient > &  theInfo,
const Handle< ShapeBuild_ReShape > &  theReShape,
const Message_ProgressRange theProgress = Message_ProgressRange(),
const Standard_Boolean  theNonManifold = Standard_False,
const TopAbs_ShapeEnum  theDetalisationLevel = TopAbs_VERTEX 
) const
virtual

Does shape processing with specified tolerances.

Parameters
[in]theShapeshape to process
[in]thePrecbasic precision and tolerance
[in]theMaxTolmaximum allowed tolerance
[in]thePrscfilename of the resource file
[in]thePseqname of the sequence of operators defined in the resource file for Shape Processing
[out]theInfoinformation to be recorded in the translation map
[in]theReShapetool to record the modifications of input shape
[in]theProgressprogress indicator
[in]theNonManifoldflag to proceed with non-manifold topology
Returns
the processed shape

◆ ProcessShape() [2/2]

virtual TopoDS_Shape XSAlgo_AlgoContainer::ProcessShape ( const TopoDS_Shape theShape,
const Standard_Real  thePrec,
const Standard_Real  theMaxTol,
const Standard_CString  thePrscfile,
const Standard_CString  thePseq,
Handle< Standard_Transient > &  theInfo,
const Message_ProgressRange theProgress = Message_ProgressRange(),
const Standard_Boolean  theNonManifold = Standard_False,
const TopAbs_ShapeEnum  theDetalisationLevel = TopAbs_VERTEX 
) const
virtual

Does shape processing with specified tolerances.

Parameters
[in]theShapeshape to process
[in]thePrecbasic precision and tolerance
[in]theMaxTolmaximum allowed tolerance
[in]thePrscfilename of the resource file
[in]thePseqname of the sequence of operators defined in the resource file for Shape Processing
[out]theInfoinformation to be recorded in the translation map
[in]theProgressprogress indicator
[in]theNonManifoldflag to proceed with non-manifold topology
Returns
the processed shape

◆ SetToolContainer()

void XSAlgo_AlgoContainer::SetToolContainer ( const Handle< XSAlgo_ToolContainer > &  TC)

Sets ToolContainer.

◆ ToolContainer()

Handle< XSAlgo_ToolContainer > XSAlgo_AlgoContainer::ToolContainer ( ) const

Returns ToolContainer.


The documentation for this class was generated from the following file: