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
    BRepAlgo_Image Class Reference

    Stores link between a shape and a shape <NewS> obtained from . <NewS> is an image of . More...

    #include <BRepAlgo_Image.hxx>

    Public Member Functions

     BRepAlgo_Image ()
    void SetRoot (const TopoDS_Shape &S)
    void Bind (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS)
     Links <NewS> as image of <OldS>.
    void Bind (const TopoDS_Shape &OldS, const NCollection_List< TopoDS_Shape > &NewS)
     Links <NewS> as image of <OldS>.
    void Add (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS)
     Add <NewS> to the image of <OldS>.
    void Add (const TopoDS_Shape &OldS, const NCollection_List< TopoDS_Shape > &NewS)
     Add <NewS> to the image of <OldS>.
    void Clear ()
    void Remove (const TopoDS_Shape &S)
     Remove to set of images.
    void RemoveRoot (const TopoDS_Shape &Root)
     Removes the root <theRoot> from the list of roots and up and down maps.
    void ReplaceRoot (const TopoDS_Shape &OldRoot, const TopoDS_Shape &NewRoot)
     Replaces the <OldRoot> with the <NewRoot>, so all images of the <OldRoot> become the images of the <NewRoot>. The <OldRoot> is removed.
    const NCollection_List< TopoDS_Shape > & Roots () const
    bool IsImage (const TopoDS_Shape &S) const
    const TopoDS_ShapeImageFrom (const TopoDS_Shape &S) const
     Returns the generator of .
    const TopoDS_ShapeRoot (const TopoDS_Shape &S) const
     Returns the upper generator of .
    bool HasImage (const TopoDS_Shape &S) const
    const NCollection_List< TopoDS_Shape > & Image (const TopoDS_Shape &S) const
     Returns the Image of . Returns in the list if HasImage(S) is false.
    void LastImage (const TopoDS_Shape &S, NCollection_List< TopoDS_Shape > &L) const
     Stores in <L> the images of images of...images of . <L> contains only if HasImage(S) is false.
    void Compact ()
     Keeps only the link between roots and lastimage.
    void Filter (const TopoDS_Shape &S, const TopAbs_ShapeEnum ShapeType)
     Deletes in the images the shape of type <ShapeType> which are not in . Warning: Compact() must be call before.

    Detailed Description

    Stores link between a shape and a shape <NewS> obtained from . <NewS> is an image of .

    Constructor & Destructor Documentation

    ◆ BRepAlgo_Image()

    BRepAlgo_Image::BRepAlgo_Image ( )

    Member Function Documentation

    ◆ Add() [1/2]

    void BRepAlgo_Image::Add ( const TopoDS_Shape & OldS,
    const NCollection_List< TopoDS_Shape > & NewS )

    Add <NewS> to the image of <OldS>.

    ◆ Add() [2/2]

    void BRepAlgo_Image::Add ( const TopoDS_Shape & OldS,
    const TopoDS_Shape & NewS )

    Add <NewS> to the image of <OldS>.

    ◆ Bind() [1/2]

    void BRepAlgo_Image::Bind ( const TopoDS_Shape & OldS,
    const NCollection_List< TopoDS_Shape > & NewS )

    Links <NewS> as image of <OldS>.

    ◆ Bind() [2/2]

    void BRepAlgo_Image::Bind ( const TopoDS_Shape & OldS,
    const TopoDS_Shape & NewS )

    Links <NewS> as image of <OldS>.

    ◆ Clear()

    void BRepAlgo_Image::Clear ( )

    ◆ Compact()

    void BRepAlgo_Image::Compact ( )

    Keeps only the link between roots and lastimage.

    ◆ Filter()

    void BRepAlgo_Image::Filter ( const TopoDS_Shape & S,
    const TopAbs_ShapeEnum ShapeType )

    Deletes in the images the shape of type <ShapeType> which are not in . Warning: Compact() must be call before.

    ◆ HasImage()

    bool BRepAlgo_Image::HasImage ( const TopoDS_Shape & S) const

    ◆ Image()

    const NCollection_List< TopoDS_Shape > & BRepAlgo_Image::Image ( const TopoDS_Shape & S) const

    Returns the Image of . Returns in the list if HasImage(S) is false.

    ◆ ImageFrom()

    const TopoDS_Shape & BRepAlgo_Image::ImageFrom ( const TopoDS_Shape & S) const

    Returns the generator of .

    ◆ IsImage()

    bool BRepAlgo_Image::IsImage ( const TopoDS_Shape & S) const

    ◆ LastImage()

    void BRepAlgo_Image::LastImage ( const TopoDS_Shape & S,
    NCollection_List< TopoDS_Shape > & L ) const

    Stores in <L> the images of images of...images of . <L> contains only if HasImage(S) is false.

    ◆ Remove()

    void BRepAlgo_Image::Remove ( const TopoDS_Shape & S)

    Remove to set of images.

    ◆ RemoveRoot()

    void BRepAlgo_Image::RemoveRoot ( const TopoDS_Shape & Root)

    Removes the root <theRoot> from the list of roots and up and down maps.

    ◆ ReplaceRoot()

    void BRepAlgo_Image::ReplaceRoot ( const TopoDS_Shape & OldRoot,
    const TopoDS_Shape & NewRoot )

    Replaces the <OldRoot> with the <NewRoot>, so all images of the <OldRoot> become the images of the <NewRoot>. The <OldRoot> is removed.

    ◆ Root()

    const TopoDS_Shape & BRepAlgo_Image::Root ( const TopoDS_Shape & S) const

    Returns the upper generator of .

    ◆ Roots()

    const NCollection_List< TopoDS_Shape > & BRepAlgo_Image::Roots ( ) const

    ◆ SetRoot()

    void BRepAlgo_Image::SetRoot ( const TopoDS_Shape & S)

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