OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
BRepAlgo


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepAlgo_Image ()
Standard_EXPORT void SetRoot (const TopoDS_Shape &S)
Standard_EXPORT void Bind (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS)
 Links <news> as image of <olds>.
.
Standard_EXPORT void Bind (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS)
 Links <news> as image of <olds>.
.
Standard_EXPORT void Add (const TopoDS_Shape &OldS, const TopoDS_Shape &NewS)
 Add <news> to the image of <olds>.
.
Standard_EXPORT void Add (const TopoDS_Shape &OldS, const TopTools_ListOfShape &NewS)
 Add <news> to the image of <olds>.
.
Standard_EXPORT void Clear ()
Standard_EXPORT void Remove (const TopoDS_Shape &S)
 Remove <s> to set of images.
.
Standard_EXPORT const TopTools_ListOfShape & Roots () const
Standard_EXPORT Standard_Boolean IsImage (const TopoDS_Shape &S) const
Standard_EXPORT const TopoDS_Shape & ImageFrom (const TopoDS_Shape &S) const
 Returns the generator of <s>
.
Standard_EXPORT const TopoDS_Shape & Root (const TopoDS_Shape &S) const
 Returns the upper generator of <s>
.
Standard_EXPORT Standard_Boolean HasImage (const TopoDS_Shape &S) const
Standard_EXPORT const TopTools_ListOfShape & Image (const TopoDS_Shape &S) const
 Returns the Image of <s>.
Returns <s> in the list if HasImage(S) is false.
.
Standard_EXPORT 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.
.
Standard_EXPORT void Compact ()
 Keeps only the link between roots and lastimage.
.
Standard_EXPORT 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.
.

Private Attributes

TopTools_ListOfShape roots
TopTools_DataMapOfShapeShape up
TopTools_DataMapOfShapeListOfShape down


Constructor & Destructor Documentation

Standard_EXPORT BRepAlgo_Image::BRepAlgo_Image  ) 
 


Member Function Documentation

Standard_EXPORT void BRepAlgo_Image::Add const TopoDS_Shape &  OldS,
const TopTools_ListOfShape &  NewS
 

Standard_EXPORT void BRepAlgo_Image::Add const TopoDS_Shape &  OldS,
const TopoDS_Shape &  NewS
 

Standard_EXPORT void BRepAlgo_Image::Bind const TopoDS_Shape &  OldS,
const TopTools_ListOfShape &  NewS
 

Standard_EXPORT void BRepAlgo_Image::Bind const TopoDS_Shape &  OldS,
const TopoDS_Shape &  NewS
 

Standard_EXPORT void BRepAlgo_Image::Clear  ) 
 

Standard_EXPORT void BRepAlgo_Image::Compact  ) 
 

Standard_EXPORT void BRepAlgo_Image::Filter const TopoDS_Shape &  S,
const TopAbs_ShapeEnum  ShapeType
 

Standard_EXPORT Standard_Boolean BRepAlgo_Image::HasImage const TopoDS_Shape &  S  )  const
 

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_Image::Image const TopoDS_Shape &  S  )  const
 

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

Standard_EXPORT Standard_Boolean BRepAlgo_Image::IsImage const TopoDS_Shape &  S  )  const
 

Standard_EXPORT void BRepAlgo_Image::LastImage const TopoDS_Shape &  S,
TopTools_ListOfShape &  L
const
 

void BRepAlgo_Image::operator delete void *  anAddress  )  [inline]
 

void* BRepAlgo_Image::operator new size_t  size  )  [inline]
 

void* BRepAlgo_Image::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void BRepAlgo_Image::Remove const TopoDS_Shape &  S  ) 
 

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

Standard_EXPORT const TopTools_ListOfShape& BRepAlgo_Image::Roots  )  const
 

Standard_EXPORT void BRepAlgo_Image::SetRoot const TopoDS_Shape &  S  ) 
 


Field Documentation

TopTools_DataMapOfShapeListOfShape BRepAlgo_Image::down [private]
 

TopTools_ListOfShape BRepAlgo_Image::roots [private]
 

TopTools_DataMapOfShapeShape BRepAlgo_Image::up [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:40:50 2008 for OpenCASCADE by  doxygen 1.4.1