|
Open CASCADE Technology 6.5.2
|
Constructs and manages a constraint by a fixed
relation between two or more interactive datums. This
constraint is represented by a wire from a shape -
point, vertex, or edge - in the first datum and a
corresponding shape in the second.
Warning: This relation is not bound with any kind of parametric
constraint : it represents the "status" of an parametric
object.
#include <AIS_FixRelation.hxx>

Public Member Functions | |
| AIS_FixRelation (const TopoDS_Shape &aShape, const Handle< Geom_Plane > &aPlane, const TopoDS_Wire &aWire) | |
| initializes the vertex aShape, the plane aPlane and the wire aWire, which connects the two vertices in a fixed relation. | |
| AIS_FixRelation (const TopoDS_Shape &aShape, const Handle< Geom_Plane > &aPlane, const TopoDS_Wire &aWire, const gp_Pnt &aPosition, const Standard_Real anArrowSize=0.01) | |
| initializes the vertex aShape, the plane aPlane and the wire aWire, the position aPosition, the arrow size anArrowSize and the wire aWire, which connects the two vertices in a fixed relation. | |
| AIS_FixRelation (const TopoDS_Shape &aShape, const Handle< Geom_Plane > &aPlane) | |
| initializes the edge aShape and the plane aPlane. | |
| AIS_FixRelation (const TopoDS_Shape &aShape, const Handle< Geom_Plane > &aPlane, const gp_Pnt &aPosition, const Standard_Real anArrowSize=0.01) | |
| initializes the edge aShape, the plane aPlane, the position aPosition and the arrow size anArrowSize. | |
| TopoDS_Wire | Wire () |
| Returns the wire which connects vertices in a fixed relation. | |
| void | SetWire (const TopoDS_Wire &aWire) |
| Constructs the wire aWire. This connects vertices which are in a fixed relation. | |
| virtual Standard_Boolean | IsMovable () const |
| Returns true if the Interactive Objects in the relation are movable. | |
| virtual void | Compute (const Handle< Prs3d_Projector > &aProjector, const Handle< Geom_Transformation > &aTrsf, const Handle< Prs3d_Presentation > &aPresentation) |
| computes the presentation according to a point of view given by <aProjector>. To be Used when the associated degenerated Presentations have been transformed by <aTrsf> which is not a Pure Translation. The HLR Prs can't be deducted automatically WARNING :<aTrsf> must be applied to the object to display before computation !!! | |
| AIS_FixRelation::AIS_FixRelation | ( | const TopoDS_Shape & | aShape, |
| const Handle< Geom_Plane > & | aPlane, | ||
| const TopoDS_Wire & | aWire | ||
| ) |
| AIS_FixRelation::AIS_FixRelation | ( | const TopoDS_Shape & | aShape, |
| const Handle< Geom_Plane > & | aPlane, | ||
| const TopoDS_Wire & | aWire, | ||
| const gp_Pnt & | aPosition, | ||
| const Standard_Real | anArrowSize = 0.01 |
||
| ) |
| AIS_FixRelation::AIS_FixRelation | ( | const TopoDS_Shape & | aShape, |
| const Handle< Geom_Plane > & | aPlane | ||
| ) |
| AIS_FixRelation::AIS_FixRelation | ( | const TopoDS_Shape & | aShape, |
| const Handle< Geom_Plane > & | aPlane, | ||
| const gp_Pnt & | aPosition, | ||
| const Standard_Real | anArrowSize = 0.01 |
||
| ) |
| virtual void AIS_FixRelation::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
| const Handle< Geom_Transformation > & | aTrsf, | ||
| const Handle< Prs3d_Presentation > & | aPresentation | ||
| ) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.
| virtual Standard_Boolean AIS_FixRelation::IsMovable | ( | ) | const [virtual] |
Reimplemented from AIS_Relation.
| void AIS_FixRelation::SetWire | ( | const TopoDS_Wire & | aWire | ) |
| TopoDS_Wire AIS_FixRelation::Wire | ( | ) |
1.7.4