Open CASCADE Technology 6.6.0
|
Constructs circle datums to be used in construction of
composite shapes.
#include <AIS_Circle.hxx>
Public Member Functions | |
AIS_Circle (const Handle< Geom_Circle > &aCircle) | |
Initializes this algorithm for constructing AIS circle datums initializes the circle aCircle | |
AIS_Circle (const Handle< Geom_Circle > &aCircle, const Standard_Real aUStart, const Standard_Real aUEnd, const Standard_Boolean aSens=Standard_True) | |
Initializes this algorithm for constructing AIS circle datums. Initializes the circle aCircle, the arc starting point UStart, the arc ending point UEnd, and the direction aSens. | |
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 !!! | |
virtual Standard_Integer | Signature () const |
Returns index 6 by default. | |
virtual AIS_KindOfInteractive | Type () const |
Indicates that the type of Interactive Object is a datum. | |
const Handle_Geom_Circle & | Circle () const |
Returns the circle component defined in SetCircle. | |
void | Parameters (Standard_Real &u1, Standard_Real &u2) const |
Constructs instances of the starting point and the end point parameters, u1 and u2. | |
void | SetCircle (const Handle< Geom_Circle > &aCircle) |
Allows you to provide settings for the circle datum aCircle. | |
void | SetFirstParam (const Standard_Real u) |
Allows you to set the parameter u for the starting point of an arc. | |
void | SetLastParam (const Standard_Real u) |
Allows you to provide the parameter u for the end point of an arc. | |
void | SetColor (const Quantity_NameOfColor aColor) |
Assigns the color aColor to the solid line boundary of the circle datum. | |
void | SetColor (const Quantity_Color &aColor) |
void | SetWidth (const Standard_Real aValue) |
Assigns the width aValue to the solid line boundary of the circle datum. | |
void | UnsetColor () |
Removes color from the solid line boundary of the circle datum. | |
void | UnsetWidth () |
Removes width settings from the solid line boundary of the circle datum. |
AIS_Circle::AIS_Circle | ( | const Handle< Geom_Circle > & | aCircle | ) |
AIS_Circle::AIS_Circle | ( | const Handle< Geom_Circle > & | aCircle, |
const Standard_Real | aUStart, | ||
const Standard_Real | aUEnd, | ||
const Standard_Boolean | aSens = Standard_True |
||
) |
const Handle_Geom_Circle& AIS_Circle::Circle | ( | ) | const |
virtual void AIS_Circle::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
const Handle< Geom_Transformation > & | aTrsf, | ||
const Handle< Prs3d_Presentation > & | aPresentation | ||
) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.
void AIS_Circle::Parameters | ( | Standard_Real & | u1, |
Standard_Real & | u2 | ||
) | const |
void AIS_Circle::SetCircle | ( | const Handle< Geom_Circle > & | aCircle | ) |
void AIS_Circle::SetColor | ( | const Quantity_NameOfColor | aColor | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Circle::SetColor | ( | const Quantity_Color & | aColor | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Circle::SetFirstParam | ( | const Standard_Real | u | ) |
void AIS_Circle::SetLastParam | ( | const Standard_Real | u | ) |
void AIS_Circle::SetWidth | ( | const Standard_Real | aValue | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
virtual Standard_Integer AIS_Circle::Signature | ( | ) | const [virtual] |
Reimplemented from AIS_InteractiveObject.
virtual AIS_KindOfInteractive AIS_Circle::Type | ( | ) | const [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Circle::UnsetColor | ( | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Circle::UnsetWidth | ( | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.