//! Standard_DEPRECATED("This method is deprecated - SetColor() should be called instead")
Standard_EXPORT void SetAxisColor (const Quantity_Color& theColor);
+ //! Returns true if arrows are to be drawn
+ Standard_EXPORT Standard_Boolean ToDrawArrows() const;
+
+ //! Sets whether to draw the arrows in visualization
+ Standard_EXPORT void SetDrawArrows (const Standard_Boolean theToDraw);
+
//! Sets priority of selection for owner of the given type
void SetSelectionPriority (Prs3d_DatumParts thePart,
Standard_Integer thePriority)
public:
- //! Disables auto highlighting to use HilightSelected() and HilightOwnerWithColor() overridden methods.
- virtual Standard_Boolean IsAutoHilight() const Standard_OVERRIDE { return false; }
-
//! Method which clear all selected owners belonging
//! to this selectable object ( for fast presentation draw ).
Standard_EXPORT virtual void ClearSelected() Standard_OVERRIDE;
protected:
- Standard_EXPORT void LoadRecomputable (const Standard_Integer theMode);
-
//! Creates a sensitive entity for the datum part that will be used in selection owner creation.
- Standard_EXPORT Handle(SelectBasics_SensitiveEntity) createSensitiveEntity (const Prs3d_DatumParts thePart,
- const Handle(SelectBasics_EntityOwner)& theOwner) const;
+ Standard_EXPORT Handle(Select3D_SensitiveEntity) createSensitiveEntity (const Prs3d_DatumParts thePart,
+ const Handle(SelectMgr_EntityOwner)& theOwner) const;
//! Computes presentation for display mode equal 1.
Standard_EXPORT void computePresentation (const Handle(PrsMgr_PresentationManager3d)& thePrsMgr,
const gp_Dir& theYDir,
const gp_Dir& theZDir);
- //! Returns highlight line aspect , create if it is the first call
- Handle(Prs3d_ShadingAspect) getHighlightAspect();
- //! Returns highlight line aspect , create if it is the first call
- Handle(Prs3d_LineAspect) getHighlightLineAspect();
- //! Returns highlight line aspect , create if it is the first call
- Handle(Prs3d_PointAspect) getHighlightPointAspect();
-
protected:
Standard_Boolean myHasOwnSize;
Standard_Boolean myHasOwnTextColor;
NCollection_DataMap<Prs3d_DatumParts, Handle(Graphic3d_Group)> myPartToGroup;
NCollection_List<Prs3d_DatumParts> mySelectedParts;
-
- Handle(Prs3d_ShadingAspect) myHighlightAspect;
- Handle(Prs3d_LineAspect) myHighlightLineAspect;
- Handle(Prs3d_PointAspect) myHighlightPointAspect;
+ Handle(Graphic3d_AspectLine3d) myHiddenLineAspect;
NCollection_DataMap<Prs3d_DatumParts, Handle(Graphic3d_ArrayOfPrimitives)> myPrimitives;
};