mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0024291: Visualization - move Z-buffer trihedron presentation from TKOpenGl to TKV3d
Not implemented method V3d_View::TriedronEcho() and enum Aspect_TypeOfTriedronEcho have been removed. The following methods have been removed from Graphic3d_CView class: TriedronDisplay(), TriedronErase(), ZBufferTriedronSetup(), TriedronEcho(). New class V3d_Trihedron has been added as replacement of removed OpenGl_Trihedron which now uses Graphic3d_TMF_TriedronPers persistence.
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#include <OpenGl_Matrix.hxx>
|
||||
#include <OpenGl_Workspace.hxx>
|
||||
#include <OpenGl_View.hxx>
|
||||
#include <OpenGl_Trihedron.hxx>
|
||||
#include <OpenGl_GraduatedTrihedron.hxx>
|
||||
#include <OpenGl_PrimitiveArray.hxx>
|
||||
#include <OpenGl_ShaderManager.hxx>
|
||||
@@ -1024,18 +1023,6 @@ void OpenGl_View::renderStructs (Graphic3d_Camera::Projection theProjection,
|
||||
//=======================================================================
|
||||
void OpenGl_View::renderTrihedron (const Handle(OpenGl_Workspace) &theWorkspace)
|
||||
{
|
||||
// display global trihedron
|
||||
if (myToShowTrihedron)
|
||||
{
|
||||
// disable environment texture
|
||||
Handle(OpenGl_Texture) anEnvironmentTexture = theWorkspace->EnvironmentTexture();
|
||||
theWorkspace->SetEnvironmentTexture (Handle(OpenGl_Texture)());
|
||||
|
||||
myTrihedron.Render (theWorkspace);
|
||||
|
||||
// restore environment texture
|
||||
theWorkspace->SetEnvironmentTexture (anEnvironmentTexture);
|
||||
}
|
||||
if (myToShowGradTrihedron)
|
||||
{
|
||||
myGraduatedTrihedron.Render (theWorkspace);
|
||||
|
Reference in New Issue
Block a user