mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0024723: Not implemented methods in Visual3d and V3d
Removed unused enum V3d_TypeOfProjectionModel and methods V3d_View::SetProjModel(), V3d_View::ProjModel()
This commit is contained in:
parent
9ffd84adf5
commit
1521659a7d
@ -146,10 +146,6 @@ is
|
||||
NOTHINGCAMERA
|
||||
end TypeOfPickCamera;
|
||||
|
||||
enumeration TypeOfProjectionModel is
|
||||
TPM_SCREEN,TPM_WALKTHROUGH
|
||||
end TypeOfProjectionModel;
|
||||
|
||||
enumeration TypeOfBackfacingModel is
|
||||
TOBM_AUTOMATIC, TOBM_ALWAYS_DISPLAYED, TOBM_NEVER_DISPLAYED
|
||||
end TypeOfBackfacingModel;
|
||||
|
@ -96,7 +96,6 @@ uses
|
||||
TextureEnv from Graphic3d,
|
||||
TypeOfVisualization from V3d,
|
||||
TypeOfZclipping from V3d,
|
||||
TypeOfProjectionModel from V3d,
|
||||
TypeOfBackfacingModel from V3d,
|
||||
StereoDumpOptions from V3d,
|
||||
Viewer from V3d,
|
||||
@ -1453,18 +1452,6 @@ is
|
||||
-- <theStereoOptions> flags are to be used for dumping then left or
|
||||
-- right eye projections.
|
||||
|
||||
SetProjModel( me : mutable;
|
||||
amOdel: TypeOfProjectionModel from V3d = V3d_TPM_SCREEN )
|
||||
is static;
|
||||
---Level : Advanced
|
||||
---Purpose : Manages projection model
|
||||
|
||||
ProjModel( me )
|
||||
returns TypeOfProjectionModel from V3d
|
||||
is static;
|
||||
---Level : Advanced
|
||||
---Purpose : Returns the current projection model
|
||||
|
||||
SetBackFacingModel ( me : mutable;
|
||||
aModel : TypeOfBackfacingModel from V3d = V3d_TOBM_AUTOMATIC)
|
||||
is static;
|
||||
@ -1645,8 +1632,6 @@ fields
|
||||
--MyColorScale : ColorScale from V3d;
|
||||
MyLayerMgr : LayerMgr from V3d;
|
||||
|
||||
MyProjModel : TypeOfProjectionModel from V3d is protected;
|
||||
|
||||
-- the transformation between XoY and the grid plane
|
||||
MyTrsf : Array2OfReal from TColStd;
|
||||
|
||||
|
@ -159,7 +159,6 @@ To solve the problem (for lack of a better solution) I make 2 passes.
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
V3d_View::V3d_View(const Handle(V3d_Viewer)& VM, const V3d_TypeOfView Type ) :
|
||||
MyProjModel(V3d_TPM_SCREEN),
|
||||
MyViewer(VM.operator->()),
|
||||
MyActiveLights(),
|
||||
MyViewContext (),
|
||||
@ -264,7 +263,6 @@ V3d_View::V3d_View(const Handle(V3d_Viewer)& VM, const V3d_TypeOfView Type ) :
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
V3d_View::V3d_View(const Handle(V3d_Viewer)& theVM,const Handle(V3d_View)& theView) :
|
||||
MyProjModel(V3d_TPM_SCREEN),
|
||||
MyViewer(theVM.operator->()),
|
||||
MyActiveLights(),
|
||||
MyViewContext (),
|
||||
@ -1129,10 +1127,7 @@ void V3d_View::SetProj( const Standard_Real Vx,const Standard_Real Vy, const Sta
|
||||
|
||||
myCamera->SetDirection (gp_Dir (Vx, Vy, Vz).Reversed());
|
||||
|
||||
if (MyProjModel == V3d_TPM_SCREEN)
|
||||
{
|
||||
SetTwist(aTwistBefore);
|
||||
}
|
||||
SetTwist(aTwistBefore);
|
||||
|
||||
View()->AutoZFit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user