OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    TDF_CopyLabel Class Reference

    This class gives copy of source label hierarchy. More...

    #include <TDF_CopyLabel.hxx>

    Public Member Functions

     TDF_CopyLabel ()
     Empty constructor.
     TDF_CopyLabel (const TDF_Label &aSource, const TDF_Label &aTarget)
     CopyTool.
    void Load (const TDF_Label &aSource, const TDF_Label &aTarget)
     Loads src and tgt labels.
    void UseFilter (const TDF_IDFilter &aFilter)
     Sets filter.
    void Perform ()
     performs algorithm of selfcontained copy
    bool IsDone () const
    const occ::handle< TDF_RelocationTable > & RelocationTable () const
     returns relocation table

    Static Public Member Functions

    static bool ExternalReferences (const TDF_Label &Lab, NCollection_Map< occ::handle< TDF_Attribute > > &aExternals, const TDF_IDFilter &aFilter)
     Check external references and if exist fills the aExternals Map.
    static void ExternalReferences (const TDF_Label &aRefLab, const TDF_Label &Lab, NCollection_Map< occ::handle< TDF_Attribute > > &aExternals, const TDF_IDFilter &aFilter, occ::handle< TDF_DataSet > &aDataSet)
     Check external references and if exist fills the aExternals Map.

    Detailed Description

    This class gives copy of source label hierarchy.

    Constructor & Destructor Documentation

    ◆ TDF_CopyLabel() [1/2]

    TDF_CopyLabel::TDF_CopyLabel ( )

    Empty constructor.

    ◆ TDF_CopyLabel() [2/2]

    TDF_CopyLabel::TDF_CopyLabel ( const TDF_Label & aSource,
    const TDF_Label & aTarget )

    CopyTool.

    Member Function Documentation

    ◆ ExternalReferences() [1/2]

    void TDF_CopyLabel::ExternalReferences ( const TDF_Label & aRefLab,
    const TDF_Label & Lab,
    NCollection_Map< occ::handle< TDF_Attribute > > & aExternals,
    const TDF_IDFilter & aFilter,
    occ::handle< TDF_DataSet > & aDataSet )
    static

    Check external references and if exist fills the aExternals Map.

    ◆ ExternalReferences() [2/2]

    bool TDF_CopyLabel::ExternalReferences ( const TDF_Label & Lab,
    NCollection_Map< occ::handle< TDF_Attribute > > & aExternals,
    const TDF_IDFilter & aFilter )
    static

    Check external references and if exist fills the aExternals Map.

    ◆ IsDone()

    bool TDF_CopyLabel::IsDone ( ) const

    ◆ Load()

    void TDF_CopyLabel::Load ( const TDF_Label & aSource,
    const TDF_Label & aTarget )

    Loads src and tgt labels.

    ◆ Perform()

    void TDF_CopyLabel::Perform ( )

    performs algorithm of selfcontained copy

    ◆ RelocationTable()

    const occ::handle< TDF_RelocationTable > & TDF_CopyLabel::RelocationTable ( ) const

    returns relocation table

    ◆ UseFilter()

    void TDF_CopyLabel::UseFilter ( const TDF_IDFilter & aFilter)

    Sets filter.


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