Open CASCADE Technology 7.9.0
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
XSAlgo_AlgoContainer Class Reference

#include <XSAlgo_AlgoContainer.hxx>

Inheritance diagram for XSAlgo_AlgoContainer:

Public Member Functions

 XSAlgo_AlgoContainer ()
 Empty constructor.
 
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 theDetailingLevel=TopAbs_VERTEX) const
 Does shape processing with specified tolerances.
 
virtual Standard_Boolean CheckPCurve (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, const Standard_Real thePrecision, const Standard_Boolean theIsSeam) 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

typedef void base_type
 Returns a type descriptor about this object.
 
static constexpr const char * get_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 ( )
inline

Empty constructor.

Member Function Documentation

◆ CheckPCurve()

virtual Standard_Boolean XSAlgo_AlgoContainer::CheckPCurve ( const TopoDS_Edge & theEdge,
const TopoDS_Face & theFace,
const Standard_Real thePrecision,
const Standard_Boolean theIsSeam ) 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()

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 theDetailingLevel = 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
[in]theDetailingLevelthe lowest shape type to be processed, lower shapes are ignored
Returns
the processed shape

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