#include <AdvancedEngine_PipeTShapeDriver.hxx>
|
| 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 > ¶ms) |
| 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 |
|
Standard_EXPORT int | GetDocID () const |
|
Standard_EXPORT GEOM_Param & | AddParam (std::vector< GEOM_Param > ¶ms, const char *name) |
| Returns a name of creation operation and names and values of creation parameters. More...
|
|
template<class T > |
Standard_EXPORT GEOM_Param & | AddParam (std::vector< GEOM_Param > ¶ms, const char *name, const T &value, const char *dfltValue=0) |
|
AdvancedEngine_PipeTShapeDriver::AdvancedEngine_PipeTShapeDriver |
( |
| ) |
|
AdvancedEngine_PipeTShapeDriver::~AdvancedEngine_PipeTShapeDriver |
( |
| ) |
|
|
inline |
Standard_Integer AdvancedEngine_PipeTShapeDriver::Execute |
( |
LOGBOOK & |
log | ) |
const |
|
virtual |
References aShape, AdvancedEngine_IPipeTShape::GetH(), AdvancedEngine_IPipeTShape::GetHexMesh(), AdvancedEngine_IPipeTShape::GetL1(), AdvancedEngine_IPipeTShape::GetL2(), AdvancedEngine_IPipeTShape::GetR1(), AdvancedEngine_IPipeTShape::GetR2(), AdvancedEngine_IPipeTShape::GetRF(), AdvancedEngine_IPipeTShape::GetW(), AdvancedEngine_IPipeTShape::GetW1(), AdvancedEngine_IPipeTShape::GetW2(), Handle(), MakeQuarterPipeTShape(), TSHAPE_CHAMFER, and TSHAPE_FILLET.
void AdvancedEngine_PipeTShapeDriver::GetCommonShapesOnCylinders |
( |
const TopoDS_Shape & |
theShape, |
|
|
TopAbs_ShapeEnum |
theShapeType, |
|
|
double |
r, |
|
|
double |
r2, |
|
|
Handle(TopTools_HSequenceOfShape)& |
commonShapes |
|
) |
| const |
bool AdvancedEngine_PipeTShapeDriver::GetCreationInformation |
( |
std::string & |
theOperationName, |
|
|
std::vector< GEOM_Param > & |
params |
|
) |
| |
|
virtual |
Implements GEOM_BaseDriver.
References GEOM_BaseDriver::AddParam(), AdvancedEngine_IPipeTShape::GetH(), AdvancedEngine_IPipeTShape::GetHexMesh(), AdvancedEngine_IPipeTShape::GetL1(), AdvancedEngine_IPipeTShape::GetL2(), AdvancedEngine_IPipeTShape::GetR1(), AdvancedEngine_IPipeTShape::GetR2(), AdvancedEngine_IPipeTShape::GetRF(), AdvancedEngine_IPipeTShape::GetW(), AdvancedEngine_IPipeTShape::GetW1(), AdvancedEngine_IPipeTShape::GetW2(), Handle(), TSHAPE_BASIC, TSHAPE_CHAMFER, and TSHAPE_FILLET.
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
-
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
-
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 |
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: