DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032135

Visualization - possibility to redefine zoom persistent scale compute in Graphic3d_TransformPers

Open CASCADEOCCT:Visualizationclosed3 public notes

Search issues

Description

Implement a virtual method to compute scale, that is called for Graphic3d_TMF_ZoomPers mode in Graphic3d_TransformPers.

The purpose is to be able to redefine it in an inheritance.

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: drochalo
Date: Fri Oct 27 09:59:40 2023 +0100

    0032135: Visualization - possibility to redefine zoom persistent scale compute in Graphic3d_TransformPers
    
    Added scale factor to Graphic3d_TransformPers.
    Added option to rescale objects with zoom persistence on vdisplay command.
02Commenter 2
Dear Marina, please review issue.

This solution includes the addition of a scale factor and associated methods to modify this variable (including constructor).
The command "vdisplay" has now an additional option "trsfperszoom" which works when displaying an object with zoom persistence.
Added test bug32135 in v3d/trsf.

Tests on Jenkins: http://jenkins-test-10.nnov.opencascade.com/view/CR32135-master-drochalo/view/COMPARE/
03Commenter 3
The issue was mixed up with CR32091 (#0032091)
It's resolved, please close it.

Related records