Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BRepAlgo_Image Class Reference

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

#include <BRepAlgo_Image.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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 TopTools_ListOfShape &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 TopTools_ListOfShape &NewS)
 Add <NewS> to the image of <OldS>.

void Clear ()
void Remove (const TopoDS_Shape &S)
 Remove <S> to set of images.

const TopTools_ListOfShapeRoots () const
Standard_Boolean IsImage (const TopoDS_Shape &S) const
const TopoDS_ShapeImageFrom (const TopoDS_Shape &S) const
 Returns the generator of <S>

const TopoDS_ShapeRoot (const TopoDS_Shape &S) const
 Returns the upper generator of <S>

Standard_Boolean HasImage (const TopoDS_Shape &S) const
const TopTools_ListOfShapeImage (const TopoDS_Shape &S) const
 Returns the Image of <S>.
Returns <S> in the list if HasImage(S) is false.

void LastImage (const TopoDS_Shape &S, TopTools_ListOfShape &L) const
 Stores in <L> the images of images of...images of <S>.
<L> contains only <S> 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 <S>.
Warning: Compact() must be call before.


Constructor & Destructor Documentation


Member Function Documentation


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