Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AdvancedEngine_PipeTShapeDriver Class Reference

#include <AdvancedEngine_PipeTShapeDriver.hxx>

Inheritance diagram for AdvancedEngine_PipeTShapeDriver:
Inheritance graph

Public Member Functions

 AdvancedEngine_PipeTShapeDriver ()
 
virtual Standard_Integer Execute (LOGBOOK &log) const
 
virtual void Validate (LOGBOOK &) const
 
Standard_Boolean MustExecute (const LOGBOOK &) const
 
 ~AdvancedEngine_PipeTShapeDriver ()
 
virtual bool GetCreationInformation (std::string &theOperationName, std::vector< GEOM_Param > &params)
 Returns a name of creation operation and names and values of creation parameters. More...
 
OCCT_DEFINE_STANDARD_RTTIEXT(AdvancedEngine_PipeTShapeDriver,
GEOM_BaseDriver) private
TopoDS_Shape 
MakeQuarterPipeTShape (double r1, double w1, double l1, double r2, double w2, double l2) const
 Create a T-Shape based on pipes. More...
 
 Handle (TColStd_HSequenceOfInteger) GetShapesOnSurfaceIDs(const Handle(Geom_Surface)&theSurface
 Find IDs of sub-shapes complying with given status about surface. More...
 
 Handle (TColStd_HSequenceOfInteger) GetShapesOnBoxIDs(const TopoDS_Shape &aBox
 Find IDs of sub-shapes complying with given status about surface. More...
 
void GetCommonShapesOnCylinders (const TopoDS_Shape &theShape, TopAbs_ShapeEnum theShapeType, double r, double r2, Handle(TopTools_HSequenceOfShape)&commonShapes) const
 
- Public Member Functions inherited from GEOM_BaseDriver
Standard_EXPORT int GetDocID () const
 
Standard_EXPORT GEOM_ParamAddParam (std::vector< GEOM_Param > &params, const char *name)
 Returns a name of creation operation and names and values of creation parameters. More...
 
template<class T >
Standard_EXPORT GEOM_ParamAddParam (std::vector< GEOM_Param > &params, const char *name, const T &value, const char *dfltValue=0)
 

Static Public Member Functions

static const Standard_GUID & GetID ()
 

Public Attributes

const TopoDS_Shape & theShape
 
const TopoDS_Shape TopAbs_ShapeEnum theShapeType
 
const TopoDS_Shape
TopAbs_ShapeEnum
GEOMAlgo_State theState 
const
 
const TopoDS_Shape & aShape
 
const TopoDS_Shape const
Standard_Integer 
theShapeType
 
const TopoDS_Shape const
Standard_Integer
GEOMAlgo_State theState 
const
 

Constructor & Destructor Documentation

AdvancedEngine_PipeTShapeDriver::AdvancedEngine_PipeTShapeDriver ( )
AdvancedEngine_PipeTShapeDriver::~AdvancedEngine_PipeTShapeDriver ( )
inline

Member Function Documentation

void AdvancedEngine_PipeTShapeDriver::GetCommonShapesOnCylinders ( const TopoDS_Shape &  theShape,
TopAbs_ShapeEnum  theShapeType,
double  r,
double  r2,
Handle(TopTools_HSequenceOfShape)&  commonShapes 
) const

References GEOMAlgo_ST_ON, and Handle().

const Standard_GUID & AdvancedEngine_PipeTShapeDriver::GetID ( )
static
AdvancedEngine_PipeTShapeDriver::Handle ( TColStd_HSequenceOfInteger  ) const
Parameters
theSurface- the surface to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes
AdvancedEngine_PipeTShapeDriver::Handle ( TColStd_HSequenceOfInteger  ) const
Parameters
theBox- the box to check state of sub-shapes against
theShape- the shape to explore
theShapeType- type of sub-shape of theShape
theState- required state
Return values
Handle(TColStd_HSequenceOfInteger)- IDs of found sub-shapes
TopoDS_Shape AdvancedEngine_PipeTShapeDriver::MakeQuarterPipeTShape ( double  r1,
double  w1,
double  l1,
double  r2,
double  w2,
double  l2 
) const
Parameters
r1- the internal radius of main pipe
w1- the thickness of main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness of incident pipe
l2- the half-length of main pipe
Return values
TopoDS_Shape- Resulting shape

Create a quarter of a T-Shape based on pipes

Parameters
r1- the internal radius of main pipe
w1- the thickness of main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness of incident pipe
l2- the half-length of main pipe
Return values
TopoDS_Shape- Resulting shape

References GEOMUtils::FixShapeCurves().

Standard_Boolean AdvancedEngine_PipeTShapeDriver::MustExecute ( const LOGBOOK ) const
inline
virtual void AdvancedEngine_PipeTShapeDriver::Validate ( LOGBOOK ) const
inlinevirtual

Member Data Documentation

const TopoDS_Shape& AdvancedEngine_PipeTShapeDriver::aShape
const TopoDS_Shape TopAbs_ShapeEnum GEOMAlgo_State theState AdvancedEngine_PipeTShapeDriver::const
const TopoDS_Shape const Standard_Integer GEOMAlgo_State theState AdvancedEngine_PipeTShapeDriver::const
const TopoDS_Shape& AdvancedEngine_PipeTShapeDriver::theShape
const TopoDS_Shape TopAbs_ShapeEnum AdvancedEngine_PipeTShapeDriver::theShapeType
const TopoDS_Shape const Standard_Integer AdvancedEngine_PipeTShapeDriver::theShapeType

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