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

ModelingAlgorithms
TKShHealing
ShapeUpgrade


ShapeUpgrade_ShapeDivide Class Reference

Divides a all faces in shell with given criteria Shell.
.

#include <ShapeUpgrade_ShapeDivide.hxx>

Inheritance diagram for ShapeUpgrade_ShapeDivide:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT ShapeUpgrade_ShapeDivide ()
Standard_EXPORT ShapeUpgrade_ShapeDivide (const TopoDS_Shape &S)
 Initialize by a Shape.
.
Standard_EXPORT void Init (const TopoDS_Shape &S)
 Initialize by a Shape.
.
virtual Standard_EXPORT void Delete ()
virtual Standard_EXPORT ~ShapeUpgrade_ShapeDivide ()
Standard_EXPORT void SetPrecision (const Standard_Real Prec)
 Defines the spatial precision used for splitting
.
Standard_EXPORT void SetMaxTolerance (const Standard_Real maxtol)
 Sets maximal allowed tolerance
.
Standard_EXPORT void SetMinTolerance (const Standard_Real mintol)
 Sets minimal allowed tolerance
.
Standard_EXPORT void SetSurfaceSegmentMode (const Standard_Boolean Segment)
 Purpose sets mode for trimming (segment) surface by
wire UV bounds.
.
virtual Standard_EXPORT Standard_Boolean Perform (const Standard_Boolean newContext=Standard_True)
 Performs splitting and computes the resulting shape
If newContext is True (default), the internal context
will be cleared at start, else previous substitutions
will be acting.
.
Standard_EXPORT TopoDS_Shape Result () const
 Gives the resulting Shape, or Null shape if not done.
.
Standard_EXPORT Handle_ShapeBuild_ReShape GetContext () const
 Returns context with all the modifications made during
last call(s) to Perform() recorded
.
Standard_EXPORT void SetContext (const Handle(ShapeBuild_ReShape)&context)
 Sets context with recorded modifications to be applied
during next call(s) to Perform(shape,Standard_False)
.
Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const
 Queries the status of last call to Perform
OK : no splitting was done (or no call to Perform)
DONE1: some edges were splitted
DONE2: surface was splitted
FAIL1: some errors occured
.
Standard_EXPORT void SetSplitFaceTool (const Handle(ShapeUpgrade_FaceDivide)&splitFaceTool)
 Sets the tool for splitting faces.
.
Standard_EXPORT void SetEdgeMode (const Standard_Integer aEdgeMode)
 Sets mode for splitting 3d curves from edges.
0 - only curve 3d from free edges.
1 - only curve 3d from shared edges.
2 - all curve 3d.
.

Protected Member Functions

virtual Standard_EXPORT Handle_ShapeUpgrade_FaceDivide GetSplitFaceTool () const
 Returns the tool for splitting faces.
.

Protected Attributes

Handle_ShapeBuild_ReShape myContext
TopoDS_Shape myShape
TopoDS_Shape myResult
Standard_Real myPrecision
Standard_Real myMinTol
Standard_Real myMaxTol
Standard_Boolean mySegmentMode
Standard_Integer myStatus
Standard_Integer myEdgeMode

Private Attributes

Handle_ShapeUpgrade_FaceDivide mySplitFaceTool

Constructor & Destructor Documentation

Standard_EXPORT ShapeUpgrade_ShapeDivide::ShapeUpgrade_ShapeDivide  ) 
 

Standard_EXPORT ShapeUpgrade_ShapeDivide::ShapeUpgrade_ShapeDivide const TopoDS_Shape &  S  ) 
 

virtual Standard_EXPORT ShapeUpgrade_ShapeDivide::~ShapeUpgrade_ShapeDivide  )  [inline, virtual]
 


Member Function Documentation

virtual Standard_EXPORT void ShapeUpgrade_ShapeDivide::Delete  )  [virtual]
 

Standard_EXPORT Handle_ShapeBuild_ReShape ShapeUpgrade_ShapeDivide::GetContext  )  const
 

virtual Standard_EXPORT Handle_ShapeUpgrade_FaceDivide ShapeUpgrade_ShapeDivide::GetSplitFaceTool  )  const [protected, virtual]
 

Reimplemented in ShapeUpgrade_ShapeConvertToBezier, ShapeUpgrade_ShapeDivideArea, and ShapeUpgrade_ShapeDivideContinuity.

Standard_EXPORT void ShapeUpgrade_ShapeDivide::Init const TopoDS_Shape &  S  ) 
 

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

Reimplemented in ShapeUpgrade_ShapeConvertToBezier, ShapeUpgrade_ShapeDivideAngle, ShapeUpgrade_ShapeDivideArea, ShapeUpgrade_ShapeDivideClosed, ShapeUpgrade_ShapeDivideClosedEdges, and ShapeUpgrade_ShapeDivideContinuity.

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

Reimplemented in ShapeUpgrade_ShapeConvertToBezier, ShapeUpgrade_ShapeDivideAngle, ShapeUpgrade_ShapeDivideArea, ShapeUpgrade_ShapeDivideClosed, ShapeUpgrade_ShapeDivideClosedEdges, and ShapeUpgrade_ShapeDivideContinuity.

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

Reimplemented in ShapeUpgrade_ShapeConvertToBezier, ShapeUpgrade_ShapeDivideAngle, ShapeUpgrade_ShapeDivideArea, ShapeUpgrade_ShapeDivideClosed, ShapeUpgrade_ShapeDivideClosedEdges, and ShapeUpgrade_ShapeDivideContinuity.

virtual Standard_EXPORT Standard_Boolean ShapeUpgrade_ShapeDivide::Perform const Standard_Boolean  newContext = Standard_True  )  [virtual]
 

Reimplemented in ShapeUpgrade_ShapeConvertToBezier.

Standard_EXPORT TopoDS_Shape ShapeUpgrade_ShapeDivide::Result  )  const
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetContext const Handle(ShapeBuild_ReShape)&  context  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetEdgeMode const Standard_Integer  aEdgeMode  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetMaxTolerance const Standard_Real  maxtol  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetMinTolerance const Standard_Real  mintol  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetPrecision const Standard_Real  Prec  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetSplitFaceTool const Handle(ShapeUpgrade_FaceDivide)&  splitFaceTool  ) 
 

Standard_EXPORT void ShapeUpgrade_ShapeDivide::SetSurfaceSegmentMode const Standard_Boolean  Segment  ) 
 

Standard_EXPORT Standard_Boolean ShapeUpgrade_ShapeDivide::Status const ShapeExtend_Status  status  )  const
 


Field Documentation

Handle_ShapeBuild_ReShape ShapeUpgrade_ShapeDivide::myContext [protected]
 

Standard_Integer ShapeUpgrade_ShapeDivide::myEdgeMode [protected]
 

Standard_Real ShapeUpgrade_ShapeDivide::myMaxTol [protected]
 

Standard_Real ShapeUpgrade_ShapeDivide::myMinTol [protected]
 

Standard_Real ShapeUpgrade_ShapeDivide::myPrecision [protected]
 

TopoDS_Shape ShapeUpgrade_ShapeDivide::myResult [protected]
 

Standard_Boolean ShapeUpgrade_ShapeDivide::mySegmentMode [protected]
 

TopoDS_Shape ShapeUpgrade_ShapeDivide::myShape [protected]
 

Handle_ShapeUpgrade_FaceDivide ShapeUpgrade_ShapeDivide::mySplitFaceTool [private]
 

Standard_Integer ShapeUpgrade_ShapeDivide::myStatus [protected]
 


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