Open CASCADE Technology
6.5.4
|
Constructs a constraint by a relation of identity
between two or more datums figuring in shape
Interactive Objects.
#include <AIS_IdenticRelation.hxx>
Public Member Functions | |
AIS_IdenticRelation (const TopoDS_Shape &FirstShape, const TopoDS_Shape &SecondShape, const Handle< Geom_Plane > &aPlane) | |
Initializes the relation of identity between the two entities, FirstShape and SecondShape. The plane aPlane is initialized in case a visual reference is needed to show identity. | |
virtual Standard_Boolean | IsMovable () const |
Returns true if the interactive object 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_IdenticRelation::AIS_IdenticRelation | ( | const TopoDS_Shape & | FirstShape, |
const TopoDS_Shape & | SecondShape, | ||
const Handle< Geom_Plane > & | aPlane | ||
) |
virtual void AIS_IdenticRelation::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_IdenticRelation::IsMovable | ( | ) | const [virtual] |
Reimplemented from AIS_Relation.