Open CASCADE Technology 6.6.0
|
presentation of equal distance to point myMidPoint
#include <AIS_MidPointRelation.hxx>
Public Member Functions | |
AIS_MidPointRelation (const TopoDS_Shape &aSymmTool, const TopoDS_Shape &FirstShape, const TopoDS_Shape &SecondShape, const Handle< Geom_Plane > &aPlane) | |
virtual Standard_Boolean | IsMovable () const |
Returns true if the interactive object is movable. | |
void | SetTool (const TopoDS_Shape &aMidPointTool) |
const TopoDS_Shape & | GetTool () const |
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_MidPointRelation::AIS_MidPointRelation | ( | const TopoDS_Shape & | aSymmTool, |
const TopoDS_Shape & | FirstShape, | ||
const TopoDS_Shape & | SecondShape, | ||
const Handle< Geom_Plane > & | aPlane | ||
) |
virtual void AIS_MidPointRelation::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
const Handle< Geom_Transformation > & | aTrsf, | ||
const Handle< Prs3d_Presentation > & | aPresentation | ||
) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.
const TopoDS_Shape& AIS_MidPointRelation::GetTool | ( | ) | const |
virtual Standard_Boolean AIS_MidPointRelation::IsMovable | ( | ) | const [virtual] |
Reimplemented from AIS_Relation.
void AIS_MidPointRelation::SetTool | ( | const TopoDS_Shape & | aMidPointTool | ) |