Open CASCADE Technology
7.6.0
|
Stores link between a shape and a shape <NewS> obtained from
More.... <NewS> is an image of .
#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>. More... | |
void | Bind (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS) |
Links <NewS> as image of <OldS>. More... | |
void | Add (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS) |
Add <NewS> to the image of <OldS>. More... | |
void | Add (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS) |
Add <NewS> to the image of <OldS>. More... | |
void | Clear () |
void | Remove (const TopoDS_Shape &S) |
Remove | |
void | RemoveRoot (const TopoDS_Shape &Root) |
Removes the root <theRoot> from the list of roots and up and down maps. More... | |
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. More... | |
const TopTools_ListOfShape & | Roots () const |
Standard_Boolean | IsImage (const TopoDS_Shape &S) const |
const TopoDS_Shape & | ImageFrom (const TopoDS_Shape &S) const |
Returns the generator of | |
const TopoDS_Shape & | Root (const TopoDS_Shape &S) const |
Returns the upper generator of | |
Standard_Boolean | HasImage (const TopoDS_Shape &S) const |
const TopTools_ListOfShape & | Image (const TopoDS_Shape &S) const |
Returns the Image of | |
void | LastImage (const TopoDS_Shape &S, TopTools_ListOfShape &L) const |
Stores in <L> the images of images of...images of | |
void | Compact () |
Keeps only the link between roots and lastimage. More... | |
void | Filter (const TopoDS_Shape &S, const TopAbs_ShapeEnum ShapeType) |
Deletes in the images the shape of type <ShapeType> which are not in | |
Stores link between a shape and a shape <NewS> obtained from . <NewS> is an image of .
BRepAlgo_Image::BRepAlgo_Image | ( | ) |
void BRepAlgo_Image::Add | ( | const TopoDS_Shape & | OldS, |
const TopoDS_Shape & | NewS | ||
) |
Add <NewS> to the image of <OldS>.
void BRepAlgo_Image::Add | ( | const TopoDS_Shape & | OldS, |
const TopTools_ListOfShape & | NewS | ||
) |
Add <NewS> to the image of <OldS>.
void BRepAlgo_Image::Bind | ( | const TopoDS_Shape & | OldS, |
const TopoDS_Shape & | NewS | ||
) |
Links <NewS> as image of <OldS>.
void BRepAlgo_Image::Bind | ( | const TopoDS_Shape & | OldS, |
const TopTools_ListOfShape & | NewS | ||
) |
Links <NewS> as image of <OldS>.
void BRepAlgo_Image::Clear | ( | ) |
void BRepAlgo_Image::Compact | ( | ) |
Keeps only the link between roots and lastimage.
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.
Standard_Boolean BRepAlgo_Image::HasImage | ( | const TopoDS_Shape & | S | ) | const |
const TopTools_ListOfShape& BRepAlgo_Image::Image | ( | const TopoDS_Shape & | S | ) | const |
Returns the Image of . Returns in the list if HasImage(S) is false.
const TopoDS_Shape& BRepAlgo_Image::ImageFrom | ( | const TopoDS_Shape & | S | ) | const |
Returns the generator of
Standard_Boolean BRepAlgo_Image::IsImage | ( | const TopoDS_Shape & | S | ) | const |
void BRepAlgo_Image::LastImage | ( | const TopoDS_Shape & | S, |
TopTools_ListOfShape & | L | ||
) | const |
Stores in <L> the images of images of...images of . <L> contains only if HasImage(S) is false.
void BRepAlgo_Image::Remove | ( | const TopoDS_Shape & | S | ) |
Remove to set of images.
void BRepAlgo_Image::RemoveRoot | ( | const TopoDS_Shape & | Root | ) |
Removes the root <theRoot> from the list of roots and up and down maps.
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.
const TopoDS_Shape& BRepAlgo_Image::Root | ( | const TopoDS_Shape & | S | ) | const |
Returns the upper generator of
const TopTools_ListOfShape& BRepAlgo_Image::Roots | ( | ) | const |
void BRepAlgo_Image::SetRoot | ( | const TopoDS_Shape & | S | ) |