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

ModelingAlgorithms
TKShHealing
ShapeUpgrade


ShapeUpgrade_RemoveLocations Class Reference

Removes all locations sub-shapes of specified shape
.

#include <ShapeUpgrade_RemoveLocations.hxx>


Public Member Functions

Standard_EXPORT ShapeUpgrade_RemoveLocations ()
 Empy constructor
.
Standard_EXPORT Standard_Boolean Remove (const TopoDS_Shape &theShape)
 Removes all location correspodingly to RemoveLevel.
.
TopoDS_Shape GetResult () const
 Returns shape with removed locatins.
.
void SetRemoveLevel (const TopAbs_ShapeEnum theLevel)
 sets level starting with that location will be removed,
by default TopAbs_SHAPE. In this case locations will be kept for specified shape
and if specified shape is TopAbs_COMPOUND for sub-shapes of first level.

TopAbs_ShapeEnum RemoveLevel () const
 sets level starting with that location will be removed.Value of level can be set to
TopAbs_SHAPE,TopAbs_COMPOUND,TopAbs_SOLID,TopAbs_SHELL,TopAbs_FACE.By default TopAbs_SHAPE.
In this case location will be removed for all shape types for exception of compound.

TopoDS_Shape ModifiedShape (const TopoDS_Shape &theInitShape) const
 Returns modified shape obtained from initial shape.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Member Functions

Standard_EXPORT Standard_Boolean MakeNewShape (const TopoDS_Shape &theShape, const TopoDS_Shape &theAncShape, TopoDS_Shape &theNewShape, const Standard_Boolean theRemoveLoc)

Private Attributes

TopAbs_ShapeEnum myLevelRemoving
TopoDS_Shape myShape
TopTools_DataMapOfShapeShape myMapNewShapes


Constructor & Destructor Documentation

Standard_EXPORT ShapeUpgrade_RemoveLocations::ShapeUpgrade_RemoveLocations  ) 
 


Member Function Documentation

TopoDS_Shape ShapeUpgrade_RemoveLocations::GetResult  )  const [inline]
 

Standard_EXPORT const ShapeUpgrade_RemoveLocations::Handle Standard_Type   )  const
 

Standard_EXPORT Standard_Boolean ShapeUpgrade_RemoveLocations::MakeNewShape const TopoDS_Shape &  theShape,
const TopoDS_Shape &  theAncShape,
TopoDS_Shape &  theNewShape,
const Standard_Boolean  theRemoveLoc
[private]
 

TopoDS_Shape ShapeUpgrade_RemoveLocations::ModifiedShape const TopoDS_Shape &  theInitShape  )  const [inline]
 

Standard_EXPORT Standard_Boolean ShapeUpgrade_RemoveLocations::Remove const TopoDS_Shape &  theShape  ) 
 

TopAbs_ShapeEnum ShapeUpgrade_RemoveLocations::RemoveLevel  )  const [inline]
 

void ShapeUpgrade_RemoveLocations::SetRemoveLevel const TopAbs_ShapeEnum  theLevel  )  [inline]
 


Field Documentation

TopAbs_ShapeEnum ShapeUpgrade_RemoveLocations::myLevelRemoving [private]
 

TopTools_DataMapOfShapeShape ShapeUpgrade_RemoveLocations::myMapNewShapes [private]
 

TopoDS_Shape ShapeUpgrade_RemoveLocations::myShape [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:46 2008 for OpenCASCADE by  doxygen 1.4.1