Open CASCADE Technology 6.6.0
|
Constructs point datums to be used in construction of
composite shapes. The datum is displayed as the plus marker +.
#include <AIS_Point.hxx>
Public Member Functions | |
AIS_Point (const Handle< Geom_Point > &aComponent) | |
Initializes the point aComponent from which the point datum will be built. | |
virtual Standard_Integer | Signature () const |
Returns index 1, the default index for a point. | |
virtual AIS_KindOfInteractive | Type () const |
Indicates that a point is a datum. | |
Handle_Geom_Point | Component () |
Returns the component specified in SetComponent. | |
void | SetComponent (const Handle< Geom_Point > &aComponent) |
Constructs an instance of the point aComponent. | |
Standard_Boolean | AcceptDisplayMode (const Standard_Integer aMode) const |
Returns true if the display mode selected is valid for point datums. | |
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 !!! | |
void | SetColor (const Quantity_NameOfColor aColor) |
Allows you to provide settings for the cp;pr aColor. | |
void | SetColor (const Quantity_Color &aColor) |
void | UnsetColor () |
Allows you to remove color settings. | |
void | SetMarker (const Aspect_TypeOfMarker aType) |
Allows you to provide settings for a marker. These include | |
void | UnsetMarker () |
Removes the marker settings. | |
Standard_Boolean | HasMarker () const |
Returns true if the point datum has a marker. | |
TopoDS_Vertex | Vertex () const |
Converts a point into a vertex. | |
Protected Member Functions | |
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. |
AIS_Point::AIS_Point | ( | const Handle< Geom_Point > & | aComponent | ) |
Standard_Boolean AIS_Point::AcceptDisplayMode | ( | const Standard_Integer | aMode | ) | const [virtual] |
Reimplemented from AIS_InteractiveObject.
Handle_Geom_Point AIS_Point::Component | ( | ) |
virtual void AIS_Point::Compute | ( | const Handle< Prs3d_Projector > & | aProjector, |
const Handle< Geom_Transformation > & | aTrsf, | ||
const Handle< Prs3d_Presentation > & | aPresentation | ||
) | [virtual] |
Reimplemented from PrsMgr_PresentableObject.
virtual void AIS_Point::Compute | ( | const Handle< PrsMgr_PresentationManager3d > & | aPresentationManager, |
const Handle< Prs3d_Presentation > & | aPresentation, | ||
const Standard_Integer | aMode = 0 |
||
) | [protected, virtual] |
Reimplemented from PrsMgr_PresentableObject.
Standard_Boolean AIS_Point::HasMarker | ( | ) | const |
void AIS_Point::SetColor | ( | const Quantity_NameOfColor | aColor | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Point::SetColor | ( | const Quantity_Color & | aColor | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Point::SetComponent | ( | const Handle< Geom_Point > & | aComponent | ) |
void AIS_Point::SetMarker | ( | const Aspect_TypeOfMarker | aType | ) |
virtual Standard_Integer AIS_Point::Signature | ( | ) | const [virtual] |
Reimplemented from AIS_InteractiveObject.
virtual AIS_KindOfInteractive AIS_Point::Type | ( | ) | const [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Point::UnsetColor | ( | ) | [virtual] |
Reimplemented from AIS_InteractiveObject.
void AIS_Point::UnsetMarker | ( | ) |
TopoDS_Vertex AIS_Point::Vertex | ( | ) | const |