Open CASCADE Technology 6.6.0
Public Member Functions
AIS_MidPointRelation Class Reference

presentation of equal distance to point myMidPoint

#include <AIS_MidPointRelation.hxx>

Inheritance diagram for AIS_MidPointRelation:
Inheritance graph
[legend]

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_ShapeGetTool () 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 !!!


Constructor & Destructor Documentation

AIS_MidPointRelation::AIS_MidPointRelation ( const TopoDS_Shape aSymmTool,
const TopoDS_Shape FirstShape,
const TopoDS_Shape SecondShape,
const Handle< Geom_Plane > &  aPlane 
)

Member Function Documentation

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)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines