mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030644: Coding - inline trivial methods of V3d_View class
This commit is contained in:
@@ -315,24 +315,6 @@ void V3d_View::SetAutoZFitMode (const Standard_Boolean theIsOn,
|
||||
myAutoZFitIsOn = theIsOn;
|
||||
}
|
||||
|
||||
// ========================================================================
|
||||
// function : AutoZFitMode
|
||||
// purpose :
|
||||
// ========================================================================
|
||||
Standard_Boolean V3d_View::AutoZFitMode() const
|
||||
{
|
||||
return myAutoZFitIsOn;
|
||||
}
|
||||
|
||||
// ========================================================================
|
||||
// function : AutoZFitScaleFactor
|
||||
// purpose :
|
||||
// ========================================================================
|
||||
Standard_Real V3d_View::AutoZFitScaleFactor() const
|
||||
{
|
||||
return myAutoZFitScaleFactor;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : AutoZFit
|
||||
//purpose :
|
||||
@@ -1504,18 +1486,6 @@ void V3d_View::DepthFitAll(const Standard_Real Aspect,
|
||||
ImmediateUpdate();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : WindowFitAll
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
void V3d_View::WindowFitAll(const Standard_Integer Xmin,
|
||||
const Standard_Integer Ymin,
|
||||
const Standard_Integer Xmax,
|
||||
const Standard_Integer Ymax)
|
||||
{
|
||||
WindowFit(Xmin,Ymin,Xmax,Ymax);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : WindowFit
|
||||
//purpose :
|
||||
@@ -2098,15 +2068,6 @@ void V3d_View::Eye(Standard_Real& X, Standard_Real& Y, Standard_Real& Z) const
|
||||
Z = aCameraEye.Z();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : FocalReferencePoint
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
void V3d_View::FocalReferencePoint(Standard_Real& X, Standard_Real& Y,Standard_Real& Z) const
|
||||
{
|
||||
Eye (X,Y,Z);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : ProjReferenceAxe
|
||||
//purpose :
|
||||
@@ -2245,15 +2206,6 @@ V3d_TypeOfVisualization V3d_View::Visualization() const
|
||||
return static_cast<V3d_TypeOfVisualization> (myView->VisualizationType());
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Viewer
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
Handle(V3d_Viewer) V3d_View::Viewer() const
|
||||
{
|
||||
return MyViewer;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : IfWindow
|
||||
//purpose :
|
||||
@@ -2263,15 +2215,6 @@ Standard_Boolean V3d_View::IfWindow() const
|
||||
return myView->IsDefined();
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Window
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
Handle(Aspect_Window) V3d_View::Window() const
|
||||
{
|
||||
return MyWindow;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : Type
|
||||
//purpose :
|
||||
@@ -2317,15 +2260,6 @@ Standard_Real V3d_View::Focale() const
|
||||
return aCamera->Distance() * 2.0 * Tan (aCamera->FOVy() * M_PI / 360.0);
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : View
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
Handle(Graphic3d_CView) V3d_View::View() const
|
||||
{
|
||||
return myView;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//function : screenAxis
|
||||
//purpose :
|
||||
|
Reference in New Issue
Block a user