Public Member Functions | |
~Classifier () | |
void | Init (const TopoDS_Shape &s, double tol, const Bnd_B3d *box=0) |
bool | IsOut (const gp_Pnt &p) |
TopAbs_ShapeEnum | ShapeType () const |
const TopoDS_Shape & | Shape () const |
const Bnd_B3d * | GetBndBox () const |
bool | IsChecked () |
bool | IsSetFlag (int flag) const |
void | SetChecked (bool is) |
void | SetFlag (int flag) |
void | UnsetFlag (int flag) |
Static Public Member Functions | |
Classifier () | |
Private Member Functions | |
bool | isOutOfSolid (const gp_Pnt &p) |
bool | isOutOfBox (const gp_Pnt &p) |
bool | isOutOfFace (const gp_Pnt &p) |
bool | isOutOfEdge (const gp_Pnt &p) |
bool | isOutOfVertex (const gp_Pnt &p) |
bool | isBox (const TopoDS_Shape &s) |
Private Attributes | |
bool(Classifier::* | myIsOutFun )(const gp_Pnt &p) |
BRepClass3d_SolidClassifier * | mySolidClfr |
Bnd_B3d | myBox |
GeomAPI_ProjectPointOnSurf | myProjFace |
GeomAPI_ProjectPointOnCurve | myProjEdge |
gp_Pnt | myVertexXYZ |
TopoDS_Shape | myShape |
double | myTol |
int | myFlags |
|
static |
SMESH::Controls::ElementsOnShape::Classifier::~Classifier | ( | ) |
const Bnd_B3d* SMESH::Controls::ElementsOnShape::Classifier::GetBndBox | ( | ) | const |
void SMESH::Controls::ElementsOnShape::Classifier::Init | ( | const TopoDS_Shape & | s, |
double | tol, | ||
const Bnd_B3d * | box = 0 |
||
) |
References Edge, Face, Handle(), SMESH::Controls::ElementsOnShape::Classifier::isBox(), SMESH::Controls::ElementsOnShape::Classifier::isOutOfBox(), SMESH::Controls::ElementsOnShape::Classifier::isOutOfEdge(), SMESH::Controls::ElementsOnShape::Classifier::isOutOfFace(), SMESH::Controls::ElementsOnShape::Classifier::isOutOfSolid(), SMESH::Controls::ElementsOnShape::Classifier::isOutOfVertex(), Max(), SMESH::Controls::ElementsOnShape::Classifier::myBox, SMESH::Controls::ElementsOnShape::Classifier::myFlags, SMESH::Controls::ElementsOnShape::Classifier::myIsOutFun, SMESH::Controls::ElementsOnShape::Classifier::myProjEdge, SMESH::Controls::ElementsOnShape::Classifier::myProjFace, SMESH::Controls::ElementsOnShape::Classifier::myShape, SMESH::Controls::ElementsOnShape::Classifier::mySolidClfr, SMESH::Controls::ElementsOnShape::Classifier::myTol, and SMESH::Controls::ElementsOnShape::Classifier::myVertexXYZ.
|
private |
References Abs(), SMESH::Controls::ElementsOnShape::Classifier::isBox(), and Min().
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Init(), and SMESH::Controls::ElementsOnShape::Classifier::isBox().
bool SMESH::Controls::ElementsOnShape::Classifier::IsChecked | ( | ) |
bool SMESH::Controls::ElementsOnShape::Classifier::IsOut | ( | const gp_Pnt & | p | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
void SMESH::Controls::ElementsOnShape::Classifier::SetChecked | ( | bool | is | ) |
void SMESH::Controls::ElementsOnShape::Classifier::SetFlag | ( | int | flag | ) |
References SMESH::Controls::ElementsOnShape::Classifier::myFlags.
Referenced by SMESH::Controls::ElementsOnShape::Classifier::SetChecked().
const TopoDS_Shape& SMESH::Controls::ElementsOnShape::Classifier::Shape | ( | ) | const |
TopAbs_ShapeEnum SMESH::Controls::ElementsOnShape::Classifier::ShapeType | ( | ) | const |
void SMESH::Controls::ElementsOnShape::Classifier::UnsetFlag | ( | int | flag | ) |
References SMESH::Controls::ElementsOnShape::Classifier::myFlags.
Referenced by SMESH::Controls::ElementsOnShape::Classifier::SetChecked().
|
private |
|
private |
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Classifier(), SMESH::Controls::ElementsOnShape::Classifier::Init(), SMESH::Controls::ElementsOnShape::Classifier::IsChecked(), SMESH::Controls::ElementsOnShape::Classifier::IsSetFlag(), SMESH::Controls::ElementsOnShape::Classifier::SetFlag(), and SMESH::Controls::ElementsOnShape::Classifier::UnsetFlag().
|
private |
|
private |
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Init().
|
private |
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Init().
|
private |
|
private |
|
private |
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Init().
|
private |
Referenced by SMESH::Controls::ElementsOnShape::Classifier::Init().