Open CASCADE Technology
6.5.4
|
A framework to display constraints of parallelism
between two or more Interactive Objects. These
entities can be faces or edges.
#include <AIS_ParallelRelation.hxx>
Public Member Functions | |
AIS_ParallelRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane) | |
Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape and the plane aPlane. | |
AIS_ParallelRelation (const TopoDS_Shape &aFShape, const TopoDS_Shape &aSShape, const Handle< Geom_Plane > &aPlane, const gp_Pnt &aPosition, const DsgPrs_ArrowSide aSymbolPrs, const Standard_Real anArrowSize=0.01) | |
Constructs an object to display parallel constraints. This object is defined by the first shape aFShape and the second shape aSShape the plane aPlane, the position aPosition, the type of arrow, aSymbolPrs and its size anArrowSize. | |
virtual Standard_Boolean | IsMovable () const |
Returns true if the parallelism is 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_ParallelRelation::AIS_ParallelRelation | ( | const TopoDS_Shape & | aFShape, |
const TopoDS_Shape & | aSShape, | ||
const Handle< Geom_Plane > & | aPlane | ||
) |
AIS_ParallelRelation::AIS_ParallelRelation | ( | const TopoDS_Shape & | aFShape, |
const TopoDS_Shape & | aSShape, | ||
const Handle< Geom_Plane > & | aPlane, | ||
const gp_Pnt & | aPosition, | ||
const DsgPrs_ArrowSide | aSymbolPrs, | ||
const Standard_Real | anArrowSize = 0.01 |
||
) |
virtual void AIS_ParallelRelation::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_ParallelRelation::IsMovable | ( | ) | const [virtual] |
Reimplemented from AIS_Relation.