mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027360: Visualization - remove obsolete anti-aliasing API
The methods V3d_View::SetAntialiasingOn(), ::SetAntialiasingOff() and Antialiasing() have been removed.
This commit is contained in:
@@ -1140,7 +1140,6 @@ Standard_Integer Graphic3d_CView::HaveTheSameOwner (const Handle(Graphic3d_Struc
|
||||
void Graphic3d_CView::CopySettings (const Handle(Graphic3d_CView)& theOther)
|
||||
{
|
||||
ChangeRenderingParams() = theOther->RenderingParams();
|
||||
SetAntialiasingEnabled (theOther->IsAntialiasingEnabled());
|
||||
SetBackground (theOther->Background());
|
||||
SetGradientBackground (theOther->GradientBackground());
|
||||
SetBackgroundImage (theOther->BackgroundImage());
|
||||
|
@@ -402,12 +402,6 @@ public:
|
||||
//! Returns reference to current rendering parameters and effect settings.
|
||||
Graphic3d_RenderingParams& ChangeRenderingParams() { return myRenderParams; }
|
||||
|
||||
//! Returns true if anti-aliasing is enabled for the view.
|
||||
virtual Standard_Boolean IsAntialiasingEnabled() const = 0;
|
||||
|
||||
//! Enable or disable anti-aliasing in the view.
|
||||
virtual void SetAntialiasingEnabled (const Standard_Boolean theIsEnabled) = 0;
|
||||
|
||||
//! Returns background fill color.
|
||||
virtual Aspect_Background Background() const = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user