Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
QABugs_MyText Class Reference

#include <QABugs_MyText.hxx>

Inheritance diagram for QABugs_MyText:
Inheritance graph
[legend]

Public Member Functions

 QABugs_MyText (const TCollection_ExtendedString &aText, const gp_Pnt &aPosition)
 QABugs_MyText (const TCollection_ExtendedString &aText, const gp_Pnt &aPosition, const Standard_CString aFont, const Quantity_NameOfColor aColor, const Standard_Real aHeight)

Protected Member Functions

virtual Standard_Integer NbPossibleSelection () const
 defines the number of different modes of selection
(or decomposition) for an Object.

virtual void Compute (const Handle< PrsMgr_PresentationManager3d > &aPresentationManager, const Handle< Prs3d_Presentation > &aPresentation, const Standard_Integer aMode=0)
 Calculates the 3D view aPresentation and its
updates. The latter are managed by aPresentationManager.
aPresentableObject has the display mode aMode;
this has the default value of 0, that is, the wireframe display mode.

virtual void ComputeSelection (const Handle< SelectMgr_Selection > &aSelection, const Standard_Integer aMode)
 Recovers and calculates any sensitive primitive,
aSelection, available in Shape mode, specified by
aMode. As a rule, these are sensitive faces.
This method is defined as virtual. This enables you to
implement it in the creation of a new class of AIS
Interactive Object. You need to do this and in so
doing, redefine this method, if you create a class
which enriches the list of signatures and types.


Constructor & Destructor Documentation

QABugs_MyText::QABugs_MyText ( const TCollection_ExtendedString aText,
const gp_Pnt aPosition 
)
QABugs_MyText::QABugs_MyText ( const TCollection_ExtendedString aText,
const gp_Pnt aPosition,
const Standard_CString  aFont,
const Quantity_NameOfColor  aColor,
const Standard_Real  aHeight 
)

Member Function Documentation

virtual void QABugs_MyText::Compute ( const Handle< PrsMgr_PresentationManager3d > &  aPresentationManager,
const Handle< Prs3d_Presentation > &  aPresentation,
const Standard_Integer  aMode = 0 
) [protected, virtual]

Reimplemented from PrsMgr_PresentableObject.

virtual void QABugs_MyText::ComputeSelection ( const Handle< SelectMgr_Selection > &  aSelection,
const Standard_Integer  aMode 
) [protected, virtual]
virtual Standard_Integer QABugs_MyText::NbPossibleSelection ( ) const [protected, virtual]

Reimplemented from SelectMgr_SelectableObject.


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