Back to index

salome-geom  6.5.0
Public Member Functions | Protected Member Functions | Protected Attributes
GEOMAlgo_ShapeAlgo Class Reference

#include <GEOMAlgo_ShapeAlgo.hxx>

Inheritance diagram for GEOMAlgo_ShapeAlgo:
Inheritance graph
[legend]
Collaboration diagram for GEOMAlgo_ShapeAlgo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Standard_EXPORT void SetContext (const Handle(IntTools_Context)&theContext)
 Sets cashed geometrical tools

Standard_EXPORT const
Handle_IntTools_Context & 
Context () const
 Returns cashed geometrical tools

Standard_EXPORT void SetShape (const TopoDS_Shape &aS)
Standard_EXPORT void SetTolerance (const Standard_Real aT)
Standard_EXPORT const
TopoDS_Shape & 
Shape () const
Standard_EXPORT Standard_Real Tolerance () const
Standard_EXPORT const
TopoDS_Shape & 
Result () const
virtual Standard_EXPORT void Perform ()
Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const
Standard_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)
 Allows to omit of creation of internal shapes (manifold topology).
Needed for the SALOME/TRIPOLI module.

Protected Member Functions

Standard_EXPORT GEOMAlgo_ShapeAlgo ()
virtual Standard_EXPORT ~GEOMAlgo_ShapeAlgo ()
virtual Standard_EXPORT void CheckData ()
virtual Standard_EXPORT void CheckResult ()

Protected Attributes

TopoDS_Shape myShape
Standard_Real myTolerance
TopoDS_Shape myResult
Handle_IntTools_Context myContext
Standard_Integer myErrorStatus
Standard_Integer myWarningStatus
Standard_Boolean myComputeInternalShapes

Detailed Description

Definition at line 42 of file GEOMAlgo_ShapeAlgo.hxx.


Constructor & Destructor Documentation

Definition at line 35 of file GEOMAlgo_ShapeAlgo.cxx.

:
  GEOMAlgo_Algo()
{
  myTolerance=0.0001;
}
GEOMAlgo_ShapeAlgo::~GEOMAlgo_ShapeAlgo ( ) [protected, virtual]

Definition at line 46 of file GEOMAlgo_ShapeAlgo.cxx.

{
}

Member Function Documentation

void GEOMAlgo_Algo::CheckData ( ) [protected, virtual, inherited]
void GEOMAlgo_Algo::CheckResult ( ) [protected, virtual, inherited]

Reimplemented in GEOMAlgo_Gluer.

Definition at line 59 of file GEOMAlgo_Algo.cxx.

void GEOMAlgo_Algo::ComputeInternalShapes ( const Standard_Boolean  theFlag) [inherited]

Allows to omit of creation of internal shapes (manifold topology).
Needed for the SALOME/TRIPOLI module.

Definition at line 87 of file GEOMAlgo_Algo.cxx.

{
  myComputeInternalShapes = theFlag;
}

Here is the caller graph for this function:

Standard_EXPORT const Handle_IntTools_Context& GEOMAlgo_ShapeAlgo::Context ( ) const

Returns cashed geometrical tools

Standard_Integer GEOMAlgo_Algo::ErrorStatus ( ) const [inherited]

Definition at line 67 of file GEOMAlgo_Algo.cxx.

{
  return myErrorStatus;
}

Here is the caller graph for this function:

void GEOMAlgo_ShapeAlgo::Perform ( ) [virtual]

Implements GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_FinderShapeOn1, GEOMAlgo_FinderShapeOn2, GEOMAlgo_Gluer, GEOMAlgo_FinderShapeOn, and GEOMAlgo_GlueAnalyser.

Definition at line 109 of file GEOMAlgo_ShapeAlgo.cxx.

{
  if (myContext.IsNull()) {
    myContext=new IntTools_Context;
  }
}
const TopoDS_Shape & GEOMAlgo_ShapeAlgo::Result ( ) const

Definition at line 101 of file GEOMAlgo_ShapeAlgo.cxx.

{
  return myResult;
}
void GEOMAlgo_ShapeAlgo::SetContext ( const Handle(IntTools_Context)&  theContext)

Sets cashed geometrical tools

Definition at line 53 of file GEOMAlgo_ShapeAlgo.cxx.

{
  myContext=theContext;
}
void GEOMAlgo_ShapeAlgo::SetShape ( const TopoDS_Shape &  aS)

Definition at line 69 of file GEOMAlgo_ShapeAlgo.cxx.

{
  myShape=aS;
}

Here is the caller graph for this function:

void GEOMAlgo_ShapeAlgo::SetTolerance ( const Standard_Real  aT)

Definition at line 85 of file GEOMAlgo_ShapeAlgo.cxx.

{
  myTolerance=aT;
}

Here is the caller graph for this function:

const TopoDS_Shape & GEOMAlgo_ShapeAlgo::Shape ( ) const

Definition at line 77 of file GEOMAlgo_ShapeAlgo.cxx.

{
  return myShape;
}
Standard_Real GEOMAlgo_ShapeAlgo::Tolerance ( ) const

Definition at line 93 of file GEOMAlgo_ShapeAlgo.cxx.

{
  return myTolerance;
}

Here is the caller graph for this function:

Standard_Integer GEOMAlgo_Algo::WarningStatus ( ) const [inherited]

Definition at line 75 of file GEOMAlgo_Algo.cxx.

{
  return myWarningStatus;
}

Here is the caller graph for this function:


Member Data Documentation

Standard_Boolean GEOMAlgo_Algo::myComputeInternalShapes [protected, inherited]

Definition at line 73 of file GEOMAlgo_Algo.hxx.

Handle_IntTools_Context GEOMAlgo_ShapeAlgo::myContext [protected]

Definition at line 83 of file GEOMAlgo_ShapeAlgo.hxx.

Standard_Integer GEOMAlgo_Algo::myErrorStatus [protected, inherited]

Definition at line 71 of file GEOMAlgo_Algo.hxx.

TopoDS_Shape GEOMAlgo_ShapeAlgo::myResult [protected]

Definition at line 82 of file GEOMAlgo_ShapeAlgo.hxx.

TopoDS_Shape GEOMAlgo_ShapeAlgo::myShape [protected]

Definition at line 80 of file GEOMAlgo_ShapeAlgo.hxx.

Standard_Real GEOMAlgo_ShapeAlgo::myTolerance [protected]

Definition at line 81 of file GEOMAlgo_ShapeAlgo.hxx.

Standard_Integer GEOMAlgo_Algo::myWarningStatus [protected, inherited]

Definition at line 72 of file GEOMAlgo_Algo.hxx.


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