Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

Reimplemented from AIS_Relation.


The documentation for this class was generated from the following file: